ValveSoftware / steam-for-linux

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

Xbox One Power A showing as Generic Gamepad Controller #7644

Open NoobarDanu opened 3 years ago

NoobarDanu commented 3 years ago
Your system information

``` Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 5 2600X Six-Core Processor CPU Family: 0x17 CPU Model: 0x8 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 3600 Mhz 12 logical processors 6 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Unsupported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: LMDE 4 (debbie) (64 bit) Kernel Name: Linux Kernel Version: 4.19.0-14-amd64 X Server Vendor: The X.Org Foundation X Server Release: 12004000 X Window Manager: Mutter (Muffin) Steam Runtime Version: steam-runtime_0.20201203.1 Video Card: Driver: NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 450.66 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 74 Hz VendorID: 0x10de DeviceID: 0x1380 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 23.54" x 13.23" (26.97" diag) 59.8cm x 33.6cm (68.5cm diag) Primary Bus: PCI Express 16x Primary VRAM: 2048 MB Supported MSAA Modes: 2x 4x 8x 16x Sound card: Audio device: Nvidia GPU 60 HDMI/DP Memory: RAM: 16019 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 460166 Mb Largest Free Hard Disk Block: 260274 Mb ```

Please describe your issue in as much detail as possible:

Purchased a new Xbox one PowerA Wired Controller from the store. Tried to use it and Steam wouldn't detect it, so manually installed drivers from https://github.com/paroj/xpad following instructions there. Xbox One PowerA controller is now recognized in steam but as "Generic Gamepad: Generic Gamepad" and not as an Xbox One controller. Xbox Configuration Support and Guide Button Focuses Steam boxes in General Controller Settings are both checked.

Screenshot from 2021-02-06 23-32-07

Steps for reproducing this issue:

  1. Plug in controller
  2. Install Drivers
  3. Click Steam > Settings > Controller > General Controller Settings
kisak-valve commented 3 years ago

Hello @NoobarDanu, per "Added support for the PowerA Xbox One Series X Wired Controller" in the 2021-02-11 Steam client beta update, please opt into Steam's beta client and retest this issue.

NoobarDanu commented 3 years ago

@kisak-valve Opted in to the steam beta, currently build Feb 12, 20201 at 00:19:49 and it's still showing as Generic Gamepad: Generic Gamepad. Tested in both Steam > Settings > Controller > General Controller Settings and via Big Picture Mode > Settings > Controller Settings.

kisak-valve commented 3 years ago

Thanks for retesting, and to double check, was that with or without xpad?

NoobarDanu commented 3 years ago

@kisak-valve That was with xpad.

kisak-valve commented 3 years ago

I think we should expect controller input coming from xpad to continue looking like a generic controller because the Steam client doesn't get to see what's being fed into it. Please retest without it.

Also, I suspect you might need to look up what the usb id the controller has and adjust your 60-steam-input.rules to have a line like https://github.com/ValveSoftware/steam-devices/blob/master/60-steam-input.rules#L43-L44, but with your controller's usb id. Blind guess that it would look something like KERNEL=="hidraw*", ATTRS{idVendor}=="24c6", ATTRS{idProduct}=="543a", MODE="0660", TAG+="uaccess" based on https://usb-ids.gowdy.us/read/UD/24c6/543a.

NoobarDanu commented 3 years ago

@kisak-valve I tested without xpad and it still shows up as generic gamepad. I also found another driver called xboxdrv in my distro's repository and tested with it but it also shows as generic gamepad.

I was able to find the USB ID for the controller Bus 001 Device 009: ID 20d6:200a but I don't seem to have this 60-steam-input.rules file you mention and have no idea what I'm doing from here.

kisak-valve commented 3 years ago

Since Steam saw the controller without xpad, that makes it sound like that wasn't the issue. 60-steam-input.rules should be provided by either the Valve-provided Steam package or from steam-devices in the Debian repositories and found in /lib/udev/rules.d/.

The usb id you found would make the udev line to test look like KERNEL=="hidraw*", ATTRS{idVendor}=="20d6", ATTRS{idProduct}=="200a", MODE="0660", TAG+="uaccess".

NoobarDanu commented 3 years ago

@kisak-valve Ok, I rebooted my computer and re-tested without xpad and steam did NOT detect my controller at all. Also the light on the guide button (which is on with xpad) was not on without xpad.

I added the usb id to 60-steam-input.rules and tested both with and without xpad after another reboot and adding the usb id makes no change. With the usb id and without xpad steam doesn't see the controller at all. With the usb id and with xpad it shows as a generic gamepad.

NoobarDanu commented 3 years ago

@kisak-valve So out frustration for this still not working correctly I wiped my hard drive and switched to Pop OS by system76 (ubuntu based) I'm getting the same issue. The Xbox1 PowerA controller is not being recognized properly by steam. Is there any word on a possible fix for this?

kisak-valve commented 3 years ago

Personally, I'm out of quick fix ideas to try. We'll need to hear from a Steam Input dev or someone with more insight to make progress.

NoobarDanu commented 3 years ago

@kisak-valve Ok, how do I get a hold of one of them? I've tried steam support via the steam app and they just tell me to come here.

NoobarDanu commented 3 years ago

It's been a month now and still no fix or response. Hello? Is anyone there?

NoobarDanu commented 3 years ago

Still here, still waiting, still an issue. Excellent customer service btw.

mhalano commented 3 years ago

@NoobarDanu Deal with Valve can be frustrating sometimes. I have an open issue about Xbox Series X controller being identified as generic Xbox One controller. Maybe there are no people around using an Xbox Series X controller.

rujiel commented 1 year ago

I'm seeing the same behavior, on steam (Dec. 1st 2022 build). I could make a new ticket but it sounds like the same issue on Linux Mint

The problem is my PowerA Pro Wireless controller for Switch. Steam recognizes it as a generic controller but doesn't receive inputs from it when I test. The jstest-gtk program and an emulator (Yuzu) also don't recognize it. I've tried both types of USB ports.

It shows under lsusb as "BDA NSW Enhanced Wireless Controller Rechargeable". device / pid is 20d6:0002