atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
1.87k stars 110 forks source link

Xbox controller connects, but does not rumble. Steam is not detecting it #402

Closed jdiadno closed 1 year ago

jdiadno commented 1 year ago

Hello,

I'm trying to connect controller "Gamepad Xbox Wireless Controller Carbon Black" to Ubuntu 20.04, kernel 5.15.0-56-generic, but unsuccessfully.

version hid-xpadneo-v0.9-131

I followed the installation instructions

/opt/xpadneo$ sudo ./install.sh 
* creating dkms.conf
* adding hid-xpadneo-v0.9-131-g0150346 folder to /usr/src
* installing module (using DKMS)

Creating symlink /var/lib/dkms/hid-xpadneo/v0.9-131-g0150346/source ->
                 /usr/src/hid-xpadneo-v0.9-131-g0150346

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.15.0-56-generic -C /lib/modules/5.15.0-56-generic/build M=/var/lib/dkms/hid-xpadneo/v0.9-131-g0150346/build/src VERSION=v0.9-131-g0150346 modules...
Signing module:
 - /var/lib/dkms/hid-xpadneo/v0.9-131-g0150346/5.15.0-56-generic/x86_64/module/hid-xpadneo.ko
Adding '/var/lib/shim-signed/mok/MOK.der' to shim:
cleaning build area...

DKMS: build completed.

hid-xpadneo.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-56-generic/updates/dkms/

Running the post_install script:
Not disabling ERTM, kernel version doesn't require it...
Installing modalias database...
Installing udev rules...
Reloading udev...

depmod....

DKMS: install completed.

Then, connecting with bluetooth. It's correctly connected, the light on the controller is still, not blinking, ubuntu correctly recognizes it, the battery indicator is working, but it did not rumble during the pairing and Steam is not showing it when I go to general controller settings, no controller detected.

I also tried xboxdrv, but with that, 4 controllers were listed there all the time, even when I powered controller down.

I'm not using any other software mentioned in the list.

# xxd -c20 -g1 /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor | tee >(cksum)
xxd: /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor: No such file or directory
4294967295 0

The controller works with iPhone

I don't have USB dongle

xpadneo-btmon.txt

kakra commented 1 year ago

This is a known issue with the Intel BT chipset, it also happens on Windows. Actually, xpadneo will see the device but it immediately disconnects after this in the Bluetooth layer and the driver doesn't even notice this until some time later when it eventually times out in the BT layer.

There's currently no known work-around for this other than using a different USB chipset, the CSR 4.0 dongles are known to work (if they are genuine and not China clones). I'm using a TP-LINK UB400 dongle successfully.

jdiadno commented 1 year ago

Thank you for taking time to reply