xow icon indicating copy to clipboard operation
xow copied to clipboard

Xbox controller model 1914 keep disconecting and reconnecting

Open benjdero opened this issue 4 years ago • 9 comments

I bought the bundle with Xbox One Series X controller (model 1914) and Windows Wireless Adapter.

I used them countless hours on Windows without any problem. It have latest available firmware.

When using it on my RetroPie setup on Raspberry Pi thanks to xow, it seems that the controller frequently disconnect. Not sure if related to #144

The share button also can't be used, I wanted to set it as the HotKey button on EmulationStation, but it doesn't seems to be recognized.

pi@retropie:~ $ sudo systemctl status xow
● xow.service - Xbox One Wireless Dongle Driver
   Loaded: loaded (/etc/systemd/system/xow.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-05-13 14:29:19 CEST; 18min ago
 Main PID: 421 (xow)
    Tasks: 6 (limit: 1633)
   CGroup: /system.slice/xow.service
           └─421 /usr/local/bin/xow

mai 13 14:47:35 retropie xow[421]: 2021-05-13 14:47:35 DEBUG - Hardware version: 1032.1.1.1
mai 13 14:47:35 retropie xow[421]: 2021-05-13 14:47:35 INFO  - Serial number: 09713353907047
mai 13 14:47:37 retropie xow[421]: 2021-05-13 14:47:37 INFO  - Battery level: medium
mai 13 14:47:46 retropie xow[421]: 2021-05-13 14:47:46 INFO  - Controller '1' disconnected
mai 13 14:47:55 retropie xow[421]: 2021-05-13 14:47:55 INFO  - Controller '1' connected
mai 13 14:47:55 retropie xow[421]: 2021-05-13 14:47:55 INFO  - Device announced, product id: 0b12
mai 13 14:47:55 retropie xow[421]: 2021-05-13 14:47:55 DEBUG - Firmware version: 5.5.2641.0
mai 13 14:47:55 retropie xow[421]: 2021-05-13 14:47:55 DEBUG - Hardware version: 1032.1.1.1
mai 13 14:47:55 retropie xow[421]: 2021-05-13 14:47:55 INFO  - Serial number: 09713353907047
mai 13 14:47:57 retropie xow[421]: 2021-05-13 14:47:57 INFO  - Battery level: medium

benjdero avatar May 13 '21 13:05 benjdero

this issue is most definitely the same as #144

I wish we had a solution for it but right now I'm using the new controller wired while I can use the old model wireless with the same dongle.

ebbit1q avatar May 13 '21 16:05 ebbit1q

This is kinda annoying. When using xow and wireless connected controller I can't use the "power" button as the "hotkey" button for retroarch. Is there any chance you add support for the "share" button?

benjdero avatar May 16 '21 17:05 benjdero

Not sure if this issue is related to one I am facing (seems like it is).

For me the issue was the empty-packet received by the driver results in an automatic disconnect: https://github.com/medusalix/xow/blob/master/dongle/dongle.cpp#L272

As a result, I added a build-flag to disable this behavior: EMPTY_PACKET_DISCONNECT Pull-Request: https://github.com/medusalix/xow/pull/185

If you want to test it make sure you clean your workspace and rebuild with this flag: make clean make BUILD=RELEASE EMPTY_PACKET_DISCONNECT=0

Let me know if this resolves the issues for y'all as well

OriginLegend avatar Sep 17 '21 22:09 OriginLegend