So, I plugged an usb dac into my odroid C2 and now I’m having the typical audio crack/popping issue.
After some forum archeology, some people claimed that hardkernels usb patch for kernel 3.14 ( https://github.com/hardkernel/linux/commit/5b39258a76be9cd385ea7b45a8a21e08992eb6e5 ) fixes the issue.
Now, the coreelec kernel repo seems to have the fix included: https://github.com/CoreELEC/linux-amlogic/commit/035e13ed9f27f25ace099b113f0f35d7647f9206
but the provided config.ini file doesn’t seem to have a usbmulticam flag.
After passing it to the kernel via boot.ini it doesn’t seem to work - no matter true or false, I seem to get 125:
cat /proc/asound/card1/stream0 gives
Data packet interval: 125 us
lsusb -v string for my device gives:
grep Ivl /sys/kernel/debug/usb/devices gives me:
E: Ad=01(O) Atr=05(Isoc) MxPS=1024 Ivl=125us
Am I doing something wrong (I guess it should be 100hz/us?), or is the patch missing?
My kernel version is:
Linux CoreELEC 3.14.29 #1 SMP Sat Jan 12 01:04:45 CET 2019 aarch64 GNU/Linux
and I’m running the 12.01.2019 corelec nightly build:
CoreELEC:~ # grep Kodi .kodi/temp/kodi.log | head -3
13:11:52.307 T:4089712656 NOTICE: Starting Kodi (18.0-RC4 Git:18.0rc4-Leia). Platform: Linux ARM 32-bit
13:11:52.307 T:4089712656 NOTICE: Using Release Kodi x32 build
13:11:52.308 T:4089712656 NOTICE: Kodi compiled 2019-01-12 by GCC 8.2.0 for Linux ARM 32-bit version 3.14.29 (200221)