[dev] Multimedia keys doesn't send proper keycodes

From: Alexander Tanyukevich <atanyukevich_AT_gmail.com>
Date: Tue, 17 Apr 2012 15:52:31 +0200

Hi.
I have a problem with keyboard and X configuration and I know that
it's not proper mailing list, but I have no idea howto google it or
something like that:

I wanted to bind my XF86AudioLowerVolume XF86AudioRaiseVolume
XF86AudioMute buttons. Bu I was surprised, when I saw that xev, is not
able to understand those buttons. xev output:

f.e.mute button under dwm:

MappingNotify event, serial 27, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

FocusOut event, serial 27, synthetic NO, window 0x1200001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 27, synthetic NO, window 0x1200001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 27, synthetic NO, window 0x1200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 27, synthetic NO, window 0x0,
    keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
           0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0



Under KDE I can see:

KeyRelease event, serial 37, synthetic NO, window 0x5a00001,
    root 0x12e, subw 0x0, time 122225930, (-318,245), root:(2338,263),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False


setxkbmap shows the same layout for both.

setxkbmap -v
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+pl+ru(phonetic):2+inet(evdev)+group(alt_shift_toggle)+ctrl(nocaps)+terminate(ctrl_alt_bksp)
geometry: dell(latitude)


I've tried to bind keycodes from KDE with xmodmap without success.

Any Ideas, or hints where and what I should search for ?


Thank you for help.

-- 
Alexander Tanyukevich
atanyukevich_AT_gmail.com
Received on Tue Apr 17 2012 - 15:52:31 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 17 2012 - 16:00:07 CEST