Re: Linux keyboard support, Logitech Access Keyboard, Multimedia keys



Hi NG!

Test: Using kernel 2.6.17 (edgy eft)
The Messenger/SMS and Webcamera keys
cause messages from atkbd.c (like the
others). They are not mapped there
and produce the keycodes 0e 11 and
0e 12. So there is some advance.

Test: Removing the "USB to PS/2"
adaptor. Now the keyboard cable from
the receiver station is plugged
directly into an USB port.
Result: SUSE 9.2 now acts like
the keys were left and right mouse buttons!
I can left-click with "Messenger/SMS"
and right-click with "Webcamera"!

I'll guess the Messenger/SMS and
Webcamera keys not working is simply
a bug in the older kernel 2.6.11
from SUSE 9.2.

The problem of unknown scancodes remains.
"loadkeys" and "setkeycodes" could be
part of the solution. SUSE 9.2 comes with a
default mapping (scancodes -> kernel keycodes)
only. There is obviously no infrastructure
to select an appropriate one according
to the used keyboard.

The mapping of kernel keycodes to X keycodes,
however, can be modified at various places.
This is fine but doesn't help as there are
no kernel keycodes emitted for the problematic
keys. This raises my previous question again:

Question 3: Is it correct that there are not
enough keycodes for all scancodes? Since scancodes
can be multiple bytes long the 256 (or 512?)
keycodes are probably not enough.

If so, linux would lack some infrastructure here
to select between keyboards...

RU,
Andreas

.



Relevant Pages

  • Change in keycodes generated by the keyboard
    ... I use to update the kernel as ... When I was given the keyboard I started to make it work under my linux, ... keycodes or at least I tried to learn them. ... certain array used to convert from keycodes to scancodes. ...
    (Linux-Kernel)
  • Re: [linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards
    ... It changes the keycode the kernel is sending for three keys. ... keyboards there is usually no argument to which keycode to send. ... sends the keycodes KEY_OK, KEY_TV and KEY_DVD. ...
    (Linux-Kernel)
  • Re: Change in keycodes generated by the keyboard
    ... I use to update the kernel as ... > frequently as I can and one day I noticed that these extra keys didn't work ... > When I was given the keyboard I started to make it work under my linux, ... keycodes or at least I tried to learn them. ...
    (Linux-Kernel)
  • Re: 2.6.0-test5 vs. Japanese keyboards [3]
    ... > the rest fits problemless into 0..255. ... 'cannot be used' by the kernel, ... > and later worry about whether we really need lots of keycodes. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Changing high kernel keycodes
    ... Some of the keys on my USB-HID keyboard generate scancodes which are ... bound to big keycodes in `drivers/hid/hid-input.c` and ... without editing `input.h` and recompiling the ... kernel snapshot. ...
    (Linux-Kernel)