#12504 BLOC 13.1.0: Powerd-108 confused about lid suspends while already idle

Zarro Boogs per Child bugtracker at laptop.org
Sat Feb 9 16:48:10 EST 2013


#12504: Powerd-108 confused about lid suspends while already idle
----------------------------------------------+-----------------------------
           Reporter:  greenfeld               |       Owner:  dsd                              
               Type:  defect                  |      Status:  new                              
           Priority:  blocker                 |   Milestone:  13.1.0                           
          Component:  power manager (powerd)  |     Version:  Development build as of this date
         Resolution:                          |    Keywords:                                   
        Next_action:  diagnose                |    Verified:  0                                
Deployment_affected:                          |   Blockedby:                                   
           Blocking:                          |  
----------------------------------------------+-----------------------------
Changes (by pgf):

  * owner:  pgf => dsd


Comment:

 the culprit is systemd-logind.  if we can't just turn it off (does it do
 anything useful, for us?), then i think we have two choices:

   - edit /etc/systemd/logind.conf, and change all of HandlePowerKey=,
 HandleSuspendKey=, HandleHibernateKey=, and HandleLidSwitch= to "ignore".
   - or, since the logind.conf docs say "Only input devices with the power-
 switch udev tag will be watched for key/lid switch events.", then i think
 we can also simply do this:
 {{{
 rm /usr/lib/udev/rules.d/70-power-switch.rules
 }}}
 since that's where all ACPI events get the "power-switch" tag.

 (i've only tested the second option.)

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


More information about the Bugs mailing list