No keymap for 'Apple Extended USB Keyboard'

Bug #29009 reported by Daniel Holth
10
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

The current Apple USB keyboard (white keys + clear base) is a fantastic keyboard and a great value, but it does not appear to be supported in Ubuntu re: multimedia keys.

This is mostly a standard keyboard with logo keys and all that works. Ubuntu recognizes keycode 77 'Clear' as numlock. They keyboard intends that the numeric keypad is always a numeric keypad and never pgup/down & arrows.

keycode 77 = Clear
keycode 182 = F13
keycode 183 = F14
keycode 184 = F15
keycode 93 = F16
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
keycode 204 = XF86Eject

Also, the key that would normally be 'insert' is labeled 'help'.

 Input driver version is 1.0.0
 Input device ID: bus 0x3 vendor 0x5ac product 0x20b version 0x410
 Input device name: "Mitsumi Electric Apple Extended USB Keyboard"

Colin Watson (cjwatson)
Changed in xorg:
assignee: nobody → daniels
Revision history for this message
Laurent Bigonville (bigon) wrote :

There is also a lot of problem with the french keymap for the keyboard

Daniel Stone (daniels)
Changed in xorg:
assignee: daniels → nobody
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Just re-assigning the bug to xkeyboard-config. We have been improving the keymaps recently though. Are you both still seing these problems in the latest dapper?

- Henrik

Changed in xorg:
assignee: nobody → tfheen
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holth (dholth) wrote :

I still have the problem, mostly.

The multimedia keys work fine but I cannot use the number pad (remember, this keyboard has no numlock key, it is always supposed to be a number pad), there is an = key on the numpad that I cannot use, and there is a . on the number pad that X11 thinks is 'delete'

I would have no way of knowing when the mapping is ready so that I should reconfigure, but in my wild dreams Ubuntu would be cool enough to figure it out from the USB device ID.

Here's some xev output:

This is the "help" key on this keyboard:

KeyPress event, serial 32, synthetic NO, window 0x2e00001,
    root 0xc1, subw 0x0, time 2594308392, (80,76), root:(1069,103),
    state 0x0, keycode 106 (keysym 0xff63, Insert), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

This really is the "Clear" key as X11 says, but it is where the NumLock key /would/ be if my keyboard had a NumLock key. It does not; the numbers on the number pad, which have the same symbols as a regular keyboard, are permanently stuck in non-number mode:

KeyPress event, serial 32, synthetic NO, window 0x2e00001,
    root 0xc1, subw 0x0, time 2594316567, (80,76), root:(1069,103),
    state 0x0, keycode 77 (keysym 0xff0b, Clear), same_screen YES,
    XLookupString gives 1 bytes: (0b) "
                                       "
    XmbLookupString gives 1 bytes: (0b) "
                                         "
    XFilterEvent returns: False

This is the = key on the numeric keypad:

KeyPress event, serial 32, synthetic NO, window 0x2e00001,
    root 0xc1, subw 0x0, time 2594316983, (80,76), root:(1069,103),
    state 0x0, keycode 157 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

This is not "KP_Delete"; it is period "." :

KeyPress event, serial 32, synthetic NO, window 0x2e00001,
    root 0xc1, subw 0x0, time 2594322542, (80,76), root:(1069,103),
    state 0x0, keycode 91 (keysym 0xff9f, KP_Delete), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

Revision history for this message
Daniel Holth (dholth) wrote :

If someone would explain where I should edit, I would be more than happy to fix this myself. My current e-mail is in Launchpad.

Revision history for this message
Gregory P Smith (gpshead) wrote :

This problem still exists in the Feisty Beta PPC Live CD. The left Control key doesn't work at all (doesn't even show up as an event in xev).

The numeric keypad defaults to arrow key mode with the Clear button acting as a numlock as the original reporter stated.

Revision history for this message
Gregory P Smith (gpshead) wrote :

The right Alt key also doesn't work. (to get to a text console i had to press right control left alt f1). same situation on the text console so something is eating those keys in the kernel i'd say.

Tollef Fog Heen (tfheen)
Changed in xkeyboard-config:
assignee: tfheen → nobody
Revision history for this message
Daniel Holth (dholth) wrote :

I was surprised to find the keyboard is now working, just as I had determined to fix it myself. An Ubuntu upgrade must have taken care of it. Here is the output of setxkbmap -print :

xkb_keymap {
        xkb_keycodes { include "macintosh+aliases(qwerty)" };
        xkb_types { include "complete+numpad(mac)" };
        xkb_compat { include "complete" };
        xkb_symbols { include "pc(pc105)+us(dvorak)+inet(apple)" };
        xkb_geometry { include "macintosh(macintosh)" };
};

Changed in xkeyboard-config:
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.