All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] usb: usbhid: after -EPIPE from interrupt urb, input state is not resynced
@ 2022-08-13  2:27 Frank Mori Hess
  2022-08-13  2:31 ` Frank Mori Hess
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Mori Hess @ 2022-08-13  2:27 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires; +Cc: linux-usb

After an interrupt urb with status -EPIPE is seen in the completion
handler hid_irq_in, there is no  GetReport performed over the control
endpoint to compensate for potentially lost interrupt urbs.  So the
state of my keyboard does not get synced up with Linux until the next
interrupt urb is sent (when I next press or release a key).  So for
example, Linux can think I am holding down a key when no key is being
pressed, due to missing a report of the key release.

-- 
Frank

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-13  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-13  2:27 [BUG] usb: usbhid: after -EPIPE from interrupt urb, input state is not resynced Frank Mori Hess
2022-08-13  2:31 ` Frank Mori Hess
2022-08-13  7:14   ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.