Files
OpenCellular/common
Randall Spangler 194ad20c5b link: Re-enable USB ports on resume
Previously, ports were only enabled on S5->S3, not S3->S0.  Seems like
they should always get re-enabled on resume.

This also consolidates the USB code into a single file, cleans up the
debug output, and prints the current USB charge state when the
usbchargemode command is run without args.

BUG=chrome-os-partner:12904
BRANCH=link
TEST=manual

- Boot system
- At ec console, 'usb' should print port 0 and 1 are in mode 1.
- At a root shell, 'ectool chargemode 0 0'
- At a root shell, 'ectool chargemode 1 0'
- Suspend system
- At ec console, 'usb' should print port are in mode 0.
- Resume system
- At ec console, 'usb' should print port 0 and 1 are in mode 1.

Change-Id: I3875a104338fb64db503929a018b8577d6f970e4
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34062
Reviewed-by: Vic Yang <victoryang@chromium.org>
2012-09-26 11:31:31 -07:00
..
2012-08-06 00:05:51 -07:00
2012-09-26 11:31:31 -07:00
2012-07-10 14:56:05 -07:00
2012-07-17 13:11:44 -07:00
2012-07-17 13:11:44 -07:00
2012-08-29 18:16:46 -07:00
2012-08-09 19:18:20 -07:00
2012-06-27 00:55:04 -07:00
2012-06-25 07:15:50 -07:00
2012-09-21 14:54:33 -07:00
2012-05-25 13:34:06 -07:00
2012-07-30 13:41:33 -07:00
2012-08-09 17:40:37 -07:00
2012-09-26 11:31:31 -07:00
2012-07-23 23:30:33 -07:00
2012-08-13 14:22:23 -07:00