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" ) .

2 comments:

mescon said...

Thanks a bunch.
I had the same problem.
Your patch made it all work like a charm!

http://linux.yes.nu/diNovo/ also helped a bit :)

Cheers!

// Erik

JulianMejia said...

Hello Danny

Thank so much for this information. the main keys of my keyboard are now working.

I have not response from media keys yet nor a functional BT hub.

Could be a great idea if you show us how this is done with a little video?. I'm starting with Linux and I had problems figuring out what a root user is.
thank's again!