#12289 HIGH 4-softw: XO-4 frequently records silence at non-48k rates

Zarro Boogs per Child bugtracker at laptop.org
Mon Mar 11 17:04:29 EDT 2013


#12289: XO-4 frequently records silence at non-48k rates
---------------------------------+------------------------------------------
           Reporter:  cjb        |       Owner:  saadia       
               Type:  defect     |      Status:  new          
           Priority:  high       |   Milestone:  4-software   
          Component:  kernel     |     Version:  not specified
         Resolution:             |    Keywords:  audio        
        Next_action:  never set  |    Verified:  0            
Deployment_affected:             |   Blockedby:               
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by dsd):

 Writing the codec regs in another order is not trivial, since the writes
 are automatically calculated by traversing a graph.

 I would like to try repeating the writes using sdkit, after Linux has set
 up the stream. However I'm having trouble getting basic sdkit usage going.

 I think the slave address of this device is 0x1a, but what is the channel?

 I'm trying to read the volume register (0x2) from the codec, just to get
 thing going. There are only 6 channels, and all of them produce "TWSI bus
 error" except channels 3 and 5. However on those channels, the register
 reads 0. What am I doing wrong?

 {{{
 ok h# 1a 3 set-twsi-target
 ok 2 twsi-b@ .
 0
 }}}

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


More information about the Bugs mailing list