Apple wired mini Aluminium keyboard not recognized

Bug #339382 reported by Steven Pigeon
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by Luke Hoersten
Nominated for Jaunty by Luke Hoersten

Bug Description

The new device with USB id 05ac:021d ( Apple Computer, Inc. , new wired mini keyboard) is not detected as an Apple keyboard and accordingly behaves incorrectly (it behaves as a PC-105 keyboard, which is not the default behavior for an Apple keyboard, in particular, it does not recognize the fn key which is quite essential for this keyboard: it disables pgup/pgdn/home/end which are only accessible through a fn+key combination).

Also, the embedded hub with USB ID 05ac:1005 is not identified as a USB hub (although it works properly)

Revision history for this message
Austin Lund (austin-lund) wrote :

What version of Ubuntu are you using?

Revision history for this message
Steven Pigeon (steven-pigeon) wrote : Re: [Bug 339382] Re: Apple wired mini Aluminium keyboard not recognized

Austin Lund wrote:
> What version of Ubuntu are you using?
>
> ** Changed in: linux (Ubuntu)
> Sourcepackagename: None => linux
>
>
8.04.1 lts

Revision history for this message
Steven Pigeon (steven-pigeon) wrote :

8.04 LTS

Revision history for this message
Olli Helenius (liff) wrote :

This has been fixed in Linus' latest tree. The patch applies nicely to latest Jaunty kernel and fixes the problem.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=fef3f571ecc2a82395c531d97b3f71a59e04e946

Revision history for this message
Steven Pigeon (steven-pigeon) wrote :

Keys from F1 to F10 map to XF86 "media keys" (such as XF86AudioPause, etc.) with expected behavior (with pb_fnmode=1) that key alone yields the Apple / XF86media keys, and fn+key yields the F1...F10 keys.

But F11 and F12 remain F11 and F12 regardless of whether or not you press fn ... they are not XF86AudioVolumeDn or XF86AudioVolumeUp.

Except from that, the patch works correctly, fn+arrows yields home, end, pgup, pgdn, fn+delete yields the forward delete.

At least the patch leaves the keyboard (quasi-)fully functional. Great Job Ryan && Jiri !

Revision history for this message
Steven Pigeon (steven-pigeon) wrote :

I have done some further testing:

I will use F1 to F12 but I really mean the non-F keys that
bear icons such as "previous track", "play/pause", etc.

F1 and F2 both map to the same XF86BrightnessAdjust
F3 maps to XF86AudioMute
F4 maps to XF86AudioLowerVolume
F5 maps to XF86AudioRaiseVolume
F6 doesn't seems to be recognized at all.
F7 maps to XF86Display
F8 maps to 0xd7
F9 maps to 0xd8
F10 maps to 0xd9
F11 and F12 maps to (the PC-105 style) F11 and F12 keys.
The eject button maps to 0xcc

The correct mapping should be that F1 and F2 maps to XF86BrightnessAdjust
F3 should map to ? (Exposé doesn't quite exist, maybe something convenient to invoke window picker?)
F4 should map to ? (Something convenient to show sidget layer?)
F5 and F6 are unmarked, but both should be detected as extra keys
F7 should map to XF86AudioPrev
F8 should map to XF86AudioPlay
F9 should map to XF86AudioNext
F10 should map to XF86AUdioMute
F11 should map to XF86AudioLowerVolume
F12 should map to XF86AudioRaiseVolume
Eject should map to XF86Eject

Revision history for this message
Luke Hoersten (lukehoersten) wrote :

The same problem exists for me on Jaunty (I haven't tried the patch). I like the default MacOS behavior (the F keys are "special" unless the "fn" key is held). Will this patch make it into Jaunty official release?

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Linus_W (linus-wolter) wrote :

I can confirm this. I tried this with no success
http://dancingpenguinsoflight.com/2009/01/fixing-the-function-keys-on-the-apple-keyboard-in-ubuntu/

It seems to only work on the fullsize apple keyboard.

Revision history for this message
Scott Brown (scotty-b-brown) wrote :

Any movement on this? Its really quite painful not having pgup,pgdn etc and del.

Ta.

Revision history for this message
Mike Wittie (mwittie) wrote :

I second that. Anyone found a solution?

Also, could anyone point me to some instructions on how to apply the above patch to my Jaunty installation?

Revision history for this message
pwarren (p-a-warren) wrote :

I followed the instructions at:

http://www.quietearth.us/articles/2006/09/15/Ubuntu-Compiling-a-custom-kernel

Before you do the "make menuconfig" step, you need to apply the above patch.

maybe ubuntu 9.10 will fix this bug...

Revision history for this message
Luke Hoersten (lukehoersten) wrote :

fixed in Karmic 9.10

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.