Openmoko Bug #2020: USB connection messes with suspend/resume state machine
Openmoko Public Trac
bugs at docs.openmoko.org
Tue Sep 23 12:38:44 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 | Resolution:
Keywords: | Blockedby:
Reproducible: always | Blocking:
------------------------+---------------------------------------------------
Comment(by vnevoa):
I'm thinking this has little or nothing to do with USB.
From the point of view of usage, USB plug-in and plug-out looks like just
another APM event, like for example clicking the power button.
New use-case info: (after opkg update + upgrade today = no pkg changes)
1 - let FR go to sleep (without USB cable);
2 - click power button -> FR wakes up, glows screen;
3 - wait for timeout -> FR dims screen but does not go to sleep (icons
still showing if strong light used);
4 - touch screen -> FR glows screen;
5 - wait for timeout -> FR dims screen and goes to sleep.
This is consistent with the first description, but without the USB thing.
Another interesting fact:
1 - let FR go to sleep (without USB cable);
2 - click power button -> FR wakes up, glows screen;
3 - touch screen once -> nothing happens! (illume does not receive the
click);
4 - touch the screen again -> illume receives the click and acts normally
(launch app, slide icons, etc.);
However, after step 3 (touching the screen and nothing seems to happen)
the timeout starts to count down, because if we don't do anything after
that it effectively goes to sleep.
My conclusion: when FR wakes up, there is "something X11" waiting for a
click to initiate the power management countdown. If there is no screen
tapping, there is no countdown to sleep (although there is countdown to
screen dimming).
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2020#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list