Problem with usb audio capture

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with usb audio capture

Jump to solution
5,244 Views
chyeminggan
Contributor I

Hi

I am having problem in using arecord with the imx6 and an usb audio card.

It gives me "arecord: xrun:1387: read/write error, state = PREPARED".

Using dmesg, I can see that there is a "cannot submit datapipe for urb 0, error -28: not enough bandwidth" when the usb audio card is plugged in.

I am able to play audio to it using aplay.

My usb audio card is Usb Audio Class 2.0 compliant.

Using cat /proc/asound/card2/stream0, I can see that it has 2 channels and 1 endpoint for both playback and capture.

My Linux version is 3.0.35 and the Ubuntu version is 12.04.2 LTS

Thanks.


Labels (2)
1 Solution
4,196 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chye

seems this is the same issue as below

USB Audio errors on i.MX6 Quad

Best regards

igor

View solution in original post

3 Replies
4,196 Views
chyeminggan
Contributor I

Have a few problems compiling the kernel and finally got it working today.

Yup, enabling the CONFIG_USB_EHCI_TT_NEWSCHED solves the problem.

Thanks Igor and Saurabh

0 Kudos
Reply
4,196 Views
saurabh206
Senior Contributor III

Hi Chye

Configure your kernel with CONFIG_USB_EHCI_TT_NEWSCHED.

Saurabh

4,197 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chye

seems this is the same issue as below

USB Audio errors on i.MX6 Quad

Best regards

igor