Hi. I have a i.MX6 Quad Sabre board with Android 4.2.
I have 2 USB audio devices:
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!
Solved! Go to Solution.
The issue was resolved by moving to Android 4.2 and building the kernel with enabled option CONFIG_USB_EHCI_TT_NEWSCHED.
The issue was resolved by moving to Android 4.2 and building the kernel with enabled option CONFIG_USB_EHCI_TT_NEWSCHED.
Have you check the sound volume of recording? e.g. use alsamixer