Files
OpenCellular/chip/lm4
Randall Spangler 38a340e32a Refactor power button state machine
Simulation now simulates the physical signal, so uses the power state machine.

Power state machine now doesn't send a spurious press/release event if
the power button signal glitches and returns to its previous state.

Properly handles powering back on when waking from hibernate, if the
lid is open.

Signed-off-by: Randall Spangler <rspangler@chromium.org>

BUG=chrome-os-partner:9817
TEST=manual:

All of the following should power on the system:
1) at debug console, powerbtn
2) press power button
3) lid open
4) press power+esc+refresh
5) hibernate 10, then press power button
6) hibernate 10, then open lid

These should leave the system off:
1) press power+esc
2) hibernate 10, then let it wake up on its own

Hold down the power button to power on the system, and keep holding it
down; system should shut back down after 8 sec.

Hold down power+esc+refresh, and keep holding it down; system should
boot and NOT shut down after 8 sec.

Change-Id: I2dde951fe67544b6a24c607f0c4ba415ccd2f82f
2012-05-18 15:18:53 -07:00
..
2012-05-17 10:50:54 -07:00
2012-04-19 11:08:28 -07:00
2012-05-17 10:50:54 -07:00
2012-04-25 15:56:10 -07:00
2012-05-17 10:50:54 -07:00
2012-05-17 12:22:39 -07:00
2012-01-11 16:30:56 -08:00
2012-05-17 10:50:54 -07:00
2012-05-17 10:50:54 -07:00
2012-04-24 09:18:41 -07:00
2012-04-25 14:49:49 -07:00