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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 Oct 2009 19:24:16 +0200
From:	Éric Piel <eric.piel@...mplin-utc.net>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc:	Greg KH <gregkh@...e.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>
Subject: Re: [REGRESSION] "bind" a device to a driver doesn't not work anymore

Op 14-10-09 04:05, Dmitry Torokhov schreef:
> On Tue, Oct 13, 2009 at 11:52:19AM +0200, Éric Piel wrote:
>>> Could you please try and let me know if unloading at suspend and
>>> reloading after resume atkbd and/or psmouse drivers and leaving i8042
>>> alone "fixes" the issue?
>>>
>> Unloading the modules before suspend and reloading them after works
>> around the issue, indeed.
>>
> 
> Do both of them need to be reloaded? Or only one (my guess psmouse) is
> enough. Hmm, this is HP laptop so it most likely has Synaptics touchpad.
> I wonder what happens if you force it to bare PS/2 protocol (or maybe
> Intellimouse)... Try adding "option psmouse proto=imps" and
> "option psmouse proto=bare" and suspend/resume.
Sorry for taking some time to answer back. The keyboard fails to come
back only on the first suspend-resume (the next suspends, the keyboard
comes back fine). So I need to reboot the computer for every single test.

So far, what I can tell is that once the keyboard is not working
anymore, just unloading and reloading atkbd fixes the problem. Attached
is a dmesg log from just before supsending to after resume. The keyboard
doesn't work anymore but the touchpad do. The lines at the very end of
the log correspond to keypresses: although the keyboard doesn't work,
there are still 3 interrupt per keypress generated:

drivers/input/serio/i8042.c: 1c <- i8042 (interrupt, 0, 1) [320670]
drivers/input/serio/i8042.c: f0 <- i8042 (interrupt, 0, 1) [320751]
drivers/input/serio/i8042.c: 1c <- i8042 (interrupt, 0, 1) [320753]

That's all the date for now. I'll test your questions about psmouse
later on, and report back.

See you,
Eric

View attachment "i8042-suspend-reset-still-lost-keyboard.dmesg" of type "text/plain" (125150 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ