Ticket #2020 (closed defect: fixed)
USB connection messes with suspend/resume state machine
|Reported by:||vnevoa||Owned by:||openmoko-devel|
|Blocking:||#1991||Estimated Completion (week):|
Software: up-to-date "OM2008.8-update" with original feeds (Timestamp = Mon 15 Sep 2008 09:58:59 +0800)
Blank time = 15 seconds.
Suspend aftr blank time = 1 second.
Steps to reproduce:
1 - with FR suspended, connect USB cable -> FR resumes;
2 - wait for suspend timeouts -> FR dimms the screen but does not suspend (charging LED stays on, illume icons are visible if an external light source is used) and will not suspend while USB is connected;
This seems ok to me. Continuing...
3 - disconnect USB cable -> charging LED turns off but:
-> screen does not glow back up;
-> FR will not suspend after any timeouts, stays always on;
Both of these things seem wrong to me!
4 - touch the screen -> FR glows up the screen;
5 - wait for suspend timeouts -> FR dimms but does not suspend;
6 - touch the screen -> FR glows up the screen;
7 - wait for suspend timeouts -> FR does dimm and suspend;
Now I know how my FR sometimes exausts the battery at night!! It is still turned on, but the screen is dimmed.
The same can happen if the USB is connected. Reproduce steps 1 and 2, then don't disconnect USB, and steps 4 to 7 still happen.