uejji / steamfork_distribution

SteamFork project repository.
1 stars 0 forks source link

Integrated controller falls back to X360 driver after sleep #2

Closed dxsty98 closed 1 month ago

dxsty98 commented 2 months ago

The integrated controller occasionally falls back to the regular Xbox 360 driver for me after the device wakes up from sleep, complete with them being recognized as a separate device and the back paddles no longer being recognized

This doesn't happen every time, I couldn't narrow it down any further. After a reboot they work fine again. I was using the 1.0 version of the .zst files. 1000074064 1000074069

uejji commented 2 months ago

This has been happening occasionally for me, too. I've been putting it off, but next time it happens for me I'll do some actual deep poking around to try to figure out exactly what might be failing, and it'll give me an idea of what information to ask from you for next time, too.

uejji commented 2 months ago
$ sudo lsmod | grep hid_asus_ally
hid_asus_ally          94208  0
led_class_multicolor    16384  2 hid_playstation,hid_asus_ally
ff_memless             20480  3 xpad,hid_playstation,hid_asus_ally
$ systemctl status inputplumber
● inputplumber.service - InputPlumber Service
     Loaded: loaded (/usr/lib/systemd/system/inputplumber.service; enabled; preset: disabled)
     Active: active (running) since Mon 2024-08-26 23:57:47 CDT; 2min 45s ago
   Main PID: 11735 (inputplumber)
      Tasks: 21 (limit: 13904)
     Memory: 6.1M (peak: 8.6M)
        CPU: 11.213s
     CGroup: /system.slice/inputplumber.service
             └─11735 /usr/bin/inputplumber

Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z INFO  inputplumber::input::manager] Found a matching evdev device evdev://event10, creating CompositeDevice
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z INFO  inputplumber::input::manager] Found matching source device for: "ASUS ROG Ally"
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z INFO  inputplumber::input::composite_device] Creating CompositeDevice with config: ASUS ROG Ally
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z INFO  inputplumber::input::composite_device] Started listening on /org/shadowblip/InputPlumber/CompositeDevice0
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z INFO  inputplumber::input::manager] Found missing device, adding source device iio://iio:device0 to existing composite device: /org/shadowblip/InputPlumber/CompositeDevice0
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z INFO  inputplumber::input::source::iio] Detected BMI IMU
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z WARN  inputplumber::input::manager] Unable to create UdevDevice from /dev/input/by-id to check initialization
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z WARN  inputplumber::input::manager] Unable to create UdevDevice from /dev/input/by-id to check initialization
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z ERROR inputplumber::input::manager] Failed to remove dbus interface /org/shadowblip/InputPlumber/devices/source/by-id: InterfaceNotFound
Aug 26 23:57:47 rogally inputplumber[11735]: [2024-08-27T04:57:47Z ERROR inputplumber::input::manager] Failed to remove dbus interface /org/shadowblip/InputPlumber/devices/source/by-id: InterfaceNotFound
$ sudo dmesg | grep asus_rog_ally | tail
[43168.826864] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed set report: -19
[43168.826866] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed get report: -19
[43168.830536] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally never responded with a ready
[43168.830542] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed set report: -19
[43168.830545] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed get report: -19
[43168.832552] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed set report: -19
[43168.832556] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed get report: -19
[43168.834562] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed set report: -19
[43168.834565] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally check failed get report: -19
[43168.836241] asus_rog_ally 0003:0B05:1ABE.0004: ROG Ally never responded with a ready

Definitely some interesting error messages coming from asus_rog_ally in dmesg. Definitely gives me something to chase.

dxsty98 commented 2 months ago

I'm not gonna pretend that I know what any of these do but I too ran those commands after the xbox elite driver died again. Hopefully they might be helpful for something

(deck@Dennis-Ally ~)$ sudo lsmod | grep hid_asus_ally
hid_asus_ally          94208  0
led_class_multicolor    16384  2 hid_playstation,hid_asus_ally
ff_memless             20480  3 xpad,hid_playstation,hid_asus_ally
(127)(deck@Dennis-Ally ~)$ systemctl status inputplumber
× inputplumber.service - InputPlumber Service
     Loaded: loaded (/usr/lib/systemd/system/inputplumber.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2024-08-27 21:28:10 CEST; 7min ago
   Duration: 44ms
   Main PID: 685 (code=exited, status=1/FAILURE)
        CPU: 29ms

Aug 27 21:28:10 Dennis-Ally inputplumber[685]: [2024-08-27T19:28:10Z INFO  inputplumber] Starting InputPlumber v0.34.5
Aug 27 21:28:10 Dennis-Ally inputplumber[685]: Error: InputOutput(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Aug 27 21:28:10 Dennis-Ally systemd[1]: Started InputPlumber Service.
Aug 27 21:28:10 Dennis-Ally systemd[1]: inputplumber.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 21:28:10 Dennis-Ally systemd[1]: inputplumber.service: Failed with result 'exit-code'.
(3)(deck@Dennis-Ally ~)$ sudo dmesg | grep asus_rog_ally | tail
[    5.563824] asus_rog_ally 0003:0B05:1ABE.0004: hidraw3: USB HID v1.10 Device [ASUSTeK Computer Inc. N-KEY Device] on usb-0000:09:00.3-3/input2
[    5.628459] asus_rog_ally 0003:0B05:1ABE.0004: Created Ally RGB LED controls.
[    5.817451] asus_rog_ally 0003:0B05:1ABE.0004: Created Ally gamepad attributes.
uejji commented 1 month ago

Closing as I am no longer the maintainer for ROG Ally.