Re: Input+S3: extra keycodes forgotten after suspend

From: Dmitry Torokhov
Date: Wed May 21 2008 - 16:38:53 EST


On Wed, May 21, 2008 at 10:08:33PM +0200, Bruno Pr??mont wrote:
> Hi Dmitry,
>
> On Wed, 21 May 2008 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:
> > Hi Bruno,
> >
> > On Mon, May 19, 2008 at 06:45:01PM +0200, Bruno Pr??mont wrote:
> > > 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
> > >
> >
> > Question - does the problem happen if you dont have dritek extension
> > enabled (i.e. on unpatched kernel)?
>
> When running 2.6.25.4 without the two dritek patches it does not
> redetect the keyboard (but obviously the extra keys don't work at all)
>

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..

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/