I meet the problem when BeagleBone Black is connected with USB audio device which specification is USB 2.0 and USB Audio 1.0.
I want to know how to avoid the situation.
If there are any patches or workarounds, please let me know.
Condition:
- TI SDK 07.00.00.00
- kernel is configured with Disable DMA (always use PIO) for MSUB DMA mode.
USB audio device connection:
- USB 2.0 and USB Audio 1.0 devices are connected to USB port directory or via USB-2.0 HUB.
"USB 2.0 and USB Audio 1.0 device" uses USB High-Speed, but audio profile is USB Audio 1.0, so these devices works without vendor-specified driver on Windows OS.
e.g. Yamaha YVC-1000
- http://www.yamaha.com/products/en/communication/usb_conference_speakerphones/yvc-1000/
Steps for reproduction:
- Play audio using aplay.
Result:
- Playback sound is noisy. Waveform has periodical 20 msecs gap within every 100 to 200 msec.
Additional information:
- When USB 1.1 HUB is inserted between BBB and the device, noise does not occur.
- No noise observed on capture (recording) side.
- By observing USB packets by USB analyzer, normally the interval of render packets is 1 msec. But once in 6 to 8 packets, the interval becomes 1.25 msecs, one additional sub frame duration.
- For capture side, the interval is always 1 msec.
Consideration:
- I think some problem on packet scheduling.