HID: allow disabling hard-coded ISO-layout for Apple keyboards
authorStefan Glasenhardt <stefan@glasen-hardt.de>
Tue, 5 Jan 2010 22:30:30 +0000 (23:30 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 6 Jan 2010 10:21:37 +0000 (11:21 +0100)
commit54a6593d65e638ad7e1e8cc986159d76054dab4b
treed26cb72a7ba89dbeab7d9df9d530dad03ed52e06
parent722612cd51cf1b574c89dff57cc5dbedf1f645bb
HID: allow disabling hard-coded ISO-layout for Apple keyboards

This patch adds a new option named "iso_layout" to the driver
"hid-apple.ko", to allow disabling of the hard-coded ISO-layout.

Disabling the hard-coded layout solves the problem that the kernel-module only
works perfectly for the english/american version of the Apple aluminum
keyboard. Other versions have swapped keys, e.g. the "<"-key  is swapped with
"^"-key on the german keyboard. There is a very long bug-entry on Launchpad to
this problem:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/214786

Signed-off-by: Stefan Glasenhardt <stefan@glasen-hardt.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c