Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510778

Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in

From "Simon Wood" <simon@mungewell.org>
Newsgroups linux.kernel
Subject Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in
Date 2016-10-28 01:40 +0200
Message-ID <sx2r8-9r-23@gated-at.bofh.it> (permalink)
References <swlFw-5fA-5@gated-at.bofh.it> <swqYy-t9-19@gated-at.bofh.it> <swzSa-6Mc-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, October 26, 2016 11:00 am, Dmitry Torokhov wrote:
>
> Yeah, if device happens to be plugged at boot time it will wait that
> long before even getting to mount rootfs if driver is built into the
> kernel.

Not a case I had considered... that would probably be bad. I'll look at
coding up a work queue as Elias had suggested.

>
> This is also interesting way to say "msleep(8000)".

I'm a copy/paste guy, this was from the delay we have in hid-lg.c probe,
if one way or another is better I'll use that,
Simon

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after  plug-in "Simon Wood" <simon@mungewell.org> - 2016-10-28 01:40 +0200

csiph-web