This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

usb sound problem on OMAP3530

Other Parts Discussed in Thread: ADS7846, OMAP3530

I am also getting a similar error. Error given below.

I am using a OMAP3530EVM running linux 2.6.32 kernel along with the filesystem from TI DVSDK ti-dvsdk_omap3530-evm_4_00_00_22 . 

The audio source is the on board audio in and out port on the EVM.

The make menuconfig in the kernel is the default config from TI omap3defconfig ie,  Device Drivers --> Sound card support -->
Advanced Linux Sound Architecture --> [*] USB sound devices --> <*> USB Audio/MIDI driver

So after the kernel boots the result of the loopback is like this after 3-4 seconds,

root@omap3evm:~# arecord -t raw -c 2 -f S16_LE -D hw:0,0 | aplay -t raw -c 2 -f S16_LE -D hw:0,0                                                               
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo 
capture write error (DMA or IRQ trouble?)                                      
arecord: pcm_read:1617: read error: Input/output error                         
aplay: playback:2297: read error                                          


I also tried removing the USB Audio/MIDO driver from the kernel build. Still the result is the same ,as given below..

root@omap3evm:~# arecord -t raw -c 2 -f S16_LE -D hw:0,0 | aplay -t raw -c 2 -f
S16_LE -D hw:0,0                                                               
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo 
capture write error (DMA or IRQ trouble?)                                      
arecord: pcm_read:1617: read error: Input/output error                         
aplay: playback:2297: read error                                               
root@omap3evm:~# uname -a                                                      
Linux omap3evm 2.6.32 #2 PREEMPT Mon Jun 6 17:29:29 IST 2011 armv7l unknown    
root@omap3evm:~# cat /proc/interrupts                                          
           CPU0                                                                
  7:          0        INTC  TWL4030-PIH                                       
 11:          0        INTC  prcm                                              
 12:          1        INTC  DMA                                               
 25:          2        INTC  OMAP DSS                                          
 37:       2527        INTC  gp timer                                          
 56:        510        INTC  i2c_omap                                          
 57:          0        INTC  i2c_omap                                          
 61:          0        INTC  i2c_omap                                          
 72:        207        INTC  serial idle, serial                               
 73:          1        INTC  serial idle                                       
 74:          1        INTC  serial idle                                       
 77:          0        INTC  ehci_hcd:usb1                                     
 83:          0        INTC  mmc0                                              
 92:          0        INTC  musb_hdrc                                         
 93:          0        INTC  musb_hdrc                                         
335:          0        GPIO  ads7846                                           
336:       8272        GPIO  eth0                                              
369:          0     twl4030  twl4030_keypad                                    
379:          0     twl4030  rtc0                                              
384:          0     twl4030  mmc0                                              
Err:          0                                                                
root@omap3evm:~# Linux omap3evm 2.6.32 #2 PREEMPT Mon Jun 6 17:29:29 IST 2011 ar
mv7l unknown