mactel-support team mailing list archive
-
mactel-support team
-
Mailing list archive
-
Message #02628
[Bug 214786] Re: Apple USB ISO keyboard has incorrectly swapped keys
I'm seeing the greater/lesser key swapped with the circumflex/degree key
on my German USB Apple Aluminium Keyboard (ID 05ac:0221 Apple, Inc.
Keyboard (Aluminium) (ISO)) connected to a MacBookPro5,3 on Ubuntu
10.04, 2.6.32-24.42-generic-pae 2.6.32.15+drm33.5. The internal keyboard
works as expected. The suggested workaround:
xmodmap -e 'keycode 49 = less greater less greater bar brokenbar bar' -e
'keycode 94 = dead_circumflex degree dead_circumflex degree U2032 U2033
U2032'
works, but after that, the keys on the internal keyboard are swapped
while the external keyboard is working as expected.
--
Apple USB ISO keyboard has incorrectly swapped keys
https://bugs.launchpad.net/bugs/214786
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.
Status in Mactel Support: New
Status in “linux” package in Ubuntu: Triaged
Bug description:
Since upgrading kernel to version 2.6.24-12.22 two keys are now swapped on my Apple USB aluminium keyboard with danish layout. Now the keys "<" and "½" are swapped and no longer matches the actual print on the keycaps.
The error is isolated to the following commit: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commitdiff;h=efb3031b446d441dca5b10619503ac0bba7f9748
This commit introduced a key swapping for all "ISO" type Apple keyboards. In my case this swapping is incorrect, and generally it seems like a very bad idea to perform hard coded locale specific key mapping in kernel space as this is also done several places in user space.
The included patch reverts the behavior to the default that matches the keycap printing.