#31 BLOC Trial-2: OHM Power Manager for OLPC laptops
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jul 10 23:12:23 EDT 2007
#31: OHM Power Manager for OLPC laptops
-----------------------------+----------------------------------------------
Reporter: jg | Owner: hughsient at gmail.com
Type: task | Status: new
Priority: blocker | Milestone: Trial-2
Component: infrastructure | Version:
Resolution: | Keywords: power
Verified: 0 |
-----------------------------+----------------------------------------------
Changes (by cjb):
* cc: kimquirk, jg (added)
* summary: Power Manager for OLPC laptops => OHM Power Manager for OLPC
laptops
Comment:
Replying to [comment:21 jg]:
> have to fish or cut bait. How's the fishing?
I tried out OHM today, and am very happy with what I saw -- it dimmed
brightness with the AC adaptor going off and on, so it's talking to our
setup fine. It doesn't have anything bound to lid/ebook events, though --
Richard, does that sound right?
Here's a list of things I think we need before we can ship it in Trial-2,
for which the deadline is next Monday, so we'd need them by Friday:
* power button support -- we should suspend whenever the power button is
pressed
* lid event -- we should suspend *and* set the dcon to "sleep" mode via
sysfs on lid close
* ebook event -- we should `xrandr -o left` on ebook=1, `xrandr -o
normal` on ebook=0
* we do *not* require any kind of idleness detection for Trial-2
jg, Kim, do you agree with these goals?
Richard (Hughes), could you let us know whether you'd be able to do these
this week, or whether I should? Sounds like we have the infrastructure
for them, which is great. HAL already broadcasts the lid and ebook
events in the latest build, so that should be easy, but:
HAL doesn't currently see/broadcast the power button -- maybe that's
because X uses the grab ioctl on the pm_inputdev device, which would mean
we need to split out the power button into its own (correctly labeled)
device like we did with lid and ebook. That's a simple kernel patch; if
we need to do that, I can get it done quickly.
--
Ticket URL: <http://dev.laptop.org/ticket/31#comment:22>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list