You are not logged in.

#1 2009-04-15 00:01:34

JT
Member
Registered: 2009-01-16
Posts: 21

[SOLVED] Lost keycodes with Xorg update

Hello all,

After the latest update, my media keys stopped working. Previously, I had to use the keycodes to assign the keys to new symbols. Now I'm not even offered the keycodes.

Prior to the updates, the keycodes and the keys were:

162 Play/Pause
153 Next
144 Previous
174 Audio volume down
176 Audio volume up
160 Audio mute
161 Show media player
223 Sleep/Hibernate

Currently, the only xev output I receive (for any media key) is:

FocusOut event, serial 33, synthetic NO, window 0x3400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 33, synthetic NO, window 0x3400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   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

Will I have to search for a scancode or is it a xorg.conf/hal fix?


FIXED:

Set keyboard model to "latitude" in /etc/X11/xorg.conf:

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "latitude"
    Option "XkbLayout" "us"
EndSection

Keys are recognized by Xorg once again!

Last edited by JT (2009-04-17 01:14:28)

Offline

Board footer

Powered by FluxBB