Denis Barbier <barbier@linuxfr.org> writes: > On Fri, Jul 21, 2006 at 06:49:38PM +0100, Roger Leigh wrote: >> Package: xkb-data >> Version: 0.8-6 >> Severity: normal >> >> I am using an Apple USB keyboard (United Kingdom version). >> >> With the following in xorg.conf: >> >> Section "InputDevice" >> Identifier "Generic Keyboard" >> Driver "kbd" >> Option "CoreKeyboard" >> Option "XkbRules" "xorg" >> Option "XkbModel" "pc105" >> Option "XkbLayout" "gb" >> # Option "XkbOptions" "altwin:meta_win" >> EndSection >> >> The keyboard works, including all the alphanumeric keys, but the >> punctuation is wrong. This is because although the keycodes are the >> same as a standard pc105 keyboard, the engraving on the keytops is >> different. >> >> With this in xorg.conf: >> >> Section "InputDevice" >> Identifier "Generic Keyboard" >> Driver "kbd" >> Option "CoreKeyboard" >> Option "XkbRules" "xorg" >> Option "XkbModel" "macintosh" >> Option "XkbLayout" "gb" >> # Option "XkbOptions" "altwin:meta_win" >> EndSection >> >> The keyboard is quite broken. None of the alphabet keys work, and half >> of the punctuation keys are broken. The numeric keys do work. Since >> the keyboard is a macintosh keyboard (not ADB, though), this looks like >> the correct configuration. >> >> I saw this some time ago, but it was fixed. This behaviour appeared >> again today, possibly due to the recent xkb-data upload. > > Hmmm, maybe you hacked your files as described in #363525, I am afraid > that this bug never got fixed. I think that was the case (I thought that bug was closed). They are the same bug in that case; sorry for reporting it twice. > I just checked in a possible fix in SVN, > but I am now away for some time and cannot test it. Can you please try > XkbModel "macintosh" and copy > http://people.debian.org/~barbier/tmp/gb > into /usr/share/X11/xkb/symbols/macintosh_vndr/gb > If it works, feel free to ask any XSF member to upload xkb-data from > SVN. This does fix the alphabet keys, thanks! I'm sorry, but I don't have time to ask for it to be uploaded--I'm just getting ready to set off on holiday for a few days. Some of the punctuation keys are still wrong: Observed Expected Key Location Keycode -------- -------- ------------------------------------------------- ------- ` § Top left, left of '1' 49 ¬ ± Top left, left of '1' (shifted) 49 " @ '2' shifted 11 @ " ''' shifted 48 # \ Immediately left of Enter, right of ''' 51 ~ | Immediately left of Enter, right of ''' (shifted) 51 \ ` Left of 'Z' 94 | ~ Left of 'Z' (shifted) 94 I don't know if this layout difference is UK-specific, or found on other Apple USB keyboards. The following "multimedia" keys are also found on the keyboard, but do not work: Keycode Action ------- --------------- 174 Decrease volume 176 Increase volume 169 Mute volume 204 Eject CD-ROM I got the keycodes with xev--I hope that's OK. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please sign and encrypt your mail.
Attachment:
pgpwiiXNeZvKp.pgp
Description: PGP signature