Karabiner-elements: Logitech k811 media keys not working

Created on 27 Sep 2016  路  18Comments  路  Source: pqrs-org/Karabiner-Elements

Nothing even shows up on EventViewer

stale

Most helpful comment

Hey guys, I've found a workaround which makes the keyboard even more powerful! The only drawback is you'll lose the ability to use f1 to f13 without further configuration.

While Karabiner-Elements doesn't recognize this keyboard's media keys, it does recognize fn and f1 to f13 key, and you can use f13 by pressing fn + f13 by default for example.

So to make k811's media keys work:

  1. you'll need to download the Logitech Options app, and check the first option: Use all F1, F2, etc. keys as standard function keys

image

  1. Map function keys to corresponding media keys using Karabiner-Elements. Can't map f8 and f9 (keyboard illumination) and f1 - f3 (bluetooth quick switch) functions because those are unique to Logitech k811, but don't worry, you can get to them by pressing fn with them. That's why I said it makes it even more powerful because you can set them to extra functions.

image

  1. I'm not sure why they don't let you add more function keys in the Function Keys tab, so to get f13 you have to add it in the Simple Modifications tab:

image

There you have it--It works for me since I don't really care about function keys f1 - f13. @moneal Hope this helps!

Edit: here's the json for the function keys part in ~/.config/karabiner/karabiner.json

            "fn_function_keys": {
                "f1": "f1",
                "f10": "play_or_pause",
                "f11": "mute",
                "f12": "volume_decrement",
                "f2": "f2",
                "f3": "f3",
                "f4": "mission_control",
                "f5": "launchpad",
                "f6": "apple_display_brightness_decrement",
                "f7": "apple_display_brightness_increment",
                "f8": "f8",
                "f9": "f9"
            },

All 18 comments

I'm having the same problem. Holding function and pressing the media keys works but the media functions are off. fn F11 turns volume down instead of the normal k811 key (F12)

+1 I was blaming this all on LCC for a day or two.

@rbowlby same here. I've been looking all over wondering why nobody else was having this issue. I knew logitech could be slow to update but not this slow even with the osx beta being release long ago. I hope more people can find this issue so they don't waste time looking elsewhere.

same here! the original imac keyboard works fine but the logitech's fn buttons are totally broken

Is anyone else also having a problem with command clicking on links in chrome? Its working as expected for me with a apple keyboard but not the Logitech K811.

@moneal command clicking (the default cmd key) works for me in Chrome with my K811.

As well as all of the above, my delete key no longer backspaces.

Does anyone know what needs to be changed to make the media keys work?

+1

Hey guys, I've found a workaround which makes the keyboard even more powerful! The only drawback is you'll lose the ability to use f1 to f13 without further configuration.

While Karabiner-Elements doesn't recognize this keyboard's media keys, it does recognize fn and f1 to f13 key, and you can use f13 by pressing fn + f13 by default for example.

So to make k811's media keys work:

  1. you'll need to download the Logitech Options app, and check the first option: Use all F1, F2, etc. keys as standard function keys

image

  1. Map function keys to corresponding media keys using Karabiner-Elements. Can't map f8 and f9 (keyboard illumination) and f1 - f3 (bluetooth quick switch) functions because those are unique to Logitech k811, but don't worry, you can get to them by pressing fn with them. That's why I said it makes it even more powerful because you can set them to extra functions.

image

  1. I'm not sure why they don't let you add more function keys in the Function Keys tab, so to get f13 you have to add it in the Simple Modifications tab:

image

There you have it--It works for me since I don't really care about function keys f1 - f13. @moneal Hope this helps!

Edit: here's the json for the function keys part in ~/.config/karabiner/karabiner.json

            "fn_function_keys": {
                "f1": "f1",
                "f10": "play_or_pause",
                "f11": "mute",
                "f12": "volume_decrement",
                "f2": "f2",
                "f3": "f3",
                "f4": "mission_control",
                "f5": "launchpad",
                "f6": "apple_display_brightness_decrement",
                "f7": "apple_display_brightness_increment",
                "f8": "f8",
                "f9": "f9"
            },

This doesn't seem to work with the newest Karrabiner-Elements:

[2017-08-14 14:28:07.475] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:07.546] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:07.674] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:07.767] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:07.803] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:07.965] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.069] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.171] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.270] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.363] [error] [grabber] IOHIDDeviceSetValue error -536870195 for Logitech K811 (device_id:19) @ IOReturn krbn::human_interface_device::set_caps_lock_led_state(krbn::led_state)_block_invoke
[2017-08-14 14:28:08.364] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.473] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.574] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.669] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.771] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.876] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:08.972] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:09.072] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:09.174] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:09.272] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)
[2017-08-14 14:28:09.359] [error] [grabber] IOHIDDeviceSetValue error -536870195 for Logitech K811 (device_id:19) @ IOReturn krbn::human_interface_device::set_caps_lock_led_state(krbn::led_state)_block_invoke
[2017-08-14 14:28:09.360] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) Logitech K811 (device_id:19)

What version are you using? It works for me and I checked to be sure it's the latest version.
image

Okay now it happens to be working. Which is great, thanks.

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 with my K800.

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.

Same for me with Logitech unifying receiver.

Sometimes mouse and keyboard just stop working.

Logs are similar:

[2018-05-07 11:50:17.071] [error] [grabber] IOHIDDeviceOpen error: kIOReturnBadArgument (-536870206) (vendor_id:0x5ac, product_id:0x820a) (device_id:430) [2018-05-07 11:50:17.071] [info] [grabber] Connected devices are ungrabbed [2018-05-07 11:50:17.071] [info] [grabber] event_tap_manager terminated [2018-05-07 11:50:17.071] [info] [grabber] virtual_hid_device_client::close_connection [2018-05-07 11:50:17.073] [info] [grabber] removal device: [2018-05-07 11:50:17.073] [info] [grabber] vendor_id: 5824 [2018-05-07 11:50:17.073] [info] [grabber] product_id: 10203 [2018-05-07 11:50:17.073] [info] [grabber] location_id: 0x0 [2018-05-07 11:51:06.346] [info] [grabber] matching device: [2018-05-07 11:51:06.346] [info] [grabber] manufacturer: Logitech [2018-05-07 11:51:06.346] [info] [grabber] product: USB Receiver [2018-05-07 11:51:06.346] [info] [grabber] vendor_id: 1133 [2018-05-07 11:51:06.346] [info] [grabber] product_id: 50475 [2018-05-07 11:51:06.346] [info] [grabber] location_id: 0x14200000 [2018-05-07 11:51:06.346] [info] [grabber] registry_entry_id: 4295158618 [2018-05-07 11:51:06.346] [info] [grabber] is_keyboard: true [2018-05-07 11:51:06.346] [info] [grabber] is_pointing_device: false [2018-05-07 11:51:06.348] [info] [grabber] USB Receiver (device_id:714) is detected. [2018-05-07 11:51:06.362] [info] [grabber] matching device: [2018-05-07 11:51:06.362] [info] [grabber] manufacturer: Logitech [2018-05-07 11:51:06.362] [info] [grabber] product: USB Receiver [2018-05-07 11:51:06.362] [info] [grabber] vendor_id: 1133 [2018-05-07 11:51:06.362] [info] [grabber] product_id: 50475 [2018-05-07 11:51:06.362] [info] [grabber] location_id: 0x14200000 [2018-05-07 11:51:06.363] [info] [grabber] registry_entry_id: 4295158634 [2018-05-07 11:51:06.363] [info] [grabber] is_keyboard: false [2018-05-07 11:51:06.363] [info] [grabber] is_pointing_device: true [2018-05-07 11:51:06.368] [info] [grabber] USB Receiver (device_id:715) is detected. [2018-05-07 11:51:06.370] [info] [grabber] matching device: [2018-05-07 11:51:06.370] [info] [grabber] manufacturer: Logitech [2018-05-07 11:51:06.370] [info] [grabber] product: USB Receiver [2018-05-07 11:51:06.370] [info] [grabber] vendor_id: 1133 [2018-05-07 11:51:06.370] [info] [grabber] product_id: 50475 [2018-05-07 11:51:06.370] [info] [grabber] location_id: 0x14200000 [2018-05-07 11:51:06.370] [info] [grabber] registry_entry_id: 4295158634 [2018-05-07 11:51:06.371] [info] [grabber] is_keyboard: false [2018-05-07 11:51:06.371] [info] [grabber] is_pointing_device: true [2018-05-07 11:51:06.371] [info] [grabber] registry_entry_id:4295158634 already exists. [2018-05-07 11:51:11.429] [info] [grabber] matching device: [2018-05-07 11:51:11.429] [info] [grabber] manufacturer: Logitech [2018-05-07 11:51:11.435] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.436] [info] [grabber] vendor_id: 1133 [2018-05-07 11:51:11.436] [info] [grabber] product_id: 16387 [2018-05-07 11:51:11.437] [info] [grabber] location_id: 0x14200200 [2018-05-07 11:51:11.437] [info] [grabber] registry_entry_id: 4295158664 [2018-05-07 11:51:11.437] [info] [grabber] is_keyboard: true [2018-05-07 11:51:11.437] [info] [grabber] is_pointing_device: false [2018-05-07 11:51:11.450] [info] [grabber] Unifying Device (device_id:716) is detected. [2018-05-07 11:51:11.479] [info] [grabber] matching device: [2018-05-07 11:51:11.479] [info] [grabber] manufacturer: Apple [2018-05-07 11:51:11.479] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.479] [info] [grabber] vendor_id: 1452 [2018-05-07 11:51:11.479] [info] [grabber] product_id: 65535 [2018-05-07 11:51:11.479] [info] [grabber] location_id: 0x14200200 [2018-05-07 11:51:11.479] [info] [grabber] registry_entry_id: 4295158682 [2018-05-07 11:51:11.479] [info] [grabber] is_keyboard: true [2018-05-07 11:51:11.479] [info] [grabber] is_pointing_device: false [2018-05-07 11:51:11.493] [info] [grabber] Unifying Device (device_id:717) is detected. [2018-05-07 11:51:11.511] [info] [grabber] matching device: [2018-05-07 11:51:11.511] [info] [grabber] manufacturer: Apple [2018-05-07 11:51:11.511] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.511] [info] [grabber] vendor_id: 1452 [2018-05-07 11:51:11.511] [info] [grabber] product_id: 65535 [2018-05-07 11:51:11.511] [info] [grabber] location_id: 0x14200300 [2018-05-07 11:51:11.511] [info] [grabber] registry_entry_id: 4295158722 [2018-05-07 11:51:11.511] [info] [grabber] is_keyboard: true [2018-05-07 11:51:11.511] [info] [grabber] is_pointing_device: false [2018-05-07 11:51:11.516] [info] [grabber] Unifying Device (device_id:718) is detected. [2018-05-07 11:51:11.518] [info] [grabber] matching device: [2018-05-07 11:51:11.518] [info] [grabber] manufacturer: Apple [2018-05-07 11:51:11.518] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.518] [info] [grabber] vendor_id: 1452 [2018-05-07 11:51:11.518] [info] [grabber] product_id: 65535 [2018-05-07 11:51:11.518] [info] [grabber] location_id: 0x14200300 [2018-05-07 11:51:11.518] [info] [grabber] registry_entry_id: 4295158720 [2018-05-07 11:51:11.518] [info] [grabber] is_keyboard: true [2018-05-07 11:51:11.518] [info] [grabber] is_pointing_device: false [2018-05-07 11:51:11.523] [info] [grabber] Unifying Device (device_id:719) is detected. [2018-05-07 11:51:11.524] [info] [grabber] matching device: [2018-05-07 11:51:11.524] [info] [grabber] manufacturer: Apple [2018-05-07 11:51:11.524] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.524] [info] [grabber] vendor_id: 1452 [2018-05-07 11:51:11.525] [info] [grabber] product_id: 65535 [2018-05-07 11:51:11.525] [info] [grabber] location_id: 0x14200200 [2018-05-07 11:51:11.525] [info] [grabber] registry_entry_id: 4295158677 [2018-05-07 11:51:11.525] [info] [grabber] is_keyboard: true [2018-05-07 11:51:11.525] [info] [grabber] is_pointing_device: false [2018-05-07 11:51:11.532] [info] [grabber] Unifying Device (device_id:720) is detected. [2018-05-07 11:51:11.534] [info] [grabber] matching device: [2018-05-07 11:51:11.534] [info] [grabber] manufacturer: Logitech [2018-05-07 11:51:11.534] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.534] [info] [grabber] vendor_id: 1133 [2018-05-07 11:51:11.534] [info] [grabber] product_id: 4122 [2018-05-07 11:51:11.534] [info] [grabber] location_id: 0x14200300 [2018-05-07 11:51:11.534] [info] [grabber] registry_entry_id: 4295158685 [2018-05-07 11:51:11.534] [info] [grabber] is_keyboard: false [2018-05-07 11:51:11.534] [info] [grabber] is_pointing_device: true [2018-05-07 11:51:11.536] [info] [grabber] Unifying Device (device_id:721) is detected. [2018-05-07 11:51:11.536] [error] [grabber] IOHIDDeviceOpen error: kIOReturnExclusiveAccess (-536870203) Unifying Device (device_id:721) [2018-05-07 11:51:11.537] [info] [grabber] matching device: [2018-05-07 11:51:11.537] [info] [grabber] manufacturer: Logitech [2018-05-07 11:51:11.537] [info] [grabber] product: Unifying Device [2018-05-07 11:51:11.537] [info] [grabber] vendor_id: 1133 [2018-05-07 11:51:11.537] [info] [grabber] product_id: 4122 [2018-05-07 11:51:11.537] [info] [grabber] location_id: 0x14200300 [2018-05-07 11:51:11.537] [info] [grabber] registry_entry_id: 4295158685 [2018-05-07 11:51:11.537] [info] [grabber] is_keyboard: false [2018-05-07 11:51:11.537] [info] [grabber] is_pointing_device: true [2018-05-07 11:51:11.537] [info] [grabber] registry_entry_id:4295158685 already exists.

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.

Was this page helpful?
0 / 5 - 0 ratings