Karabiner-elements: 0.90.84 breaks Fn keys on external bluetooth keyboard

Created on 30 Dec 2016  Â·  20Comments  Â·  Source: pqrs-org/Karabiner-Elements

I've got Kinessis Freestyler2 Blue keyboard after upgrade to 0.90.70 all hot keys are broken. for example f4 performs volume up. If karabiner is quited everything works as expected.
My config is simple

{
    "profiles": [
        {
             "name": "Default profile",
            "selected": true,
            "simple_modifications": {
                "caps_lock": "f19"
            }
        }
    ]
}
stale

All 20 comments

Same here -- brightness up/down does not work anymore on my apple bluetooth keyboard. The capslock key LED is permanently lit up. I'm using the standard config that maps caps lock to escape.

@hostmaster I guess your keyboard is not sending properly function key events in order to simulate macOS function keys. (eg. your physical f4 key sends f12 key events)
Please modify the function key mapping in Function Keys tab in Karabiner-Element Preferences.

The brightness up/down highly depends on the display hardware.
Please upgrade to v0.90.72 and try the apple_display_brightness_decrement and apple_display_brightness_increment in Function Keys tab.

161231-0002

About the caps lock LED, if the caps lock LED is lit up before Karabiner-Elements start, Karabiner-Elements keep the state.

@tekezo it is not the case, all keys are working properly if karabiner-elements is not running.

after upgrade to 0.90.72 Fn keys are functional again but mapping cap lock -> f19 does not work now.

I followed the article CapsLock input source switching in Mac OS X but seems like now cap lock does not generate events at least EventViewer shows nothing.

and the same thing has happened for internal keyboard as well

@hostmaster Due to the macOS limitation, Karabiner-Elements have to change f1-f12 keys to media control by itself. So, Karabiner-Elements changes f12 key event to volume up.
Some Mac Model keyboards sends improper key event for physical f3 and f4 keys because macOS has interpreted f10-f12 key events to mission control, dashboard.
These combination causes your issue.

About caps lock key, there are any error message in Log tab of Karabiner-Element Preferences?

@tekezo volume up/down, dashboard and mission control work as expected with 0.90.72

there are warnings in Log tab

[2017-01-01 13:13:32.000] [warning] [grabber] event_manipulator_ is not ready. (virtual_hid_device_client is not ready) Please wait for a while.
[2017-01-01 13:13:33.002] [warning] [grabber] event_manipulator_ is not ready. (virtual_hid_device_client is not ready) Please wait for a while.

@hostmaster Thank you for information!

There is an issue that Karabiner-Elements requires to reboot after install (eg #527 )
But I have not succeed to reproduce the issue yet.

I would like to know the result of this command in Terminal.

sudo kextload /Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext

@tekezo thank you the output is below

sudo kextload /Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext
Password:
/Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).

from the console

default 16:35:27.540884 +0300   sudo        igor : TTY=ttys004 ; PWD=/Users/igor ; USER=root ; COMMAND=/sbin/kextload /Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext
error   16:35:27.545217 +0300   sandboxd    SandboxViolation: bird(377) deny file-read-data /Users/igor [Duplicate; no report will be generated.]
default 16:35:27.547701 +0300   opendirectoryd  Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
default 16:35:27.549125 +0300   kextd   Error: Kext /Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext - not found/unable to create.
error   16:35:27.549981 +0300   sandboxd    SandboxViolation: bird(377) deny file-read-data /Users/igor [Duplicate; no report will be generated.]

I'm not rebooting the system in case you need more details.

@hostmaster Thank you for information.
It's very strange, the installation post process seems to be not executed for some reason...
Could you install Karabiner-Elements again?

@tekezo after some re-tries and system reboot the module is loaded finally. However it breaks hotkeys (Fn) keys again. Some Fn keys has no effect now (Dock, Volume)

From the EventViewer. Karabiner is running. I pressed MissionControl key (F3)
eventviewer 2017-01-02 14-02-43

From the EventViewer. Karabiner is running. I pressed Dashboard key (F4)
eventviewer 2017-01-02 14-03-25

From the EventViewer. Karabiner is not running. I pressed MissionControl key (F3)
eventviewer 2017-01-02 14-05-22

From the EventViewer. Karabiner is not running. I pressed Dashboard key (F4)
There are no events at all.

@hostmaster Thank you for feedback.

About f3 key

I'm confirmed that the key order is swapped with the hardware macro keys.
(eg. your f3 key which sends control+up)

I've fixed this issue at v0.90.73.

About f4 key

I guess your f4 key sends f12 key event.
Please try this configuration.
170104-0001

@tekezo 0.90.73 MissionControl key (F3) works now.

I made the change you have sugested. Dock key (f12) shows dock key still. f4 shows launchpad with dashboard and with launchpad

F12 eventviewer 2017-01-04 13-58-38

The f12 key seems sending some key combination like f3 key.
Can you bind the key combination to your desired function in System Preferences > Keyboard > Shortcuts?

yes it is. you are right. however there are some issues still.

Power button does not work on external keyboard.

eventType:SysKeyDown      code:0x6        name:power           flags:                                   misc:
eventType:SysKeyUp        code:0x6        name:power           flags:                                   misc:

Multimedia keys do not work as well

eventType:SysKeyDown      code:0x14       name:rewind          flags:                                   misc:
eventType:SysKeyUp        code:0x14       name:rewind          flags:                                   misc:
eventType:SysKeyDown      code:0x10       name:play_or_pause   flags:                                   misc:
eventType:SysKeyUp        code:0x10       name:play_or_pause   flags:                                   misc:
eventType:SysKeyDown      code:0x13       name:fastforward     flags:                                   misc:
eventType:SysKeyUp        code:0x13       name:fastforward     flags:                                   misc:
eventType:SysKeyDown      code:0x7        name:mute            flags:                                   misc:
eventType:SysKeyUp        code:0x7        name:mute            flags:                                   misc:
eventType:SysKeyDown      code:0x1        name:volume_decremen flags:                                   misc:
eventType:SysKeyUp        code:0x1        name:volume_decremen flags:                                   misc:
eventType:SysKeyDown      code:0x0        name:volume_incremen flags:                                   misc:
eventType:SysKeyUp        code:0x0        name:volume_incremen flags:                                   misc:

I recorded all these events when karabiner did not run. When KE runs EvenViewer is empty.

Karabiner Elements breaks all the function keys and Eject key on Logitech K760 also - #458

Keyboard Bloody B530 — multimedia key stop working with running KE

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This is still an issue.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This is still an issue.

Was this page helpful?
0 / 5 - 0 ratings