mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 10:00:51 +00:00
Note that this only handles lid and power button; see crosbug.com/p/8325 for write protect. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:8185 TEST=manual 1. Check state with lid open localhost ~ # ectool switches Current switches: 0x01 Lid switch: OPEN Power button: UP Write protect: ENABLED 2. Press power button localhost ~ # ectool switches Current switches: 0x03 Lid switch: OPEN Power button: DOWN Write protect: ENABLED 3. Release power button and close lid localhost ~ # ectool switches Current switches: 0x00 Lid switch: CLOSED Power button: UP Write protect: ENABLED Change-Id: I25f2fa3dfeac004dde9b10a4243ee235875f1b6e