All of lore.kernel.org
 help / color / mirror / Atom feed
* Multimedia Keyboard (no scancodes?)
@ 2004-02-06 23:34 Marco Gulino
  2004-02-07  0:57 ` Andries Brouwer
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Gulino @ 2004-02-06 23:34 UTC (permalink / raw)
  To: linux-kernel

Hi all,
 Where i was using the 2.4.x kernel my multimedia keyboard was sending the
 special keys to usermode apps, allowing to control them and assign some
 functions.
 Now i'm on 2.6.2 and some of these keys are not working... no scancode,
 nothing, either looking with dmesg or xev.
 It's like the kernel is "filtering" the unknown scancodes and delete them.
 Ideas?
 Thanks anyway.
 p.s.: the 2.4 kernel i was using was a standard bareacpi.i from SlackWare
 9.1, while the config for 2.6 was strongly edited. However i didn't see any
 option for keyboards, so i don't think it's a config fault.
 p.p.s.: sorry for bad english :P

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multimedia Keyboard (no scancodes?)
  2004-02-06 23:34 Multimedia Keyboard (no scancodes?) Marco Gulino
@ 2004-02-07  0:57 ` Andries Brouwer
  0 siblings, 0 replies; 2+ messages in thread
From: Andries Brouwer @ 2004-02-07  0:57 UTC (permalink / raw)
  To: Marco Gulino; +Cc: linux-kernel

On Sat, Feb 07, 2004 at 12:34:16AM +0100, Marco Gulino wrote:

>  Where i was using the 2.4.x kernel my multimedia keyboard was sending the
>  special keys to usermode apps, allowing to control them and assign some
>  functions.
>  Now i'm on 2.6.2 and some of these keys are not working... no scancode,
>  nothing, either looking with dmesg or xev.
>  It's like the kernel is "filtering" the unknown scancodes and delete them.

Yes, unfortunately we lost raw scancode mode.
The kernel first tries to translate scancodes to keycodes,
and then, if you ask for scancodes, tries to translate back.
The first translation will fail when the table entry is undefined.
Now you'll see "atkbd.c: Unknown key ..." in the syslog.
The second translation may fail because the correspondence is not 1-1.

You can try to use setkeycodes (say, from kbd-1.12) to solve
the problem of undefined entries.

Andries

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-07  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-06 23:34 Multimedia Keyboard (no scancodes?) Marco Gulino
2004-02-07  0:57 ` Andries Brouwer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.