ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

Controller has no input - 8bitdo Pro 2 Wired (Xbox/Win 10 controller) #8293

Open lennie420 opened 2 years ago

lennie420 commented 2 years ago

Your system information

ASUS ROG Strix G15 G513QY (AMD Advantage Edition) Ryzen 9 5900HX AMD Radeon RX6800M 16GB RAM

5.15.7-zen (Arch) KDE Plasma / i3

Please describe your issue in as much detail as possible:

I bought the controller which unfortunately doesn't work in Linux. The white status LED on the face of the controller flashes when the controller is plugged in and I get no form of input. Controller works as expected in Windows 10.

The controller shows up in dmesg with the following: [ 2301.045005] usb 1-2: new full-speed USB device number 4 using xhci_hcd [ 2301.200384] usb 1-2: New USB device found, idVendor=2dc8, idProduct=2000, bcdDevice= 0.00 [ 2301.200396] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2301.200400] usb 1-2: Product: 8BitDo Pro 2 Wired Controller for Xbox [ 2301.200404] usb 1-2: Manufacturer: 8BitDo [ 2301.200406] usb 1-2: SerialNumber: 0000124F1EB1F5E5

Output from lsusb: Bus 001 Device 004: ID 2dc8:2000 8BitDo 8BitDo Pro 2 Wired Controller for Xbox

Steps for reproducing this issue:

Plug the controller in.

tydog98 commented 2 years ago

Prehaps related to #8231? I have a feeling it's related to Switch Pro controllers as I have a Brook Pi Zero board that emulates one that also does not work on Steam (but does outside of it). Does it work on games outside of Steam?

iamshadow2008 commented 2 years ago

Having the same issue. The furthest I have gotten was using xpad, but the controller appears as "generic controller" which causes the A and B / X and Y to be backwards and the triggers lose their analog input, making you press them down 100%.

Just editing to point out that the controller doesn't even show up in Steam's controller settings. It does elsewhere.

lennie420 commented 2 years ago

@iamshadow2008 Sorry I forgot to update this. I added the relevant IDs to xpad which allowed to work but I found xone project which works even better with controller after vendor ID was added. Both merge requests were merged. Have a look: https://github.com/medusalix/xone

allora commented 2 years ago

This also appears to be a problem for me with a wired Pro2 controller for the switch and windows. The controller works fine in my system outside of steam using jtest but games launched in steam dont seem to be able to see it, while they see the other two controllers connected to the system.

fabiscafe commented 2 years ago

Please see: https://codeberg.org/fabiscafe/game-devices-udev/issues/2#issuecomment-634142 on how to make it (mostly) work. (You don't need the udev rule!)

Basically you need start in B-Mode and set it up as generic controller in steam. If its shown as "X Box Controller" you need to change the layout and save again, as generic controller. After that it should work with steam-input everywhere.

++ Probably this counts as duplicate of https://github.com/ValveSoftware/steam-for-linux/issues/8772