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:	Mon, 19 May 2008 18:45:01 +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

Hi Dmitry,

Please find attached dmesg output.

The suspend process looked somewhat like the following:
- quick test of 
    echo 1 > /sys/modules/i8042/parameters/debug
  and disabled it again
    echo 0 > /sys/modules/i8042/parameters/debug
- exit X and rmmod usb-storage and a few other modules
  (nfs, xfs and the like).
- checked the extra keys (showkey) and enabled debug again
- echo mem > /sys/power/state

Wait half a minute with laptop in S3

- hit enter to resume
- wait a bit, as it takes too long help out with short
  presses on power button (somehow it helps the HDD/CDROM
  to resume), also pressed caps-lock when graphics were
  resumed and cursor blinking (very slowly)
- once userspace was awake again check extra keys with
  showkeys
- disabled input debug

I hope this is detailed enough.

List of patches applied to linux-2.6.25.4:
  http://lkml.org/lkml/2008/5/16/430
  http://lkml.org/lkml/2008/5/16/429
  squashfs


Bruno

On Mon, 19 May 2008 Dmitry Torokhov <dmitry.torokhov@...il.com> wrote:
> Hi Bruno,
> 
> On Fri, May 16, 2008 at 11:00:04PM +0200, Bruno Pr?mont wrote:
> > [  252.668456] PM: Finishing wakeup.
> > [  252.668456] Restarting tasks ... done.
> > [  252.745418] input: AT Translated Set 2 keyboard
> > as /devices/platform/i8042/serio0/input/input7
> 
> Ok, so for some reason it could not resume and here it re-detected the
> keyboard creating the new input device thus resetting the keymap. The
> question is why it had to re-detect. Could you please do
> 
> 	echo 1 > /sys/modules/i8042/parameters/debug
> 
> before suspending and send me full dmesg please?
> 
View attachment "input-suspend-debug.log" of type "text/plain" (108209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ