Sunday, September 03, 2006

Logitech DiNovo Keyboard

Since some weeks I use this really nice Logitech DiNovo Bluetooth ultra-flat keyboard. But the keyboard is unfortunately not listed in the KDE Control Center (under Regional & Accessibility --> Keyboard Layout). Hence I patched the keyboard layout into the X files.

I must say it's really a pain to do this. As first you need to run /usr/X11R6/bin/xev to get the keycodes of the extra (multimedia) keys, but unfortunately the keycodes are not the same codes as X use in /etc/X11/xkb/symbols/inet. You need to search each code in /etc/X11/xkb/keycodes/xfree86 to find the correspondent XFree86 code. Why the hell can't xev display also the matching XFree86 codes?

As next you need to patch 4 files to get the keyboard running. Why 4 different files? This should be also possible with only one file! If you have this keyboard you can download the diff of my changes from here (simply download the file and do this as root user in '/': "patch -p0 < /tmp/keyboard_Logitech_DiNovo.diff" ) .