#31 BLOC Trial-2: OHM Power Manager for OLPC laptops

Zarro Boogs per Child bugtracker at laptop.org
Wed Jul 18 13:41:03 EDT 2007


#31: OHM Power Manager for OLPC laptops
----------------------------------+-----------------------------------------
  Reporter:  jg                   |       Owner:  marco  
      Type:  task                 |      Status:  new    
  Priority:  blocker              |   Milestone:  Trial-2
 Component:  power manager (OHM)  |     Version:         
Resolution:                       |    Keywords:  power  
  Verified:  0                    |  
----------------------------------+-----------------------------------------
Comment (by jg):

 Replying to [comment:69 cjb]:
 > Replying to [comment:68 hughsient at gmail.com]:
 > > Quality. I've applied 1,3 & 4 upstream.
 >
 > Thanks!  So, Marco, 2 is the one that was already in our RPM build; you
 can totally ignore the patches in the directory I linked to, as long as
 you keep the HAL suspend patch we already have.
 >
 > > I'm hesitant to apply 2. Do you still get the vt switch and slowness
 if you just put "echo mem > /sys/power/state" in /usr/lib/hal/scripts/hal-
 system-power-suspend and deleting _everything_ else?
 >
 > Good question.  The reason I haven't done this is that I want to avoid
 forking a chain of shells and unnecessary syscalls -- in our suspend and
 resume paths, every ms counts, since we want to suspend/resume "between
 keystrokes" without being noticed.  I could be overestimating how much
 time we lose by running a few sh processes, though.

 Nope.  Shells, particularly bash, don't start all that fast.

-- 
Ticket URL: <http://dev.laptop.org/ticket/31#comment:71>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list