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


Groups > linux.kernel > #1510778 > unrolled thread

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

Started by"Simon Wood" <simon@mungewell.org>
First post2016-10-28 01:40 +0200
Last post2016-10-28 01:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

From"Simon Wood" <simon@mungewell.org>
Date2016-10-28 01:40 +0200
SubjectRe: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in
Message-ID<sx2r8-9r-23@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web