lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c91b066b6d35a18c149ec18f28a863b1.squirrel@mungewell.org>
Date:   Thu, 27 Oct 2016 17:30:38 -0600
From:   "Simon Wood" <simon@...gewell.org>
To:     "Dmitry Torokhov" <dmitry.torokhov@...il.com>
Cc:     "Michal MalĂ˝" <madcatxster@...il.com>,
        "Simon Wood" <gitsend@...gewell.org>,
        "linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
        "lkml" <linux-kernel@...r.kernel.org>,
        "Jiri Kosina" <jkosina@...e.cz>, "Edwin Velds" <edwin@...ds.nl>,
        "Elias Vanderstuyft" <elias.vds@...il.com>,
        "Simon Wood" <simon@...gewell.org>
Subject: Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after
 plug-in

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ