Package: xorg Followup-For: Bug #372909 I have a Cherry CyMotion Master Linux too for quite some time, and I've (had to) set up the kernel and X keycodes myself. I'm using the xorg server on Debian unstable.
The first problem is that the kernel doesn't recognise the keycodes; that's why you need the setkeycodes line in your startup scripts. Otherwise the keys won't be recognised at a kernel level, as I understand it. I checked the included drivers from Cherry to see how they did it. (You seem to have solved this already, but let me mention it again for the sake of internet search engines). Here is a script (/etc/init.d/setkeycodes) to add the keycodes to the kernel: #!/bin/sh # # -wvh- add keycodes to linux kernel from the extra keys on a Cherry CyMotion Master Linux # echo -n "Setting up multimedia scan codes... " /usr/bin/setkeycodes e065 136 e070 161 e032 172 e05f 143 e063 145 e06d 171 e00b 177 e012 178 e017 137 e00a 135 e018 133 e071 148 e02c 149 e072 202 e007 129 e008 131 e05b 200 if [ $? -eq 0 ]; then echo done. else echo failed! fi exit $? The second problem regarding the keycodes in X, well, when I bought my keyboard, there was no X definition at all. It was added some releases ago, and has been improved a few times. Now it's almost the same as the one I wrote -- I still use mine though, as some keys might don't work right in the definition that's currently in Xorg. (Note that the bindings in Gnome and KDE have to be right too, ofcourse.) // key <I22> { [ XF86AudioPlay, XF86AudioPause ] }; partial alphanumeric_keys xkb_symbols "cherrycymoli" { key <K75> { [ XF86ScrollUp ] }; key <I0F> { [ XF86ScrollDown ] }; key <I3C> { [ XF86Cut ] }; key <K65> { [ XF86Copy ] }; key <I78> { [ XF86Paste ] }; key <I1F> { [ XF86Launch1 ] }; key <I17> { [ XF86Launch2 ] }; key <I2B> { [ XF86Launch3 ] }; key <I05> { [ Redo ] }; key <I07> { [ Undo ] }; key <I6A> { [ XF86Back ] }; key <I69> { [ XF86Forward ] }; key <I68> { [ XF86Stop ] }; key <I67> { [ XF86Reload ] }; key <FK17> { [ XF86Search ] }; key <I22> { [ XF86AudioPlay ] }; key <I24> { [ XF86AudioStop ] }; key <I10> { [ XF86AudioPrev ] }; key <I19> { [ XF86AudioNext ] }; key <K6C> { [ XF86Eject ] }; key <I21> { [ XF86Calculator ] }; key <I6C> { [ XF86Mail ] }; key <I02> { [ XF86MyComputer, XF86HomePage ] }; key <K68> { [ XF86Standby, XF86WakeUp ] }; key <I63> { [ XF86LogOff, XF86PowerOff ] }; key <I2E> { [ XF86AudioLowerVolume ] }; key <I30> { [ XF86AudioRaiseVolume ] }; key <I20> { [ XF86AudioMute ] }; key <I01> { [ XF86AudioMedia ] }; key <I28> { [ Super_L ] }; key <RWIN> { [ at ] }; }; PS: My keyboard has what Cherry calls a QWERTY Dutch/EU International layout. Keycodes for other layouts might be a bit different, I wouldn't know. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17 Locale: LANG=C, LC_CTYPE=en_GB.utf-8 (charmap=UTF-8) Versions of packages xorg depends on: ii gnome-terminal [x-terminal-em 2.14.2-1 The GNOME 2 terminal emulator appl ii konsole [x-terminal-emulator] 4:3.5.4-2 X terminal emulator for KDE ii libgl1-mesa-dri 6.4.2-1.1 A free implementation of the OpenG ii libgl1-mesa-glx [libgl1-mesa- 6.4.2-1.1 A free implementation of the OpenG ii libglu1-mesa 6.4.2-1.1 The OpenGL utility library (GLU) ii xbase-clients 1:7.1.ds-3 miscellaneous X clients ii xfonts-100dpi 1:1.0.0-2 100 dpi fonts for X ii xfonts-75dpi 1:1.0.0-2 100 dpi fonts for X ii xfonts-base 1:1.0.0-3 standard fonts for X ii xfonts-scalable 1:1.0.0-4 scalable fonts for X ii xkb-data 0.8-7 X Keyboard Extension (XKB) configu ii xserver-xorg 1:7.0.23 the X.Org X server ii xterm [x-terminal-emulator] 210-3 X terminal emulator ii xutils 1:7.1.ds-1 X Window System utility programs xorg recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]