[Bug 169242] New: Multimedia keys not recognized event though correct layout is selected (Dell Latitude series laptop)

MartinG gronslet at gmail.com
Sat Aug 16 15:47:35 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=169242         
           Summary: Multimedia keys not recognized event though correct
                    layout is selected (Dell Latitude series laptop)
           Product: systemsettings
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs kde org
        ReportedBy: gronslet gmail com


Version:            (using KDE 4.1.0)
Installed from:    Fedora RPMs
OS:                Linux

I was delighted to see that in KDE 4 systemsettings/Regional and language/keyboard layout, finally, Dell Latitude series was listed. But it doesn't seem to include the brightness keys (no printout when using "xev").
Also, the volume keys doesn't do anything, although they do produce events (in "xev"). Do I still have to manually make them report "XF86AudioRaiseVolume" etc?

Since Fedora Core 4, I have manually altered /etc/sysconfig/keyboard and /etc/X11/Xmodmap to make X recognize eg. my volume keys (see below).

I would be happy to extend or add a new keyboard layout that could be included in systemsettings if someone could tell me how. 

regards,
MartinG

-----------------------------------------

In “/etc/sysconfig/keyboard“, add the following: 
# The '122' doesn't seem to matter - another keycode will be assigned
# See also/usr/src/linux/include/linux/input.h
# Screen brightness keys: do nothing (prevent extraneous kernel logs)
/usr/bin/setkeycodes e005 122
/usr/bin/setkeycodes e006 122
# Battery key
/usr/bin/setkeycodes e007 122
# Wireless on/off key: do nothing (prevent extraneous kernel logs)
/usr/bin/setkeycodes e008 122
# Eject media key:
/usr/bin/setkeycodes e009 122
# Dell Latitude X1 "Fn-F1/Hibernate" button:
/usr/bin/setkeycodes e00a 123

In “/etc/X11/Xmodmap” add this: 
! See also /usr/lib/X11/XKeysymDB
! See also /etc/X11/xkb/symbols/inet
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 162 = XF86AudioPlay
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 164 = XF86AudioStop
! Stand by button Fn-ESC
!keycode xxx = XF86Sleep
! Hibernate button Fn-F1
!keycode 165 = F30
! Wireless button (Wi-Fi button) Fn-F2
keycode 172 = F32
! Battery button Fn-F3
!keycode 171 = F33
keycode 129 = F33
! CRT/LCD button Fn-F8
keycode 231 = XF86Video
! Eject button Fn-F10
keycode 173 = XF86Eject
! Increase Brightness Fn-UpArrow
keycode 168 = XF86BrightnessAdjust
! Decrease Brightness Fn-DownArrow
keycode 169 = XF86BrightnessAdjust

! Make the windows key work
! (works out of the box in FC6. No, not with Norwegian layout and nodeadkeys):
add mod4 = Super_L

The last line should also make the windows key (winkey) working.



More information about the Unassigned-bugs mailing list