Closed makinbacon21 closed 2 years ago
The xpadneo module is not involved here, actually, xpadneo doesn't interact with Bluetooth at all, xpadneo is purely a HID driver, the HID API is provided by the Bluetooth stack. It looks like the bug you are seeing is in the HCI driver, it should be reported to the bluez team.
Thanks for the help! Good to be able to rule out xpadneo as the issue. I think it's not likely bluez' fault--more likely nvidia modified the hci driver (again) and screwed it up (again). This isn't even the only driver issue for this card in the latest L4T release...no wonder they keep pushing the final release.
@makinbacon21 Did you end up opening an issue with Nvidia about this? I'm hitting this as well.
EDIT: found the issue you made :) https://forums.developer.nvidia.com/t/r35-1-crashes-when-connecting-ble-xbox-controller/225752
Version of xpadneo
Tried on v0.9.4 RE-RELEASE and current master (should be the same though)
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:
Can't get to any of this--it insta-fails right after displaying as connected in
bluetoothctl
evtest
is showing issues (describe the issues below)BTN_NORTH
andBTN_WEST
are intentionally swappedjstest
is showing issues (describe the issues below)gamepad-tool
is showing issues (post console output below)Please describe how it is failing below in the next sections.
Severity / Impact
Describe the Bug
On running
connect <mac>
inbluetoothctl
, the kernel panics.Steps to Reproduce
Run stock Jetson Linux 35.1 on an AGX Orin (I expect on other Tegra devices this also happens), install the driver via dkms, and try to pair the controller. The output will appear successful, indicating it is connected, but then the whole system will freeze up. Kernel logs indicate a panic has occurred.
Expected Behavior
Obviously I expected it to work lol
Screenshots / GIFs / Videos
No need for screenshots
System Information
Controller and Bluetooth Information
None of this is really relevant. My BT adapter is a PCIe combo bt/wifi adapter (rtl8822ce) that comes built in on the devkit.
Additional Context
dmesg log gathered via UART: