From: Alan Stern <stern@rowland.harvard.edu>
To: Oliver Neukum <oneukum@suse.com>
Cc: Liam Mitchell <mitchell.liam@gmail.com>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
linux-usb@vger.kernel.org, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usbhid: tolerate intermittent errors
Date: Mon, 9 Feb 2026 09:47:29 -0500 [thread overview]
Message-ID: <d1cbfe87-5097-4630-b848-4575ebcf3b09@rowland.harvard.edu> (raw)
In-Reply-To: <a31763aa-77af-4e13-8708-b007ed53277c@suse.com>
On Mon, Feb 09, 2026 at 11:06:03AM +0100, Oliver Neukum wrote:
> On 08.02.26 18:10, Liam Mitchell wrote:
> > Modifies the usbhid error handling logic to better handle intermittent
> > errors like EPROTO, which should only need resubmission of URBs and not
> > full device reset.
> >
> > Reduces initial retry delay from 13ms to 1ms. The faster the URB is
> > resubmitted, the lower the chance that user events will be missed.
>
> Hi,
>
> in this case I have to ask the obvious question: Why wait at all?
Because of the possibility that the error was caused by transient
interference that might not go away immediately.
> It would seem to me that if you have spurious or intermittent errors
> the right time to retry is immediately.
It depends on the cause of the errors. In any case, a short delay, such
as 1 ms, should not make much difference.
Alan Stern
prev parent reply other threads:[~2026-02-09 14:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-08 17:10 Liam Mitchell
2026-02-09 10:06 ` Oliver Neukum
2026-02-09 10:49 ` Liam Mitchell
2026-02-09 14:47 ` Alan Stern [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d1cbfe87-5097-4630-b848-4575ebcf3b09@rowland.harvard.edu \
--to=stern@rowland.harvard.edu \
--cc=bentiss@kernel.org \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mitchell.liam@gmail.com \
--cc=oneukum@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®