#12400 NORM 13.1.0: XO-4 etoys audio is bad

Zarro Boogs per Child bugtracker at laptop.org
Thu Jan 3 09:39:52 EST 2013


#12400: XO-4 etoys audio is bad
--------------------------------------+-------------------------------------
           Reporter:  dsd             |       Owner:  saadia       
               Type:  defect          |      Status:  new          
           Priority:  normal          |   Milestone:  13.1.0       
          Component:  etoys-activity  |     Version:  not specified
         Resolution:                  |    Keywords:               
        Next_action:  diagnose        |    Verified:  0            
Deployment_affected:                  |   Blockedby:               
           Blocking:                  |  
--------------------------------------+-------------------------------------

Comment(by dsd):

 There is a minor squeak bug causing the open-close-open sequence here, it
 is passing uninitialized memory to ALSA which by coincidence seems to
 always have a good value when the device open is retried. A squeak patch
 to fix this is attached, and RPMs that have it included:
 http://dev.laptop.org/~dsd/20130103/

 That does not solve this issue though, squeak sounds are still bad. Now
 what happens is that the device open and hw_params succeeds, but then it
 fails trying to start the playback, and aborts after making a short bad
 noise. Then it retries again and the same thing happens.

 I've moved this code into a standalone test case, attached as atest.c. On
 XO-1.75 this works fine (i.e. it produces no errors) but on XO-4 it fails
 with:

 {{{
 snd_pcm_prepare: Device or resource busy
 snd_pcm_start(2): File descriptor in bad state
 }}}

 I believe that if we can make this test case stop producing errors,
 squeak/etoys/scratch will then start working.

 It is strange how it calls start, prepare, start, but if it worked before
 we can hopefully keep it working anyway...

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


More information about the Bugs mailing list