Odroid XU4 usb dac & Hi resolution audio files

Hello.

I am using an odroid XU4 with Logithech Media Server / Squeezelite feeding an ifi Zen Usb dac which is capable of playing hi resolution audio files(pcm 384Khz and DSD)

Every time on initial boot the system recognizes my dac with a limited resolution of 96 Khz.

If i unplug and replug my usb dac then it recognizes it correctly as pcm 384Khz & DSD capable dac.

Any ideas on how to correct this issue are welcome.

Thanks in advance.

This is how the dac is recognized after power on.

root@DietPi:~# cat /proc/asound/card1/stream0
iFi (by AMR) iFi (by AMR) USB Audio at usb-12120000.usb-1, full speed : USB Audi                                                                                                             o

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 402
    Momentary freq = 44103 Hz (0x2c.1a5c)
    Feedback Format = 10.14
  Interface 1
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000
    Bits: 24
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000
    Bits: 16

And this is after in uplug and replug my dac.

root@DietPi:~# cat /proc/asound/card1/stream0
iFi (by AMR) iFi (by AMR) HD USB Audio at usb-12110000.usb-1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 72
    Momentary freq = 44115 Hz (0x5.83ae)
    Feedback Format = 16.16
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
    Bits: 32
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
    Bits: 24
  Interface 1
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
    Bits: 16
  Interface 1
    Altset 4
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
    Bits: 32

@MichaIng is our audio specialist. Maybe he has an idea.

I updated to the newest Bookwork, but the problem still exists.

I am wondering if i can somehow restart the usb mount procedure after a few seconds of the initial boot.

if i run journalctl, i get the following error.

Nov 04 11:05:58 DietPi kernel: usb 2-1: Warning! Unlikely big volume range (=32512), cval->res is probably wrong.
Nov 04 11:05:58 DietPi kernel: usb 2-1: [10] FU [iFi (by AMR) USB Audio  Playback Volume] ch = 1, val = -32512/0/1

Somebody had the same issue with the same DAC, problem was the USB cable, which was only USB 2.0 but the device itself supports USB 3?!
https://discussion.fedoraproject.org/t/usb-dac-keeps-disconnecting-after-some-time/82605

Your device is also recognized as USB 2 device:

root@DietPi:~# cat /proc/asound/card1/stream0
iFi (by AMR) iFi (by AMR) HD USB Audio at usb-12110000.usb-1, high speed : USB Audio

I am afraid it is not a cable issue, i’ ve tried many cables and usb ports with the same result.
If i unplug and replug the cable, dac is recognized correctly.

Also note the dac is recognized correctly if i use Rpi4 instead of Odroid, with Dietpi and the same cable.

So i guess it must be an Odroid issue.

Maybe an overlay missing on Odroid.

I think i could disable usb after boot and re-enable it again after a few seconds it would do the job.

The problem is i don’t know how to do that.