- Xbox Adaptive Controller
- RTFM!
- Bluetooth working
- XAC with EV3
- XAC Input Device Specs
- XAC finally working
XAC working with bluetooth on my Ubuntu 18.04 laptop.
Only needed to edit ‘sys/module/bluetooth/parameters/disable_ertm’ replacing ‘N’ with ‘1’ or ‘Y’
After a few attempts of pairing my connection kept stable.
dmesg:
Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: HIDP socket layer initialized hid-generic 0005:045E:0B0C.0006: unknown main item tag 0x0 input: Xbox Adaptive Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256/0005:045E:0B0C.0006/input/input23 hid-generic 0005:045E:0B0C.0006: input,hidraw3: BLUETOOTH HID v9.03 Gamepad [Xbox Adaptive Controller] on 34:f3:9a:88:60:7a Bluetooth: hci0: last event is not cmd complete (0x0f)
a lot more of those hci 0x0f errors will keep appearing but connection holds.
Also got a ‘/dev/input/js0’ device but with much more Axles (15) and Buttons (31). But buttons seem duplicated – for instance the big round button ‘A’ is both Button 0 and Button 15 (previously it was only Button 0).
Nice!
Note 1: this workaround is not permanent.
Note 2: according to wikipedia, ERPM stands for ‘enhanced retransmission mode‘ and is ‘an improved version of retransmission and flow control modes’. Several posts related to using Xbox bluetooth controllers in linux suggest disabling it.