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.92k stars 111 forks source link

Not displaying battery levels using XBox Series X Controller + Microsoft dongle + xow #299

Closed hamsdac closed 3 years ago

hamsdac commented 3 years ago

Version of xpadneo

0.9.r63.gf17a4e2-1 Installed via AUR (Arch Linux Package xpadneo-dkms-git)

Severity / Impact

Describe the bug

I cannot see battery level, as the controller is not connected via bluetooth (according to linux) and therefore does not show up under bluetooth devices at all.

Steps to Reproduce

Expected behavior

System information

# uname -a
Linux archpc 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linux
# 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

Controller and Bluetooth information

Output of sudo btmon | tee xpadneo-btmon.txt is empty (file is empty).

xpadneo-dmesg.txt xpadneo-lsusb.txt

kakra commented 3 years ago

The file is empty because xpadneo does not (yet) support the dongle, please look at the xow (or xone) project: https://github.com/medusalix/xow

kakra commented 3 years ago

BTW: xow is not able to report battery levels through upowerd, so your desktop environment won't show the battery levels. This is a known and (most probably) unsolvable technical issue. The dongle included with the controller isn't a Bluetooth dongle (it's a WiFi dongle with proprietary firmware), so it won't show up as a Bluetooth device, xpadneo cannot work with it.

hamsdac commented 3 years ago

Thank you for the clarification. Great work on xpadneo btw :)