* [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
* Re: [BUG] usb: usbhid: after -EPIPE from interrupt urb, input state is not resynced
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
0 siblings, 1 reply; 3+ messages in thread
From: Frank Mori Hess @ 2022-08-13 2:31 UTC (permalink / raw)
To: Jiri Kosina, Benjamin Tissoires; +Cc: linux-usb
On Fri, Aug 12, 2022 at 10:27 PM Frank Mori Hess <fmh6jj@gmail.com> wrote:
>
> 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.
Oh, and I should mention I'm using an old kernel 5.4.13, actually not
sure if new kernels behave differently.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] usb: usbhid: after -EPIPE from interrupt urb, input state is not resynced
2022-08-13 2:31 ` Frank Mori Hess
@ 2022-08-13 7:14 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2022-08-13 7:14 UTC (permalink / raw)
To: Frank Mori Hess; +Cc: Jiri Kosina, Benjamin Tissoires, linux-usb
On Fri, Aug 12, 2022 at 10:31:53PM -0400, Frank Mori Hess wrote:
> On Fri, Aug 12, 2022 at 10:27 PM Frank Mori Hess <fmh6jj@gmail.com> wrote:
> >
> > 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.
>
> Oh, and I should mention I'm using an old kernel 5.4.13, actually not
> sure if new kernels behave differently.
Please try something more modern, the 5.4 kernel was from 2019.
thanks,
greg k-h
^ 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.