[Trac #845] Sugar needs support for the SW_LID event

Zarro Boogs per Child bugtracker at laptop.org
Mon Jan 29 15:37:26 EST 2007


#845: Sugar needs support for the SW_LID event
--------------------------+-------------------------------------------------
 Reporter:  JordanCrouse  |       Owner:  dcbw     
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:  Untriaged
Component:  sugar         |    Keywords:           
--------------------------+-------------------------------------------------
 Starting with the B2 hardware, we can detect and act on the lid closing
 and opening.  The experimental tree currently has support for this - it
 sends a SW_LID event to the OLPC PM input event device (the same one that
 gets power button events).

 Sugar should grab this event, and do something useful with it.  Until more
 advanced power management capabilities are in place, I recommend putting
 the DCON into sleep mode (DCON + display turns off) when the LID is down:

 {{{
 echo "1" > /sys/devices/platform/dcon/sleep
 }}}

 (Support for this is also in the experimental tree).  This will save
 almost 2 watts of power over the full on / BL at maximum state.  The sleep
 mode may also be useful in other situations, so investigation should be
 done to that end as well.

-- 
Ticket URL: <http://dev.laptop.org/ticket/845>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list