LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   [Keyboard Multimedia keys] Multiple scancodes mapped to same keycode (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/%5Bkeyboard-multimedia-keys%5D-multiple-scancodes-mapped-to-same-keycode-720369/)

Vhann 04-20-2009 04:51 AM

[Keyboard Multimedia keys] Multiple scancodes mapped to same keycode
 
Hi,

I'm currently having trouble with "Multimedia keys" on my Hewlett-Packard Pavilion dv6631ca: there are many keys which are mapped to 'Control_L' under X, others just won't give any keycode (xev) nor scancode (showkey -s). I guess I have to somehow remap scancodes
to keycodes in order to 'separate' the multiple keys being assigned to 'Control_L', but what can I do for keys that don't even give an answer
in 'showkey -s' ?

Nota: Please note I don't use KDE (plus I'd like to understand what I do, thank you for not referring me to KDE Control Center or such)

Here are some information that might be useful:
Distribution: Slackware 12.1
kernel version: 2.6.24.5-smp
$LANG=en_US

xorg.conf:
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca"

default keymap is /usr/share/kbd/keymaps/cf.map

Regards,
Vhann

Vhann 04-20-2009 11:28 PM

Ok, it seems only 1 or 2 keys don't report scancodes at all (but then they are respectively that key which is usually used to swap display when an external projector is connected to the VGA port of a laptop ( the icon looks like this: |[]|) and the other one I'm not even sure if it's a real key (it's a Windows logo on a remote controller).

And the few keys mapped to Control_L are 'Print' key, 'Fast Forward', 'Fast Backward', but then those send like 3 to 4 consecutive scancodes for 'Press Event' and 3 to 4 scancodes for 'Release Event'.

In short, it's very unlikely to be configuration-related. Problem solved I guess.

Regards,
Vhann


All times are GMT -5. The time now is 04:57 AM.