Problem with usb audio capture

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem with usb audio capture

ソリューションへジャンプ
5,249件の閲覧回数
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 解決策
4,201件の閲覧回数
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 返答(返信)
4,201件の閲覧回数
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 件の賞賛
返信
4,201件の閲覧回数
saurabh206
Senior Contributor III

Hi Chye

Configure your kernel with CONFIG_USB_EHCI_TT_NEWSCHED.

Saurabh

4,202件の閲覧回数
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