[RPi4] USB DAC not recognized

  • Pi 4 with USB DAC, Kodi Media Center 21.3

    The USB DAC is not recognised in LSUSB and so can't set it as the sound output device

    I plugged in a spare USB DAC and same.

    From Libreelec:

    lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


    I plugged the USB DAC into my Fedora PC and LSUSB shows:

    Bus 001 Device 005: ID 0d8c:0012 C-Media Electronics, Inc. USB Audio Device

    DMESG on PC shows:

    [84843.173914] input: C-Media Electronics Inc. USB Audio Device as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.1/1-2.1:1.3/0003:0D8C:0012.0005/input/input16
    [84843.224701] hid-generic 0003:0D8C:0012.0005: input,hidraw3: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-0000:05:00.3-2.1/input3

    Kinda lets me know the DAC is fine but I don't understand why it is not recognised by Libreelec. I read about changes in config.txt to enable an overlay but believed that, being USB, this DAC should be recognised.

    Any pointers?


    I used to run a Pi 3 for this setup and I don't remember having to make any changes for the DAC to be recognised.

    Thanks, Duncan


  • If the DAC doesn't show up with lsusb it points to a general USB (compatibility) issue. Please run "pastekodi" with the DAC connected so we can see the full dmesg output and system logs.

    It would be worth testing with the latest LE13 nightly, it ships with a newer kernel that might help.

    so long,

    Hias

  • Pastekodi output:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

  • There are no signs of a USB device in the log, not even an error during enumeration.

    Please give the LE13 nightly a try (ideally on a separate SD card), if this doesn't work either then it's best to test with the Raspberry Pi OS and move testing over to the RPi forums - it all looks like a compatibility issue between the USB DAC and the RPi's USB controller.

    so long,

    Hias

  • Well that is very odd.

    Just to see what happens I plugged the USB DAC into the Libreelec Pi 4 in my living room and weirdly it shows up:

    Bus 001 Device 006: ID 0d8c:0012 C-Media Electronics, Inc. USB Audio Device

    Both Pi 4's have the same version of Libreelec.

  • OK, weird.

    You could test if it makes a difference if the DAC is plugged in before you power up the RPi vs if you plug it in after you powered up the RPi.

    If it never shows up it could also be some hardware fault.

    so long,

    Hias

  • I have tried plugging in before and after boot and no difference.

    It shows up instantly on the other unit without a reboot.

    I may try a new SD card with a fresh install and failing that try LE13 nightly.

    Thanks for the help, Duncan

  • I found the USB plug from the DAC into the Pi to be warm ..... changed out the USB lead and still no DAC. Changed out the DAC along with the USB lead and now it works.

    Can only surmise that the lead AND the DAC both died in some way.