Re: PC keyboard unknown scancodes (Power, Sleep, Wake)

Andrzej Krzysztofowicz (ankry@green.mif.pg.gda.pl)
Sun, 12 Aug 2001 09:21:02 +0200 (CEST)


> On Sat, Aug 11, 2001 at 08:51:46PM +0200, Marek Michalkiewicz wrote:
>
> > these three keys (on a cheap no-name "Designed for Win*" keyboard ;)
> > produce "unknown scancode" kernel messages when pressed or released.
> >
> > Power - e0 5e
> > Sleep - e0 5f
> > Wake - e0 63
> >
> > I'd suggest adding support for them to linux/drivers/char/pc_keyb.c
> > but I'm not sure who maintains this file, so reporting this here...
>
> You can use the setkeycodes command to tell the kernel about them.

It doesn't seem to fix the problem:

# dmesg -c
# setkeycodes e05f 127
# setkeycodes e05e 127
# dmesg -c
[ pressing some keys here ]
# dmesg -c
keyboard: unknown scancode e0 5e
keyboard: unknown scancode e0 5e
keyboard: unknown scancode e0 5f
keyboard: unknown scancode e0 5f

Am I doing something wrong ?

Andrzej

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/