← Back to team overview

mactel-support team mailing list archive

[Bug 201887] Re: Slim USB Apple Keyboard not working correctly..

 

After some digging around i think i finally found the commit where the issue is introduced:
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commitdiff;h=efb3031b446d441dca5b10619503ac0bba7f9748

With regard to the "fn" key problem I would think the following line should be changed to a default value of 2 (if Mario is right)
+++ b/drivers/hid/hid-input.c
+static int hid_apple_fnmode = 1;

With regard to the swapped "½" and "<" key it is seemingly done by purpose by this, since my keyboard is an ISO keyboard:
+++ b/drivers/hid/hid-input.c
+static struct hidinput_key_translation apple_iso_keyboard[] = {
        { KEY_GRAVE,    KEY_102ND },
        { KEY_102ND,    KEY_GRAVE },
I don't know the reason for this, but it is wrong for my keyboard with danish layout. Does anyone know why this is done?

With regard to the Num-lock problem as far is I can see it is due to
laptop and non-laptop keyboards treated equal. Erics patch above should
address this.

I am no kernel hacker but would love to try to tinker with the code.
Could anyone give me a pointer to how to compile a module as Eric has
done above?

Also shouldn't this bug be set to affect "linux (Ubuntu)"?

-- 
Slim USB Apple Keyboard not working correctly..
https://bugs.launchpad.net/bugs/201887
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 Ubuntu: Confirmed

Bug description:
I have the new Slim USB Apple Keyboard and in Hardy Heron (Alpha 6) when I first boot up the alphabet keys work perfectly, but once I type in the numpad or a number, nothing happens.  After nothing happens I'm not able to use my alpha keys, either..  When I type alphabet keys after trying a number the alphabet keys produce numbers like '4' and '3'..  And many of the keys don't do anything..


I have tried setting the keyboard up as default, and as an Apple keyboard by going to System > Prefs > Keyboard -- but nothing works.

If i then unplug the keyboard to reboot the keys usually work fine until I hit a number key or the keypad again.



Follow ups