Skip to content

Elgato 4K S Not Detected in OBS on Linux? Wake Up Your USB Ports

OBS on Linux can't find the Elgato 4K S when the card never shows up on USB at all. On AMD USB4 mini PCs, the USB controllers sleep and miss the hotplug. Turn off USB runtime power saving and make it stick with a udev rule.

On this page
  1. Step 1: Check whether Linux sees the card
  2. Step 2: Rule out the easy stuff
  3. Step 3: Turn off USB power saving
  4. Make it permanent
  5. Step 4: Add the card in OBS
  6. Things that didn’t help

I plugged my Elgato 4K S into my mini PC (AMD Ryzen with Radeon 680M, Rocky Linux 10) and OBS didn’t list it anywhere. The same card and cable work fine on my iPad, so the hardware wasn’t the problem.

It wasn’t OBS either. Linux never saw the card. The fix ended up being one setting: the USB controllers were asleep and didn’t wake up when I plugged the card in.

If you’re also setting up OBS on an AMD machine, see How to Enable AMD Hardware Encoding in OBS on Linux.

Step 1: Check whether Linux sees the card

The Elgato 4K S is a standard USB video device (UVC), so it doesn’t need a driver from Elgato. If Linux sees it, OBS will too. Plug the card in, then run:

Terminal window
lsusb | grep -i elgato
ls /dev/video*

When it’s working, you get this:

Bus 010 Device 002: ID 0fd9:00af Elgato Systems GmbH Elgato 4K S
/dev/video0 /dev/video1

On my machine both commands came back empty. I checked the kernel log too, and there was no trace of the card at all. No error, no failed connection, nothing:

Terminal window
journalctl -k -b | grep -i -E "elgato|0fd9"

If you see the card here but OBS still doesn’t list it, skip to Step 4.

Step 2: Rule out the easy stuff

Before blaming Linux, check these:

  • Use the cable that came with the card. Many USB-C cables are charging-only or USB 2.0, and the 4K S needs USB 3.
  • Skip hubs and front-panel ports. Plug straight into a USB-C or USB 3 port on the back of the computer.
  • Test it on another device. If it works on a Windows PC, a Mac or an iPad, the card and cable are fine.

I tried both the front and back USB-C ports and got the same result. Since the card worked on my iPad, the problem had to be on the Linux side.

Step 3: Turn off USB power saving

Linux puts USB controllers to sleep when nothing is plugged in. On some AMD USB4 machines (my mini PC uses the Rembrandt chipset), a sleeping controller doesn’t wake up when you plug in a new device. You can check yours with:

Terminal window
for d in /sys/bus/pci/devices/*; do [ "$(cat $d/class)" = "0x0c0330" ] && echo "$(basename $d) $(cat $d/power/runtime_status)"; done

0x0c0330 is the class code for USB 3 controllers. On my machine, almost all of them said suspended.

Wake them up and keep them awake:

Terminal window
sudo sh -c 'for d in /sys/bus/pci/devices/*; do [ "$(cat $d/class)" = "0x0c0330" ] && echo on > $d/power/control; done'

Now unplug the card and plug it back in. This step matters, because the card has to connect again while the controllers are awake. Right away the kernel log showed:

usb 10-1: new SuperSpeed USB device number 2 using xhci_hcd
usb 10-1: Product: Elgato 4K S
uvcvideo 10-1:1.0: Found UVC 1.10 device Elgato 4K S (0fd9:00af)

You can ignore a line like uvcvideo: Unknown video format 30313050-.... That’s the card’s 10-bit HDR format, which Linux doesn’t support yet. Regular capture works fine.

Make it permanent

That setting only lasts until you reboot. To keep it, add a udev rule. Mine only matches AMD USB controllers (vendor 0x1022):

Terminal window
echo 'ACTION=="add|bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x1022", ATTR{class}=="0x0c0330", ATTR{power/control}="on"' | sudo tee /etc/udev/rules.d/90-usb-no-autosuspend.rules
sudo udevadm control --reload-rules

The rule includes bind because the USB driver can switch power saving back on when it loads, which happens just after the device is added at boot.

If you have Intel USB controllers, change 0x1022 to 0x8086, or remove the ATTR{vendor} part to match every USB 3 controller.

The tradeoff is slightly higher idle power use. On a desktop mini PC, I haven’t noticed a difference. To undo it:

Terminal window
sudo rm /etc/udev/rules.d/90-usb-no-autosuspend.rules

Step 4: Add the card in OBS

  1. If OBS was already open, close it and open it again.
  2. In Sources, click + > Video Capture Device (V4L2).
  3. Set Device to Elgato 4K S.

For sound, add an Audio Input Capture (PulseAudio) source and pick Elgato 4K S Analog Stereo. The card shows up as its own audio input.

The Flatpak version of OBS can already access all devices, so it doesn’t need any extra permissions.

Things that didn’t help

  • Loading the USB-C driver. sudo modprobe ucsi_acpi did nothing, because the driver is already built into the Rocky 10 kernel. My mini PC’s BIOS doesn’t expose its USB-C port controller to Linux, so the driver has nothing to manage.
  • Installing anything from Elgato. Elgato doesn’t make Linux software for the 4K S, and you don’t need any. The kernel’s uvcvideo driver handles it.

A BIOS update from your mini PC’s manufacturer might fix the sleep bug for good. If it does, you can delete the udev rule.