Bug#270630: kernel-image-2.6.8-powerpc: iBook keyboard generates bad keyboard scancode for Menu key
Package: kernel-image-2.6.8-powerpc
Version: 2.6.8-4
Severity: minor
According to Apple documentation, pressing the fn-key plus the keypad
enter key on an iBook is supposed to generate a Menu scancode. But it
doesn't, and the keysym it generates exposes a bug in the X scancode to
keysym conversion.
Before the patch, it would generate 5b / db
After, it generates e0 5d / e0 dd and X recoginizes the keysym properly.
I had help on this from Gabriel Paubert <paubert@iram.es>.
--- drivers/macintosh/adbhid.c 2004-08-28 08:11:58.000000000 +0200
+++ drivers/macintosh/adbhid.c 2004-09-07 21:49:34.000000000 +0200
@@ -81,7 +81,7 @@
15, 57, 41, 14, 96, 1, 29,125, 42, 58, 56,105,106,108,103, 0,
0, 83, 0, 55, 0, 78, 0, 69, 0, 0, 0, 98, 96, 0, 74, 0,
0,117, 82, 79, 80, 81, 75, 76, 77, 71, 0, 72, 73,124, 89,121,
- 63, 64, 65, 61, 66, 67,123, 87,122, 99, 0, 70, 0, 68,101, 88,
+ 63, 64, 65, 61, 66, 67,123, 87,122, 99, 0, 70, 0, 68,127, 88,
0,119,110,102,104,111, 62,107, 60,109, 59, 54,100, 97,126,116
};
I imagine there aren't many ADB keyboards that have a Menu key. :)
I tried sending this upstream, but it seems there's a problem with the
list.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8
Locale: LANG=C, LC_CTYPE=C
Versions of packages kernel-image-2.6.8-powerpc depends on:
ii initrd-tools 0.1.74 tools to create initrd image for
p
ii module-init-tools 3.1-pre5-6 tools for managing Linux kernel
mo
-- no debconf information
Reply to: