#11286 NORM 12.1.0: powerd should not suspend on open external serial devices

Zarro Boogs per Child bugtracker at laptop.org
Fri Apr 20 14:06:04 EDT 2012


#11286: powerd should not suspend on open external serial devices
----------------------------------------------+-----------------------------
           Reporter:  greenfeld               |       Owner:  pgf                              
               Type:  enhancement             |      Status:  new                              
           Priority:  normal                  |   Milestone:  12.1.0                           
          Component:  power manager (powerd)  |     Version:  Development build as of this date
         Resolution:                          |    Keywords:                                   
        Next_action:  design                  |    Verified:  0                                
Deployment_affected:                          |   Blockedby:                                   
           Blocking:                          |  
----------------------------------------------+-----------------------------
Changes (by dsd):

 * cc: dsd (added)
  * next_action:  diagnose => design


Comment:

 Not sure if there's a better way, but here's a quick way of seeing if
 ttyS0 is in use:

 {{{
 ps --no-headers -t ttyS0 -o comm
 }}}

 Returns only "agetty" if its inactive, and something else (e.g. bash and a
 list of processes running in the serial console, each on different lines)
 if its active.

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


More information about the Bugs mailing list