Openmoko Bug #2020: USB connection messes with suspend/resume state machine

Openmoko Public Trac bugs at docs.openmoko.org
Fri Sep 19 21:18:27 CEST 2008


#2020: USB connection messes with suspend/resume state machine
---------------------+------------------------------------------------------
 Reporter:  vnevoa   |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:                
Component:  unknown  |        Version:  Om2008.8      
 Severity:  normal   |       Keywords:                
Blockedby:           |   Reproducible:  always        
 Blocking:           |  
---------------------+------------------------------------------------------
 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.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2020>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list