* PC keyboard unknown scancodes (Power, Sleep, Wake)
@ 2001-08-11 18:51 Marek Michalkiewicz
2001-08-11 21:36 ` Guest section DW
0 siblings, 1 reply; 4+ messages in thread
From: Marek Michalkiewicz @ 2001-08-11 18:51 UTC (permalink / raw)
To: linux-kernel
Hi,
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...
Thanks,
Marek
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PC keyboard unknown scancodes (Power, Sleep, Wake)
2001-08-11 18:51 PC keyboard unknown scancodes (Power, Sleep, Wake) Marek Michalkiewicz
@ 2001-08-11 21:36 ` Guest section DW
0 siblings, 0 replies; 4+ messages in thread
From: Guest section DW @ 2001-08-11 21:36 UTC (permalink / raw)
To: Marek Michalkiewicz, linux-kernel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PC keyboard unknown scancodes (Power, Sleep, Wake)
2001-08-12 7:21 Andrzej Krzysztofowicz
@ 2001-08-12 13:26 ` Guest section DW
0 siblings, 0 replies; 4+ messages in thread
From: Guest section DW @ 2001-08-12 13:26 UTC (permalink / raw)
To: Andrzej Krzysztofowicz; +Cc: marekm, kernel list
On Sun, Aug 12, 2001 at 09:21:02AM +0200, Andrzej Krzysztofowicz wrote:
> > 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
> >
> > 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 ?
Maybe you are using console-tools instead of kbd?
Check with strace that it does the KDSETKEYCODE ioctl.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PC keyboard unknown scancodes (Power, Sleep, Wake)
@ 2001-08-12 7:21 Andrzej Krzysztofowicz
2001-08-12 13:26 ` Guest section DW
0 siblings, 1 reply; 4+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-08-12 7:21 UTC (permalink / raw)
To: dwguest; +Cc: marekm, kernel list
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-08-12 13:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-11 18:51 PC keyboard unknown scancodes (Power, Sleep, Wake) Marek Michalkiewicz
2001-08-11 21:36 ` Guest section DW
2001-08-12 7:21 Andrzej Krzysztofowicz
2001-08-12 13:26 ` Guest section DW
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®