Intrepid, Hardy: 'MacBook/MacBook Pro (Intl)' Keyboard Model -Error activating XKB configuration.

Bug #116513 reported by DanSmith
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

MacBook Core 2 Duo (2Ghz Intel) / Feisty Fawn 7.04 (use BootCamp and rEFIt)

Steps to reproduce:
From the Ubuntu Desktop navigate to the 'System' menu select 'Preferences' then choose 'Keyboard'

From the 'Keyboard Preferences' select the 'Layouts' tab
Ensure the `Selected Layout` section has "U.S. English Macintosh" listed and set as default

Click the 'Choose...' button located to the right of the 'Keyboard model:' field and select "MacBook/MacBook Pro (Intl)" from the list and click 'OK'.

Result:
The following error is shown multiple times:
{
     Error activating XKB configuration.
     It can happen under various circumstances:
     - a bug in libxklavier library
     - a bug in X server (xkbcomp, xmodmap utilities)
     - X server with incompatible libxkbfile implementation

    X server version data:
    The X.Org Foundation
    70200000

    If you report this situation as a bug, please include:
    - The result of xprop -root | grep XKB
    - The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
}

Requested Output:
     dan@MacBook:~$ xprop -root | grep XKB
     _XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "mac", ""
     _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "mac", ""
     dan@MacBook:~$

     dan@MacBook:~$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
      layouts = []
      model =
      overrideSettings = true
      options = []
     dan@MacBook:~$

Revision history for this message
DanSmith (dan.smith) wrote :

Correction to Requested Output:
The previous output was for the "Generic 105-key (Intl) PC" keyboard model

dan@MacBook:~$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "mac", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "mac", ""
dan@MacBook:~$

dan@MacBook:~$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model = macbook79
 overrideSettings = true
 options = []
dan@MacBook:~$

Revision history for this message
bluejeans (siremorgan) wrote :

Try editing your /etc/X11/xorg.conf file, in keyboard section. Here is what I have for my Macbook Pro Core 2 Duo:

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "macbook78"
 Option "XkbLayout" "us"
 Option "XkbVariant" "mac"
EndSection

or try using /etc/X11/xkb/rules/xorg.lst to tailor that section to your machine.

Revision history for this message
oss_test_launchpad (oss-test-launchpad) wrote :

No longer confirming this for Ubuntu 8.10 Alpha 4, whereas this problem persisted in 8.10 Alpha 2. There still are issues with this keyboard but this specific error message no longer showed up on the machine tested.

Revision history for this message
oss_test_launchpad (oss-test-launchpad) wrote :

No error message, but:

Apparently, currently not only the keyboard is not being detected but it is also completely wrong. Try System -> Einstellungen -> Tastatur, choose "MacBook/MacBook Pro (Intl)" + "Germany Macintosh" and choose "Print Layout Diagram". I get a DESKTOP KEYBOARD DIAGRAM! Now I stop wondering why there is so much wrong with Ubuntu and this keyboard! You can look at this diagram in https://bugs.launchpad.net/xkeyboard-config/+bug/261573, it's called This_is_what_Ubuntu_thinks_to_be_a_MacBook_or_MacBook_Pro_keyboard_Intel_Germany_Macintosh.pdf.

Can anyone tell the developer about this? Seems to me he doesn't really read what we are discussing here.

Once more, here is what the keyboard really looks like: http://www.praezisionoptoelektronik.de/upload/Tastatur/Apple15/Apple15b.jpg.

Revision history for this message
ticket-monster (rjr84) wrote :

Same problem when trying to switch keyboard model or other options > Misc > Swap keycodes of two keys when Mac keyboard....

This is 8.10, amd64

Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
10502000

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "us", "mac", "lv3:ralt_switch"
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "mac", "lv3:ralt_switch"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model = macbook79
 options = [lv3 lv3:ralt_switch,compat apple:badmap]

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi dshufelt,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

Changed in xkeyboard-config:
status: New → Incomplete
Revision history for this message
oss_test_launchpad (oss-test-launchpad) wrote :
Download full text (14.6 KiB)

Now testing Ubuntu 8.10 64-Bit.

user@user-computer:~$ lspci -vvnn
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03)
 Subsystem: Apple Computer Inc. Device [106b:00a0]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
 Latency: 0
 Capabilities: <access denied>
 Kernel modules: intel-agp

00:01.0 PCI bridge [0604]: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port [8086:2a01] (rev 03)
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 256 bytes
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 I/O behind bridge: 00005000-00005fff
 Memory behind bridge: 90000000-930fffff
 Prefetchable memory behind bridge: 0000000080000000-000000008fffffff
 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
 BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: <access denied>
 Kernel driver in use: pcieport-driver
 Kernel modules: shpchp

00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 20
 Region 4: I/O ports at 60c0 [size=32]
 Kernel driver in use: uhci_hcd
 Kernel modules: uhci-hcd

00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
 Subsystem: Apple Computer Inc. Device [106b:00a0]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin B routed to IRQ 16
 Region 4: I/O ports at 60a0 [size=32]
 Kernel driver in use: uhci_hcd
 Kernel modules: uhci-hcd

00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03) (prog-if 20)
 Subsystem: Apple Computer Inc. Device [106b:00a0]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin C routed to IRQ 21
 Region 0: Memory at 9b504c00 (32-bit, non-prefetchable) [size=1K]
 Capabilities: <access denied>
 Kernel driver in use: ehci_hcd
 Kernel modules: ehci-hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
 Subsystem: Apple Computer Inc. Device [106b:00a0]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SE...

Revision history for this message
oss_test_launchpad (oss-test-launchpad) wrote : Re: Intrepid, Hardy: 'MacBook/MacBook Pro (Intl)' Keyboard Model error
Revision history for this message
Gaele Strootman (gaele) wrote :

One more here. Macbook Pro 4.1 (Intl) on Intrepid. No xorg.conf customizations. When switching keyboard model nothing shows up in Xorg.0.log.

My keyboard seems to fully function, except for the arrow down key.

$ xprop -root |grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "apple_laptop", "us", "altgr-intl", "lv3:ralt_switch"
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "altgr-intl", "lv3:ralt_switch,eurosign:4"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model = macbook79
 options = [lv3 lv3:ralt_switch,eurosign eurosign:4]

Changed in xkeyboard-config:
status: Incomplete → Confirmed
Revision history for this message
Stewart Johnston (stooj) wrote :

I am also having trouble with my Macbook (2,1) keyboard.

Changing the layout to Macbook or Macbook (Intl) both produce the "Error activating XKB configuration" error.

$ xprop -root | grep XKB

_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "macbook78", "gb", "mac", ""
_XKB_RULES_NAMES(STRING) = "evdev", "apple_laptop", "gb", "mac", ""

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

 layouts = []
 model = macbook79
 options = []

Keys that aren't working:

F6/num lock key
Caps Lock light doesn't come on, although it does work.
Tilda key (bottom left)

Also, when I have Gnome-Do running, although it's keyboard combination is set to AppleKey + Space, a simple space bar will activate it.

Also, in Hardy I could use the Enter key (? - arrow pointing upwards against a horizontal line) and the 3 key to produce a pound/hash symbol (#) but that doesn't work any more. The enter key works as a carriage return (maybe it should)

Revision history for this message
Gaele Strootman (gaele) wrote :

Please note: there were some keyboard changes between 2,1 and 3,1 (or 3,1 and 4,1? I'm not sure). As Stooj mentions 2,1 has an Enter key left of the arrow keys. On the 4,1 model this is an Alt key.

Revision history for this message
Anmar Oueja (anmar) wrote :

Issue continues to occur on MacBook 2,1 (2.1 Ghz, Core 2 Duo)

- Output of xprop -root | grep XKB yields:

_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "us", "mac", "lv3:ralt_switch"
_XKB_RULES_NAMES(STRING) = "evdev", "apple_laptop", "us", "mac", "lv3:ralt_switch"

- Output of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd yields:

layouts = []
model = macbook78
options = [lv3 lv3:ralt_switch,ctrl ctrl:nocaps]

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.