[Bugs] #3638 Physics UNSP: Physics doesn't release audio device properly

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed May 23 15:37:19 EDT 2012


#3638: Physics doesn't release audio device properly
------------------------------------------+---------------------------------
    Reporter:  pgf                        |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Physics                    |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 this activity doesn't release the audio device when not using it.  this
 will prevent an XO laptop from suspending properly, and may even prevent
 other programs from using the audio device.

 in fact, Physics seems to open the device at startup, and never closes it
 until exit.

 this command can help observe that the activity is doing the right thing:
 {{{
     while sleep 0.1
     do
         egrep 'closed|state' /proc/asound/card0/pcm0p/sub0/status
     done
 }}}
 the output should be "RUNNING" while noise is being made, and "closed"
 when not.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3638>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list