#11815 NORM 12.1.0: upowerd watches and suspends due to lid

Zarro Boogs per Child bugtracker at laptop.org
Wed Apr 25 16:45:16 EDT 2012

#11815: upowerd watches and suspends due to lid
           Reporter:  pgf     |       Owner:  dsd                              
               Type:  defect  |      Status:  assigned                         
           Priority:  normal  |   Milestone:  12.1.0                           
          Component:  distro  |     Version:  Development build as of this date
         Resolution:          |    Keywords:                                   
        Next_action:  code    |    Verified:  0                                
Deployment_affected:          |   Blockedby:                                   
           Blocking:          |  

Comment(by dsd):

 Paul pointed it out: stop powerd and press the power button.

 However, we now realise you must be in GNOME for this to have an effect.
 Same with the lid.

 The issue here is more with gnome-settings-daemon rather than upower.
 gnome-settings-daemon listens for power key presses (via XI2) and lid
 switch events (via upower) and then asks upower to act on them. Both of
 these behaviours are hard-coded when their respective plugins are loaded
 (but plugin load is configurable).

 Asking upower to ignore the lid events is one way of solving the lid
 issue, but we're left with the power button problem.

 For the power button issue, I think it should be safe (and probably
 sensible) to disable the media-keys plugin from gnome-settings-daemon
 altogether. This also handles volume/brightness keys and so on, which we
 want to handle alone anyway, right? Does this sound OK?

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

More information about the Bugs mailing list