USB Audio errors on i.MX6 Quad

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

USB Audio errors on i.MX6 Quad

ソリューションへジャンプ
2,638件の閲覧回数
vyacheslavmatyu
Contributor I

Hi. I have a i.MX6 Quad Sabre board with Android 4.2.

I have 2 USB audio devices:

  • Digitus 7.1 USB Sound Box-DA-70800 (Compliant to USB audio device class spec. 1.0 and USB HID class spec. 1.1, 48/44.1 KHz sampling rate for both playback and recording)
  • Some generic USB audio headset with microphone.

Playback works for both devices with "alsa_aplay -D hw:1,0 test.wav".

But recording fails for both devices with the same error message.

I execute "alsa_arecord -D hw:1,0 -f cd test.wav" and get:

Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

arecord: xrun:1282: read/write error, state = PREPARED

Upon each alsa_arecord run kernel output receives a message (shown by dmesg):

<3>cannot submit datapipe for usb 0, error -28: not enough bandwidth

However recording with both devices work using USB Audio Recorder PRO.

Is there anything I can do (patch the kernel, for example) to get USB audio recording working on my i.IM6 Quad Sabre board?

Thanks!

ラベル(3)
タグ(4)
1 解決策
1,381件の閲覧回数
vyacheslavmatyu
Contributor I

The issue was resolved by moving to Android 4.2 and building the kernel with enabled option CONFIG_USB_EHCI_TT_NEWSCHED.

元の投稿で解決策を見る

2 返答(返信)
1,382件の閲覧回数
vyacheslavmatyu
Contributor I

The issue was resolved by moving to Android 4.2 and building the kernel with enabled option CONFIG_USB_EHCI_TT_NEWSCHED.

1,381件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Have you check the sound volume of recording? e.g. use alsamixer

0 件の賞賛
返信