#10492 LOW F14: idle sleep/suspend fails when prettyboot is inactivated
Zarro Boogs per Child
bugtracker at laptop.org
Sat Dec 4 12:12:18 EST 2010
#10492: idle sleep/suspend fails when prettyboot is inactivated
----------------------------------------------+-----------------------------
Reporter: mavrothal | Owner: pgf
Type: defect | Status: new
Priority: low | Milestone: F14
Component: power manager (powerd) | Version: Development build as of this date
Resolution: | Keywords: os3, XO-1
Next_action: code | Verified: 0
Deployment_affected: none | Blockedby:
Blocking: |
----------------------------------------------+-----------------------------
Changes (by pgf):
* cc: cjb (added)
* next_action: reproduce => code
Comment:
excellent, thanks. it seems that /dev/tty1 is the culprit. the modtime
of a VT tty is bumped when that tty is read or written, and powerd checks
the modtimes on /dev/tty1 and tty2 to see if it should stay awake.
(search for "touchfiles" to see where this is done in powerd.) clearly
booting with the check key is causing the continuous traffic on tty1 to
keep the system alive.
is this behavior new with F14? i.e., does it happen on 10.1.3, if booted
with the check key?
whether traffic on the VT consoles should keep the system alive or not is
perhaps the real question. this is legacy behavior -- it's how ohmd
worked, i believe. keystrokes will keep the screen alive if one is typing
-- the question is whether VT output should also prevent suspend. i
suspect not, but defer to others.
--
Ticket URL: <http://dev.laptop.org/ticket/10492#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list