USB Audio errors on i.MX6 Quad

cancel
Showing results for 
Search instead for 
Did you mean: 

USB Audio errors on i.MX6 Quad

Jump to solution
1,276 Views
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!

Labels (3)
Tags (4)
1 Solution
19 Views
Contributor I

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

View solution in original post

2 Replies
20 Views
Contributor I

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

View solution in original post

19 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos