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.
Solved! Go to Solution.
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
Hi Chye
Configure your kernel with CONFIG_USB_EHCI_TT_NEWSCHED.
Saurabh