Problem with usb audio capture

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem with usb audio capture

跳至解决方案
4,739 次查看
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.


标签 (2)
1 解答
3,691 次查看
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

在原帖中查看解决方案

3 回复数
3,691 次查看
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 项奖励
3,691 次查看
saurabh206
Senior Contributor III

Hi Chye

Configure your kernel with CONFIG_USB_EHCI_TT_NEWSCHED.

Saurabh

3,692 次查看
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