#11502 HIGH 1.75-so: battery or AC events will fully wake 1.75 from suspend
Zarro Boogs per Child
bugtracker at laptop.org
Tue Nov 29 12:04:35 EST 2011
#11502: battery or AC events will fully wake 1.75 from suspend
----------------------------------------------+-----------------------------
Reporter: pgf | Owner: pgf
Type: defect | Status: new
Priority: high | Milestone: 1.75-software
Component: power manager (powerd) | Version: Development build as of this date
Resolution: | Keywords:
Next_action: package | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
----------------------------------------------+-----------------------------
Changes (by pgf):
* next_action: code => package
* component: kernel => power manager (powerd)
Comment:
this was caused by a) me not realizing that the power/wakeup_count sysfs
nodes can sometimes return nothing at all, and b) the surprising (to me)
behavior of bash when confronted with:
{{{
if [ $a != $b ]
then
...
fi
}}}
when both $a and $b have null values. not only does the syntax pass, but
the result of the test is successful. (so is the result of '[ $a = $b
]'.)
fix will appear in next powerd, probably powerd-40.
--
Ticket URL: <http://dev.laptop.org/ticket/11502#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list