You are not logged in.

#1 2020-01-13 21:31:07

asparagii
Member
Registered: 2020-01-13
Posts: 2

Xbox One controller - One button doesn't work

Hi everyone,

this is weird. Basically I'm connecting the Xbox Controller via bluetooth and the devices is apparently registered correctly.
Indeed it appears a device at /dev/input/js0. Testing it with

jstest /dev/input/js0

reveals that the device has been properly detected, every button is working etc.

But testing the device with https://html5gamepad.com/ shows that:
- X is not working
- RB is not working
- neither L (button) or R (button) are working

This behavior is the same in the videogames I try to play: these button presses are not being registered for some reason.

The controller is seen as "Xbox Wireless Controller (STANDARD GAMEPAD Vendor: 045e Product: 02fd)" by the browser.
jstest outputs

$ jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (Xbox Wireless Controller) has 8 axes (X, Y, Z, Rz, Gas, Brake, Hat0X, Hat0Y)
and 15 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR).

dmesg output:

[   58.435117] Bluetooth: RFCOMM TTY layer initialized
[   58.435125] Bluetooth: RFCOMM socket layer initialized
[   58.435134] Bluetooth: RFCOMM ver 1.11
[   74.995517] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   74.995526] Bluetooth: HIDP socket layer initialized
[   74.997289] hid-generic 0005:045E:02FD.0007: unknown main item tag 0x0
[   74.997600] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD.0007/input/input30
[   74.997833] input: Xbox Wireless Controller Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD.0007/input/input31
[   74.997977] hid-generic 0005:045E:02FD.0007: input,hidraw6: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on 00:15:83:ca:1b:c4
[   75.161505] microsoft 0005:045E:02FD.0007: unknown main item tag 0x0
[   75.161818] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD.0007/input/input32
[   75.162366] microsoft 0005:045E:02FD.0007: input,hidraw6: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on 00:15:83:ca:1b:c4

I tried with xboxdrv and with steamos-dkms-git but none of them worked, so I don't know what to do next.
Thank you in advance for your help smile

Offline

#2 2020-01-15 20:42:33

astiak
Member
From: London, UK
Registered: 2010-12-14
Posts: 16

Re: Xbox One controller - One button doesn't work

Try xpadneo from the AUR.

Offline

#3 2020-01-17 22:31:37

asparagii
Member
Registered: 2020-01-13
Posts: 2

Re: Xbox One controller - One button doesn't work

Thanks for answering @astiak, I'm trying it right now.

It doesn't fix the issue, and now even the right stick is not mapped well.
Testing the inputs with

jstest /dev/input/js0

, everything looks right (same as before).

Relevant dmesg output:

[15517.058262] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:59/0005:045E:02FD.0007/input/input30
[15517.058967] input: Xbox Wireless Controller Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:59/0005:045E:02FD.0007/input/input31
[15517.059512] hid-generic 0005:045E:02FD.0007: input,hidraw6: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on 00:15:83:ca:1b:c4
[15517.065821] xpadneo udev: 0005:045E:02FD.0007
[15517.079733] xpadneo: hello there!
[15517.208056] xpadneo 0005:045E:02FD.0007: unknown main item tag 0x0
[15517.208203] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:59/0005:045E:02FD.0007/input/input32
[15517.208618] xpadneo 0005:045E:02FD.0007: input,hidraw6: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on 00:15:83:ca:1b:c4
[15518.195439] xpadneo udev: ok

I really don't know what to try next.

Update:
It does work correctly when plugged in with a cable.

Last edited by asparagii (2020-01-17 22:38:27)

Offline

Board footer

Powered by FluxBB