Linux Input/HID development
 help / color / mirror / Atom feed
* [BUG] xpad ZD Ultimate Legend (413d:2204) disconnects after last evdev close
@ 2026-12-02 23:36 Michael Wangenstein
  0 siblings, 0 replies; only message in thread
From: Michael Wangenstein @ 2026-12-02 23:36 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov

Hi Dmitry and linux-input folks,

I can reproduce a USB disconnect loop with a ZD Ultimate Legend 2.4 GHz 
receiver (413d:2204) in XInput mode on Arch Linux, kernel 7.3.6-arch1-2. 
Interface 00 binds to xpad. With the controller powered on and the 
receiver plugged in, the kernel sees the receiver disconnect after 4–5 
seconds and enumerate again about 10 seconds later. Steam being open 
stops the loop.

I tested the physical evdev joystick node with Steam closed and no other 
gamepad clients. These were two separate trials:

- I opened the node read-only and read events for 45 seconds. The USB 
address stayed the same throughout. Six seconds after I closed the file 
descriptor, the kernel logged a USB disconnect.
- I opened the same device read-only and left the descriptor open for 40 
seconds without reading any events. It stayed connected. Four seconds 
after close, the receiver disappeared from USB again.

The kernel logged “unable to receive magic message: -110” before a 
disconnect. While the receiver was present, its USB power/control was 
“on” and runtime_status was “active”. My current workaround is a user 
service that holds just this receiver’s evdev node open read-only.

Does this look like a case for a device-specific xpad quirk? If a USB 
trace comparing the last close with the keep-open case would help, which 
part of the sequence would be most useful to capture?

A related report for this model uses USB ID 045e:028e and describes 
missing wireless events. With my 413d:2204 receiver, events come through 
while the input device is open.
https://github.com/paroj/xpad/issues/350

Thanks,
Michael

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-02 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 23:36 [BUG] xpad ZD Ultimate Legend (413d:2204) disconnects after last evdev close Michael Wangenstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox