#10036 NORM 1.5-sof: switch from ohmd to powerd on XO-1.5

Zarro Boogs per Child bugtracker at laptop.org
Fri Feb 19 20:28:56 EST 2010


#10036: switch from ohmd to powerd on XO-1.5
------------------------------------+---------------------------------------
           Reporter:  pgf           |       Owner:  pgf                
               Type:  enhancement   |      Status:  new                
           Priority:  normal        |   Milestone:  1.5-software-update
          Component:  not assigned  |     Version:  not specified      
         Resolution:                |    Keywords:  powerd             
        Next_action:  code          |    Verified:  0                  
Deployment_affected:                |   Blockedby:                     
           Blocking:                |  
------------------------------------+---------------------------------------
Changes (by pgf):

 * cc: sayamindu, cscott, mstone, bemasc, cjb (added)


Comment:

 all three of the attached patches are intended auto-detect powerd, and use
 or control via it, rather than via ohmd.  but all the code should still
 support ohmd.

 it all seems to work, but i'm cc'ing interested parties to get review.
 i'll also either need to get git access where needed, or ask for commit
 assistance.

 as background, powerd will inhibit suspend in a couple of ways --
 temporary inhibits are accomplished by creating a file named after your
 PID in /var/run/powerd-inhibit.  you can either remove it yourself, or
 powerd will clean it up for you.  a permanent inhibit (e.g., from the
 control panel) is done by creating the file /etc/powerd/flags/inhibit-
 suspend.  see http://dev.laptop.org/git/users/pgf/powerd/tree/powerd
 starting at line 113 for (a little) more information.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10036#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list