← Back to team overview

mactel-support team mailing list archive

[Bug 214786] Re: Apple USB ISO keyboard has incorrectly swapped keys

 

[This is an automated message.  Apologies if it has reached you
inappropriately.]

This bug was flagged as having a patch attached.  The Ubuntu Kernel
Team's preferred policy is for all patches to be submitted and accepted
into the upstream kernel before agreeing to merge them into the Ubuntu
kernel.  The goal for the Ubuntu kernel is to have little to no
divergence from the upstream linux kernel source.

https://wiki.ubuntu.com/KernelTeam/KernelPatches has been written to
document the suggested policy and procedures for helping get a patch
merged upstream and subsequently into the Ubuntu kernel.  Please take
the time to review that wiki if this patch should be considered for
inclusion into the upstream and Ubuntu kernel.  Let us know if you have
any questions or need any help via the Ubuntu Kernel Team mailing list.
Thanks in advance.

** Tags added: kj-comment

** Tags removed: cft-2.6.27

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