USB Audio errors on i.MX6 Quad

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

USB Audio errors on i.MX6 Quad

跳至解决方案
3,479 次查看
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 解答
2,222 次查看
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 回复数
2,223 次查看
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,222 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复