ValveSoftware/SteamOS

Steam Deck detects audiocard as a USB device, but not as an audiodevice

Closed this issue · 3 comments

  • Steam client version: 1721173382
  • SteamOS version: 3.5.19
  • Opted into Steam client beta?: No
  • Opted into SteamOS beta?: No
  • Have you checked for updates in Settings > System?: Yes

Please describe your issue in as much detail as possible:

Behringer U-Phoria UMC204HD doesn't work properly. Sometimes Steam Deck boots up perfectly fine and audio works, but most times it just doesn't. Here are some details. Sadly, I don't have logs for the case when it is working properly. I also found a very similar problem here: alsa-project/alsa-lib#271. It was about kernel.

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 13d3:3553 IMC Networks Bluetooth Radio
Bus 003 Device 002: ID 28de:1205 Valve Software Steam Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 003: ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 1a2c:2094 China Resource Semico Co., Ltd USB Keyboard
Bus 001 Device 007: ID 256c:006d GAOMON Gaomon Tablet
Bus 001 Device 006: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 1397:0508 BEHRINGER International GmbH UMC204HD 192k
Bus 001 Device 004: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 003: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 001 Device 002: ID 1a86:8091 QinHeng Electronics USB HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M
    |__ Port 3: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 3: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 3: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 3: Dev 2, If 3, Class=Communications, Driver=cdc_acm, 12M
    |__ Port 3: Dev 2, If 4, Class=CDC Data, Driver=cdc_acm, 12M
    |__ Port 5: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 5: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
        |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
        |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 12M
        |__ Port 3: Dev 5, If 5, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 12M
            |__ Port 2: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 3: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            
uname -a
Linux steamdeck 6.1.52-valve16-1-neptune-61 #1 SMP PREEMPT_DYNAMIC Tue, 06 Feb 2024 00:51:49 +0000 x86_64 GNU/Linux

cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x803c0000 irq 76
 1 [acp5x          ]: acp5x - acp5x
                      Valve-Jupiter-1

sudo dmesg | grep 1-1.3
[    2.034202] usb 1-1.3: new full-speed USB device number 5 using xhci_hcd
[    7.296818] usb 1-1.3: not running at top speed; connect to a high speed hub
[    7.303800] usb 1-1.3: config 1 has an invalid interface number: 5 but max is 0
[    7.303811] usb 1-1.3: config 1 has no interface number 0
[    7.315817] usb 1-1.3: New USB device found, idVendor=1397, idProduct=0508, bcdDevice= 1.35
[    7.315830] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.315834] usb 1-1.3: Product: UMC204HD 192k
[    7.315837] usb 1-1.3: Manufacturer: BEHRINGER

Steps for reproducing this issue:

  1. Connect this audiocard to USB hub and wait. Works for a couple of days, then doesn't work for a week.
ardje commented

|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M

Can you check with several reboots if your hub can get into a USB2 high speed mode?
That port should say 480M for a real USB2 hub.
I doubt the Behringer would function in full speed.

Thank you, @ardje!

Wasn't able to get high speed mode working, tried by disconnecting everything else and rebooting a couple times. I will try to connect it directly without hub and see if it works.

Maybe it will magically start working during this time, then I'll post dmesg again.

Indeed, I connected it once more after some time and the "config number" error disappeared, as did the "top speed" notification. Wasn't able to understand why though.