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]
Message-ID: <20080523225714.3f0953f3@neptune.home>
Date:	Fri, 23 May 2008 22:57:14 +0200
From:	Bruno Prémont <bonbons@...ux-vserver.org>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc:	Linux Input <linux-input@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"R. J. Wysocki" <Rafal.Wysocki@....edu.pl>
Subject: Re: Input+S3: extra keycodes forgotten after suspend

On Fri, 23 May 2008 Dmitry Torokhov <dmitry.torokhov@...il.com> wrote:
> > Ah, ok, great.. I think we simply need to move dritek out of the
> > place where you put it in so it does not interfere with our efforts
> > to resume keyboard and mouse ;) I will see what I can do there..
> > 
> 
> So what about the patch below? Does it work for you?
> 
> Thanks!

Hi Dmitry,

Yes, this patch works for me (in combination with
http://lkml.org/lkml/2008/5/16/430 ), see attached boot+suspend&resume
log.

You will eventually note the following lines during resume process:
...
[  150.588965] /usr/src/linux-2.6.25.4-orig/drivers/input/serio/i8042.c: 60 -> i8042 (command) [15985]
[  150.588965] /usr/src/linux-2.6.25.4-orig/drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [15985]
[  150.588965] /usr/src/linux-2.6.25.4-orig/drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, 0, 0) [15985]
[  150.588965] atkbd.c: Unknown key pressed (translated set 2, code 0x0 on isa0060/serio0).
[  150.588965] atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
[  150.588965] /usr/src/linux-2.6.25.4-orig/drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [15985]
[  150.609410] /usr/src/linux-2.6.25.4-orig/drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [15987]
...

This '00' interrupt for key code 0x0 also happens when loading acerhk
module (on freshly booted system).
There are no visible side-effects to it.

Bruno
View attachment "input-suspend-debug11.log" of type "text/plain" (84548 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ