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.97k stars 112 forks source link

paired and connected but still fast blinking #411

Closed KUKARAF closed 1 year ago

KUKARAF commented 1 year ago

Version of xpadneo

clone from github version v0.9-131-g0150346-dirty

Controller Model

Connection mode

Installed Software

Protocol Information

Please help us identify at which layer the problem can be found if you want to report mapping errors or if the controller fails to be detected:

Please describe how it is failing below in the next sections.

Severity / Impact

Describe the Bug

Even when the device is shown as connected the fast blinking continues and the input is still not recognized. (the controller seems to work out of the box via usb)

Pairing successful
[CHG] Device 68:6C:E6:7A:DE:F4 Modalias: usb:v045Ep0B13d0509
[Xbox Wireless Controller]# trust 68:6C:E6:7A:DE:F4
[CHG] Device 68:6C:E6:7A:DE:F4 Trusted: yes
Changing 68:6C:E6:7A:DE:F4 trust succeeded
[Xbox Wireless Controller]# connect 68:6C:E6:7A:DE:F4
Attempting to connect to 68:6C:E6:7A:DE:F4
Connection successful
[DEL] Device 40:75:A4:78:C8:6F 40-75-A4-78-C8-6F
[DEL] Device 48:E5:93:49:76:69 48-E5-93-49-76-69
[DEL] Device 47:F1:BE:B7:E9:35 47-F1-BE-B7-E9-35
[DEL] Device 98:DA:20:01:E9:08 RuiDengDPS
[Xbox Wireless Controller]# info 68:6C:E6:7A:DE:F4
Device 68:6C:E6:7A:DE:F4 (public)
        Name: Xbox Wireless Controller
        Alias: Xbox Wireless Controller
        Appearance: 0x03c4
        Icon: input-gaming
        Paired: yes
        Bonded: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Vendor specific           (00000001-5f60-4c4f-9c83-a7953298d40d)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Battery Service           (0000180f-0000-1000-8000-00805f9b34fb)
        UUID: Human Interface Device    (00001812-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v045Ep0B13d0509
        ManufacturerData Key: 0x0006
        ManufacturerData Value:
  03 00 80                                         ...             
        Battery Percentage: 0x32 (50)
[Xbox Wireless Controller]# 

When not in pairing mode connecting is also impossible:

Agent registered
[bluetooth]# connect 68:6C:E6:7A:DE:F4
Attempting to connect to 68:6C:E6:7A:DE:F4
Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local

Steps to Reproduce

Pair via bluetoothcli connect be baffled as to why its still blinking but shows as connected

Expected Behavior

I'd like it to stop blinking and properly connect?

Screenshots / GIFs / Videos

System Information

# uname -a
# xxd -c20 -g1 /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor | tee >(cksum)

Not a file or directory for some reason? 

drivers/: directory rafa@rafa-Surface-Book-2:/sys/module/hid_xpadneo$ cd drivers/ rafa@rafa-Surface-Book-2:/sys/module/hid_xpadneo/drivers$ ls hid:xpadneo rafa@rafa-Surface-Book-2:/sys/module/hid_xpadneo/drivers$ file hid\:xpadneo hid:xpadneo: symbolic link to ../../../bus/hid/drivers/xpadneo rafa@rafa-Surface-Book-2:/sys/module/hid_xpadneo/drivers$ pwd /sys/module/hid_xpadneo/drivers rafa@rafa-Surface-Book-2:/sys/module/hid_xpadneo/drivers$

Controller and Bluetooth Information

(i assume that you do not mean unpair but dissconnect which it already is)

xpadneo-dmesg.txt.gz

N/A

N/A

Additional Context

Newest version of controller purchased today. I did not try updating the software. I am running a custom kernel for my surface book 2. It can be janky at times.

Sometimes it randomly connects and disconnects.

fennecinspace commented 1 year ago

I have the same issue. I have this controller : https://www.amazon.nl/Xbox-Wireless-Controller-Carbon-Black/dp/B07SDFLVKD/ref=sr_1_6?__mk_nl_NL=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=2UN78U4L0IA23&keywords=xbox&qid=1678737256&sprefix=xbox%2Caps%2C97&sr=8-6

kakra commented 1 year ago

Your controller firmware is known to have stability issues, from your logs:

[ 1326.373994] xpadneo 0005:045E:0B13.000C: BLE firmware version 5.09, please upgrade for better stability

Please upgrade the controller firmware.

fennecinspace commented 1 year ago

My issue was solved by upgrading to the latest framework on windows 11