pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful tool for customizing keyboards on macOS
https://karabiner-elements.pqrs.org/
The Unlicense
18.97k stars 840 forks source link

karabiner doesn't work after update macos to sonoma #3620

Open xxiiaaon opened 1 year ago

xxiiaaon commented 1 year ago

karabiner doesn't work after update macos to sonoma

Tried:

  1. Update Karabiner to latest 14.12.0
  2. Disable and enable accessibility config
  3. Reboot
  4. Uninstall and reinstall no luck..

[log] [2023-10-11 14:31:47.469] [info] [grabber] core_configuration is updated. [2023-10-11 14:31:47.472] [info] [grabber] virtual_hid_device_serviceclient connected [2023-10-11 14:31:47.473] [info] [virtual_hid_device_service] received request::virtual_hid_keyboard_initialize: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:47.473] [info] [virtual_hid_device_service] create a client for virtual_hid_device_service::client: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] io_service_client::io_service_client [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] io_service_client::async_start [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] virtual_hid_device_service_clients_manager (178cf9e1b7a2d0c8.sock) client is added (size: 1) [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] create servicemonitor [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] servicemonitor->async_start() [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] io_service_client::io_service_client [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] io_service_client::async_start [2023-10-11 14:31:47.474] [warning] [virtual_hid_device_service] driverversion is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10600, actual dext: std::nullopt [2023-10-11 14:31:47.474] [warning] [virtual_hid_device_service] driverversion is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10600, actual dext: std::nullopt [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] create servicemonitor [2023-10-11 14:31:47.474] [info] [virtual_hid_device_service] servicemonitor->async_start() [2023-10-11 14:31:47.477] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:47.478] [info] [virtual_hid_device_service] received request::virtual_hid_keyboard_initialize: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:47.478] [info] [virtual_hid_device_service] client already exists: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:47.478] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.497] [info] [grabber] caps lock is found on USB Receiver [2023-10-11 14:31:48.497] [info] [grabber] device_grabber_details::entry eventorigin is updated. USB Receiver (device_id:4294970177): none -> grabbed_device [2023-10-11 14:31:48.497] [warning] [grabber] virtual_hid_keyboard is not ready. Please wait for a while. [2023-10-11 14:31:48.498] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.520] [info] [grabber] device_grabber_details::entry eventorigin is updated. TouchBarUserDevice (device_id:4294970037): none -> grabbed_device [2023-10-11 14:31:48.521] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.527] [info] [grabber] caps lock is found on Apple Internal Keyboard / Trackpad [2023-10-11 14:31:48.527] [info] [grabber] device_grabber_details::entry eventorigin is updated. Apple Internal Keyboard / Trackpad (device_id:4294969572): none -> grabbed_device [2023-10-11 14:31:48.528] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.539] [info] [grabber] device_grabber_details::entry eventorigin is updated. USB Receiver (device_id:4294970173): none -> observed_device [2023-10-11 14:31:48.540] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.554] [info] [grabber] device_grabber_details::entry eventorigin is updated. Apple Internal Keyboard / Trackpad (device_id:4294969578): none -> observed_device [2023-10-11 14:31:48.555] [info] [grabber] USB Receiver (device_id:4294970173) hid queue value monitor is started (observed). [2023-10-11 14:31:48.555] [warning] [grabber] virtual_hid_keyboard is not ready. Please wait for a while. [2023-10-11 14:31:48.555] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.555] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:48.559] [info] [grabber] Apple Internal Keyboard / Trackpad (device_id:4294969578) hid queue value monitor is started (observed). [2023-10-11 14:31:48.559] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:31:49.228] [error] [observer] grabber_client error: Connection reset by peer [2023-10-11 14:31:49.228] [info] [observer] grabber_client is closed. [2023-10-11 14:31:50.235] [warning] [grabber] virtual_hid_keyboard is not ready. Please wait for a while. [2023-10-11 14:31:50.235] [info] [observer] grabber_client is connected. [2023-10-11 14:31:50.235] [info] [observer] rescan devices... [2023-10-11 14:31:52.476] [info] [virtual_hid_device_service] io_service_client::io_service_client [2023-10-11 14:31:52.476] [info] [virtual_hid_device_service] io_service_client::~io_service_client [2023-10-11 14:31:52.477] [info] [virtual_hid_device_service] io_service_client::async_start [2023-10-11 14:31:52.477] [info] [virtual_hid_device_service] create servicemonitor [2023-10-11 14:31:52.477] [info] [virtual_hid_device_service] servicemonitor->async_start() [2023-10-11 14:31:52.489] [warning] [virtual_hid_device_service] driverversion is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10600, actual dext: std::nullopt [2023-10-11 14:31:57.477] [info] [virtual_hid_device_service] io_service_client::io_service_client [2023-10-11 14:31:57.477] [info] [virtual_hid_device_service] io_service_client::~io_service_client [2023-10-11 14:31:57.477] [info] [virtual_hid_device_service] io_service_client::async_start [2023-10-11 14:31:57.477] [info] [virtual_hid_device_service] create servicemonitor [2023-10-11 14:31:57.477] [info] [virtual_hid_device_service] servicemonitor->async_start() [2023-10-11 14:31:57.505] [warning] [virtual_hid_device_service] driverversion is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10600, actual dext: std::nullopt [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] iokit_service_monitor::service_matched [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] driverversion is changed: 10600 [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] iokit_service_monitor::service_matched [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] driverversion is changed: 10600 [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] io_service_client::opened [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] io_service_client::opened [2023-10-11 14:31:59.892] [info] [virtual_hid_device_service] io_service_client::async_virtual_hid_keyboard_initialize [2023-10-11 14:31:59.908] [info] [observer] matching device: [2023-10-11 14:31:59.910] [info] [grabber] hid_event_system_monitor set_caps_lock_delay_override for pqrs.org:Karabiner-DriverKit-VirtualHIDKeyboard [2023-10-11 14:31:59.920] [info] [observer] registry_entry_id: 4294971399 [2023-10-11 14:31:59.923] [info] [observer] manufacturer: pqrs.org [2023-10-11 14:31:59.923] [info] [observer] product: Karabiner DriverKit VirtualHIDKeyboard 1.6.0 [2023-10-11 14:31:59.923] [info] [observer] vendor_id: 5824 [2023-10-11 14:31:59.923] [info] [observer] product_id: 10203 [2023-10-11 14:31:59.923] [info] [observer] location_id: 0x0 [2023-10-11 14:31:59.923] [info] [observer] serial_number: pqrs.org:Karabiner-DriverKit-VirtualHIDKeyboard [2023-10-11 14:31:59.947] [info] [observer] is_keyboard: true [2023-10-11 14:31:59.958] [info] [observer] is_pointing_device: false [2023-10-11 14:31:59.958] [info] [observer] rescan devices... [2023-10-11 14:31:59.960] [info] [observer] Karabiner DriverKit VirtualHIDKeyboard 1.6.0 (device_id:4294971399) is observed. [2023-10-11 14:32:00.519] [info] [virtual_hid_device_service] virtual_hid_keyboardready is changed: true [2023-10-11 14:32:01.520] [info] [grabber] virtual_hid_device_serviceclient virtual_hid_keyboard_ready_response: true [2023-10-11 14:32:01.523] [info] [grabber] Apple Internal Keyboard / Trackpad (device_id:4294969572) hid queue value monitor is started (grabbed). [2023-10-11 14:32:01.523] [info] [grabber] caps_lock_led_state_manager is started: Apple Internal Keyboard / Trackpad [2023-10-11 14:32:01.523] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:32:01.527] [info] [grabber] TouchBarUserDevice (device_id:4294970037) hid queue value monitor is started (grabbed). [2023-10-11 14:32:01.527] [info] [grabber] caps_lock_led_state_manager is started: TouchBarUserDevice [2023-10-11 14:32:01.527] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:32:01.528] [info] [grabber] USB Receiver (device_id:4294970177) hid queue value monitor is started (grabbed). [2023-10-11 14:32:01.528] [info] [grabber] caps_lock_led_state_manager is started: USB Receiver [2023-10-11 14:32:01.528] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:32:28.960] [info] [observer] matching device: [2023-10-11 14:32:28.960] [info] [observer] registry_entry_id: 4294971522 [2023-10-11 14:32:28.960] [info] [observer] manufacturer: Logitech [2023-10-11 14:32:28.960] [info] [observer] product: M585/M590 [2023-10-11 14:32:28.960] [info] [observer] vendor_id: 1133 [2023-10-11 14:32:28.960] [info] [observer] product_id: 45083 [2023-10-11 14:32:28.960] [info] [observer] location_id: 0x2b5fee36 [2023-10-11 14:32:28.960] [info] [observer] serial_number: 1CE3D0F50335E3FE [2023-10-11 14:32:28.966] [info] [observer] is_keyboard: true [2023-10-11 14:32:28.969] [info] [observer] is_pointing_device: true [2023-10-11 14:32:28.969] [info] [observer] rescan devices... [2023-10-11 14:32:28.971] [info] [observer] M585/M590 (device_id:4294971522) is observed. [2023-10-11 14:32:29.971] [info] [grabber] device_grabber_details::entry eventorigin is updated. M585/M590 (device_id:4294971522): none -> observed_device [2023-10-11 14:32:29.973] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:32:29.975] [info] [grabber] M585/M590 (device_id:4294971522) hid queue value monitor is started (observed). [2023-10-11 14:32:29.975] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:42:51.328] [info] [grabber] M585/M590 (device_id:4294971522) is terminated. [2023-10-11 14:42:51.346] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:42:51.347] [info] [observer] device_id:4294971522 is terminated. [2023-10-11 14:42:51.348] [info] [observer] rescan devices... [2023-10-11 14:43:26.091] [info] [observer] matching device: [2023-10-11 14:43:26.091] [info] [observer] registry_entry_id: 4294973789 [2023-10-11 14:43:26.091] [info] [observer] manufacturer: Logitech [2023-10-11 14:43:26.092] [info] [observer] product: M585/M590 [2023-10-11 14:43:26.092] [info] [observer] vendor_id: 1133 [2023-10-11 14:43:26.092] [info] [observer] product_id: 45083 [2023-10-11 14:43:26.092] [info] [observer] location_id: 0x2b5fee36 [2023-10-11 14:43:26.092] [info] [observer] serial_number: 1CE3D0F50335E3FE [2023-10-11 14:43:26.150] [info] [observer] is_keyboard: true [2023-10-11 14:43:26.151] [info] [observer] is_pointing_device: true [2023-10-11 14:43:26.151] [info] [observer] rescan devices... [2023-10-11 14:43:26.151] [info] [observer] M585/M590 (device_id:4294973789) is observed. [2023-10-11 14:43:27.081] [info] [grabber] device_grabber_details::entry eventorigin is updated. M585/M590 (device_id:4294973789): none -> observed_device [2023-10-11 14:43:27.085] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock [2023-10-11 14:43:27.086] [info] [grabber] M585/M590 (device_id:4294973789) hid queue value monitor is started (observed). [2023-10-11 14:43:27.087] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 178cf9e1b7a2d0c8.sock

awesomezao commented 1 year ago

the same issue

geekzsp commented 1 year ago

the same issue

liutian9 commented 1 year ago

the same issue

patrickdobler commented 1 year ago

Thank you for your suggestion, but it still doesn't work for me. I have deleted Karabiner, cleared all permissions in the settings, reinstalled it, turned off my Mac, turned on my Mac - unfortunately, none of it works.

It's not just the complex modifications that don't work, but also simple modifications or even just remapping the function keys.

image

patrickdobler commented 1 year ago

I have found a temporary fix. I discovered that giving 'karabiner_grabber' full disk access rights makes it work. However, I had to restart Karabiner twice afterwards.

Well, at least I can work again for now. I can't live without this great software. But I'm curious about what needs to be adjusted so that I don't have to give Karabiner full disk access rights (it used to work without it before).

Write commented 1 year ago

I have found a temporary fix. I discovered that giving 'karabiner_grabber' full disk access rights makes it work. However, I had to restart Karabiner twice afterwards.

Well, at least I can work again for now. I can't live without this great software. But I'm curious about what needs to be adjusted so that I don't have to give Karabiner full disk access rights (it used to work without it before).

omg thanks for your comment. Since first beta of Sonoma I couldn't figure this issue out. Indeed giving full disk access to karabiner_grabber and restarting it twice made it work ! Tysm !

liutian9 commented 1 year ago

@patrickdobler Thanks for sharing. I learnt this fix as well and the root cause is likely due to using Symlink for config files -Reference. In my case it's because I use MackUp with iCloud to sync the config across Macs.

Write commented 1 year ago

@patrickdobler Thanks for sharing. I learnt this fix as well and the root cause is likely due to using Symlink for config files -[Reference](

https://github.com/pqrs-org/Karabiner-Elements/issues/3338#issuecomment-1387455903). In my case it's because I use MackUp with iCloud to sync the config across Macs.

Ouch. I'm indeed using Mackup too !

patrickdobler commented 1 year ago

Mackup user here too :/ But what I don't understand, Karabiner can update and read the files on my iCloud.

quintrino commented 1 year ago

So I'm using freshshell to handle my config files, which uses symlinks, and when I first run freshshell my karabiner config shows as an 'alias' image but then, if I do anything inside karabiner elements that would modify the file, it changes the filetype to JSON image

For people who are using mackup, are your config files still symlinks or did they get converted into JSON?

I've given karabiner_grabber full disk access, but still seem to be having problems, so if this helps anyone debug, or there are other suggestions on what to try, let me know.

patrickdobler commented 1 year ago

On my side, mackup add's the symbolic link (alias) to the whole karabiner folder within the .config

sunwoochae commented 1 year ago

I followed all the instructions but still no luck. Does anyone have an update? I am on Sonoma 14.0 with Karabiner 14.12.0. I am trying to assign media control to f2 and f3 key but nothing is working

en3a commented 1 year ago

I am still having issues even with the above mentioned workaround to provide grabber with full disk Access. I do not see any devices on the devices list in order to modify them. The logs are showing that the keyboard is detected correctly. My external keyboard is DURGOD Taurus K320.

[2023-10-28 21:43:39.736] [info] [observer]   location_id: 0x1120000
[2023-10-28 21:43:39.748] [info] [observer]   is_keyboard: true
[2023-10-28 21:43:39.749] [info] [observer]   is_pointing_device: true
[2023-10-28 21:43:39.749] [info] [observer] rescan devices...
[2023-10-28 21:43:39.749] [info] [observer] matching device:
[2023-10-28 21:43:39.749] [info] [observer]   registry_entry_id: 4294971046
[2023-10-28 21:43:39.749] [info] [observer]   manufacturer: Logitech
[2023-10-28 21:43:39.749] [info] [observer]   product: USB Receiver
[2023-10-28 21:43:39.749] [info] [observer]   vendor_id: 1133
[2023-10-28 21:43:39.749] [info] [observer]   product_id: 50475
[2023-10-28 21:43:39.749] [info] [observer]   location_id: 0x1111000
[2023-10-28 21:43:39.750] [info] [observer]   is_keyboard: true
[2023-10-28 21:43:39.751] [info] [observer]   is_pointing_device: false
[2023-10-28 21:43:39.751] [info] [observer] DURGOD Taurus K320 (device_id:4294971056) is observed.
[2023-10-28 21:43:39.751] [info] [observer] rescan devices...
[2023-10-28 21:43:39.751] [info] [observer] matching device:
[2023-10-28 21:43:39.751] [info] [observer]   registry_entry_id: 4294971037
[2023-10-28 21:43:39.751] [info] [observer]   manufacturer: Hoksi Technology
[2023-10-28 21:43:39.751] [info] [observer]   product: DURGOD Taurus K320
[2023-10-28 21:43:39.751] [info] [observer]   vendor_id: 12136
[2023-10-28 21:43:39.751] [info] [observer]   product_id: 130
[2023-10-28 21:43:39.751] [info] [observer]   location_id: 0x1120000
[2023-10-28 21:43:39.752] [info] [observer]   is_keyboard: true
[2023-10-28 21:43:39.753] [info] [observer]   is_pointing_device: false
[2023-10-28 21:43:39.753] [info] [observer] USB Receiver (device_id:4294971046) is observed.
[2023-10-28 21:43:39.753] [info] [observer] rescan devices...
[2023-10-28 21:43:39.753] [info] [observer] matching device:
[2023-10-28 21:43:39.753] [info] [observer]   registry_entry_id: 4294969954
[2023-10-28 21:43:39.753] [info] [observer]   manufacturer: Apple Inc.
[2023-10-28 21:43:39.753] [info] [observer]   product: Apple Internal Keyboard / Trackpad
[2023-10-28 21:43:39.753] [info] [observer]   vendor_id: 1452
[2023-10-28 21:43:39.753] [info] [observer]   product_id: 834
[2023-10-28 21:43:39.753] [info] [observer]   location_id: 0x33
[2023-10-28 21:43:39.753] [info] [observer]   serial_number: FM7214200H5PDY8AW+EBZ
[2023-10-28 21:43:39.755] [info] [observer]   is_keyboard: true
[2023-10-28 21:43:39.756] [info] [observer]   is_pointing_device: false
[2023-10-28 21:43:39.756] [info] [observer] DURGOD Taurus K320 (device_id:4294971037) is observed.
[2023-10-28 21:43:39.756] [info] [observer] rescan devices...
[2023-10-28 21:43:39.756] [info] [observer] matching device:
[2023-10-28 21:43:39.756] [info] [observer]   registry_entry_id: 4294971054
[2023-10-28 21:43:39.756] [info] [observer]   manufacturer: Logitech
[2023-10-28 21:43:39.756] [info] [observer]   product: USB Receiver
[2023-10-28 21:43:39.756] [info] [observer]   vendor_id: 1133
[2023-10-28 21:43:39.756] [info] [observer]   product_id: 50475
[2023-10-28 21:43:39.756] [info] [observer]   location_id: 0x1111000
[2023-10-28 21:43:39.758] [info] [observer]   is_keyboard: false
[2023-10-28 21:43:39.760] [info] [observer]   is_pointing_device: true
[2023-10-28 21:43:39.760] [info] [observer] Apple Internal Keyboard / Trackpad (device_id:4294969954) is observed.
[2023-10-28 21:43:39.760] [info] [observer] rescan devices...
[2023-10-28 21:43:39.760] [info] [observer] matching device:
[2023-10-28 21:43:39.760] [info] [observer]   registry_entry_id: 4294969956
[2023-10-28 21:43:39.760] [info] [observer]   manufacturer: Apple Inc.
[2023-10-28 21:43:39.760] [info] [observer]   product: Apple Internal Keyboard / Trackpad
[2023-10-28 21:43:39.760] [info] [observer]   vendor_id: 1452
[2023-10-28 21:43:39.760] [info] [observer]   product_id: 834
[2023-10-28 21:43:39.760] [info] [observer]   location_id: 0x33
[2023-10-28 21:43:39.760] [info] [observer]   serial_number: FM7214200H5PDY8AW+EBZ
[2023-10-28 21:43:39.761] [info] [observer]   is_keyboard: false
[2023-10-28 21:43:39.761] [info] [observer]   is_pointing_device: true
[2023-10-28 21:43:39.761] [info] [observer] rescan devices...
[2023-10-28 21:43:39.762] [info] [observer] USB Receiver (device_id:4294971054) is observed.
[2023-10-28 21:43:39.762] [info] [observer] Apple Internal Keyboard / Trackpad (device_id:4294969956) is observed.
[2023-10-28 21:43:52.989] [info] [session_monitor] version 14.12.0
[2023-10-28 21:43:53.203] [info] [session_monitor] session_monitor_receiver_client is started.
[2023-10-28 21:43:53.290] [info] [session_monitor] on_console_changed: true
[2023-10-28 21:43:53.290] [info] [session_monitor] session_monitor_receiver_client is connected.
[2023-10-28 21:43:53.290] [info] [session_monitor] connected
[2023-10-28 21:43:53.293] [info] [grabber] current_console_user_id: 501
[2023-10-28 21:43:53.294] [info] [grabber] receiver is terminated
[2023-10-28 21:43:53.295] [info] [grabber] receiver is initialized
[2023-10-28 21:43:53.295] [info] [grabber] receiver: bound
[2023-10-28 21:43:53.295] [info] [grabber] receiver: chown socket: 501
[2023-10-28 21:43:54.551] [error] [observer] grabber_client error: Connection reset by peer
[2023-10-28 21:43:54.551] [info] [observer] grabber_client is closed.
[2023-10-28 21:43:55.637] [info] [observer] grabber_client is connected.
[2023-10-28 21:43:55.637] [info] [observer] rescan devices...
[2023-10-28 21:46:23.449] [info] [grabber] session_monitor_client is closed (uid:501)
[2023-10-28 21:46:23.449] [info] [grabber] current_console_user_id: none
[2023-10-28 21:46:23.452] [info] [grabber] receiver is terminated
[2023-10-28 21:46:23.453] [info] [grabber] receiver is initialized
[2023-10-28 21:46:23.454] [info] [grabber] receiver: bound
[2023-10-28 21:46:23.454] [info] [grabber] receiver: chown socket: 0
[2023-10-31 10:42:37.039] [info] [grabber] version 14.12.0
[2023-10-31 10:42:37.093] [info] [grabber] launch_services::register_application /Applications/Karabiner-Elements.app: noErr
[2023-10-31 10:42:37.095] [info] [grabber] Karabiner-Elements.app path: file:///Applications/Karabiner-Elements.app/
[2023-10-31 10:42:37.095] [info] [grabber] set_app_icon 0
[2023-10-31 10:42:37.147] [info] [grabber] device_open_permitted
[2023-10-31 10:42:37.148] [info] [grabber] task_policy_set is called.
[2023-10-31 10:42:37.148] [info] [grabber] session_monitor_receiver is initialized
[2023-10-31 10:42:37.152] [info] [grabber] receiver is initialized
[2023-10-31 10:42:37.153] [info] [grabber] receiver: bound
[2023-10-31 10:42:37.153] [info] [grabber] receiver: chown socket: 0
[2023-10-31 10:42:37.153] [info] [grabber] session_monitor_receiver: bound
[2023-10-31 10:42:37.376] [info] [observer] version 14.12.0
[2023-10-31 10:42:37.454] [info] [observer] device_open_permitted
[2023-10-31 10:42:37.457] [info] [observer] device_observer is started.
[2023-10-31 10:42:37.458] [info] [observer] grabber_client is started.
[2023-10-31 10:42:37.459] [info] [observer] grabber_client is connected.
[2023-10-31 10:42:37.459] [info] [observer] rescan devices...
[2023-10-31 10:42:37.459] [info] [observer] matching device:
[2023-10-31 10:42:37.459] [info] [observer]   registry_entry_id: 4294972138
[2023-10-31 10:42:37.460] [info] [observer]   manufacturer: Yubico
[2023-10-31 10:42:37.460] [info] [observer]   product: YubiKey OTP+FIDO+CCID
[2023-10-31 10:42:37.460] [info] [observer]   vendor_id: 4176
[2023-10-31 10:42:37.460] [info] [observer]   product_id: 1031
[2023-10-31 10:42:37.460] [info] [observer]   location_id: 0x1113000
[2023-10-31 10:42:37.462] [info] [observer]   is_keyboard: true
[2023-10-31 10:42:37.464] [info] [observer]   is_pointing_device: false
[2023-10-31 10:42:37.464] [info] [observer] rescan devices...
[2023-10-31 10:42:37.464] [info] [observer] matching device:
[2023-10-31 10:42:37.464] [info] [observer]   registry_entry_id: 4294971089
[2023-10-31 10:42:37.464] [info] [observer]   manufacturer: Hoksi Technology
[2023-10-31 10:42:37.464] [info] [observer]   product: DURGOD Taurus K320
[2023-10-31 10:42:37.464] [info] [observer]   vendor_id: 12136
[2023-10-31 10:42:37.465] [info] [observer]   product_id: 130
[2023-10-31 10:42:37.465] [info] [observer]   location_id: 0x1120000
[2023-10-31 10:42:37.470] [info] [observer]   is_keyboard: true
[2023-10-31 10:42:37.473] [info] [observer]   is_pointing_device: true
[2023-10-31 10:42:37.473] [info] [observer] YubiKey OTP+FIDO+CCID (device_id:4294972138) is observed.
[2023-10-31 10:42:37.473] [info] [observer] rescan devices...
[2023-10-31 10:42:37.473] [info] [observer] matching device:
[2023-10-31 10:42:37.473] [info] [observer]   registry_entry_id: 4294971085
[2023-10-31 10:42:37.473] [info] [observer]   manufacturer: Hoksi Technology
[2023-10-31 10:42:37.473] [info] [observer]   product: DURGOD Taurus K320
[2023-10-31 10:42:37.473] [info] [observer]   vendor_id: 12136
[2023-10-31 10:42:37.473] [info] [observer]   product_id: 130
[2023-10-31 10:42:37.473] [info] [observer]   location_id: 0x1120000
[2023-10-31 10:42:37.475] [info] [observer]   is_keyboard: true
[2023-10-31 10:42:37.476] [info] [observer]   is_pointing_device: false
[2023-10-31 10:42:37.476] [info] [observer] DURGOD Taurus K320 (device_id:4294971089) is observed.
[2023-10-31 10:42:37.476] [info] [observer] rescan devices...
[2023-10-31 10:42:37.477] [info] [observer] matching device:
[2023-10-31 10:42:37.477] [info] [observer]   registry_entry_id: 4294971100
[2023-10-31 10:42:37.477] [info] [observer]   manufacturer: Logitech
[2023-10-31 10:42:37.477] [info] [observer]   product: USB Receiver
[2023-10-31 10:42:37.477] [info] [observer]   vendor_id: 1133
[2023-10-31 10:42:37.477] [info] [observer]   product_id: 50475
[2023-10-31 10:42:37.477] [info] [observer]   location_id: 0x1111000
[2023-10-31 10:42:37.478] [info] [observer]   is_keyboard: true
[2023-10-31 10:42:37.480] [info] [observer]   is_pointing_device: false
[2023-10-31 10:42:37.480] [info] [observer] DURGOD Taurus K320 (device_id:4294971085) is observed.
[2023-10-31 10:42:37.480] [info] [observer] rescan devices...
[2023-10-31 10:42:37.480] [info] [observer] matching device:
[2023-10-31 10:42:37.480] [info] [observer]   registry_entry_id: 4294969960
[2023-10-31 10:42:37.480] [info] [observer]   manufacturer: Apple Inc.
[2023-10-31 10:42:37.480] [info] [observer]   product: Apple Internal Keyboard / Trackpad
[2023-10-31 10:42:37.480] [info] [observer]   vendor_id: 1452
[2023-10-31 10:42:37.480] [info] [observer]   product_id: 834
[2023-10-31 10:42:37.480] [info] [observer]   location_id: 0x33
[2023-10-31 10:42:37.481] [info] [observer]   serial_number: FM7214200H5PDY8AW+EBZ
[2023-10-31 10:42:37.482] [info] [observer]   is_keyboard: true
[2023-10-31 10:42:37.484] [info] [observer]   is_pointing_device: false
[2023-10-31 10:42:37.484] [info] [observer] USB Receiver (device_id:4294971100) is observed.
[2023-10-31 10:42:37.484] [info] [observer] rescan devices...
[2023-10-31 10:42:37.484] [info] [observer] matching device:
[2023-10-31 10:42:37.484] [info] [observer]   registry_entry_id: 4294971098
[2023-10-31 10:42:37.484] [info] [observer]   manufacturer: Logitech
[2023-10-31 10:42:37.484] [info] [observer]   product: USB Receiver
[2023-10-31 10:42:37.484] [info] [observer]   vendor_id: 1133
[2023-10-31 10:42:37.484] [info] [observer]   product_id: 50475
[2023-10-31 10:42:37.484] [info] [observer]   location_id: 0x1111000
[2023-10-31 10:42:37.489] [info] [observer]   is_keyboard: false
[2023-10-31 10:42:37.492] [info] [observer]   is_pointing_device: true
[2023-10-31 10:42:37.492] [info] [observer] Apple Internal Keyboard / Trackpad (device_id:4294969960) is observed.
[2023-10-31 10:42:37.492] [info] [observer] rescan devices...
[2023-10-31 10:42:37.492] [info] [observer] matching device:
[2023-10-31 10:42:37.492] [info] [observer]   registry_entry_id: 4294969962
[2023-10-31 10:42:37.492] [info] [observer]   manufacturer: Apple Inc.
[2023-10-31 10:42:37.492] [info] [observer]   product: Apple Internal Keyboard / Trackpad
[2023-10-31 10:42:37.492] [info] [observer]   vendor_id: 1452
[2023-10-31 10:42:37.492] [info] [observer]   product_id: 834
[2023-10-31 10:42:37.492] [info] [observer]   location_id: 0x33
[2023-10-31 10:42:37.492] [info] [observer]   serial_number: FM7214200H5PDY8AW+EBZ
[2023-10-31 10:42:37.492] [info] [observer]   is_keyboard: false
[2023-10-31 10:42:37.493] [info] [observer]   is_pointing_device: true
[2023-10-31 10:42:37.493] [info] [observer] rescan devices...
[2023-10-31 10:42:37.496] [info] [observer] USB Receiver (device_id:4294971098) is observed.
[2023-10-31 10:42:37.498] [info] [observer] Apple Internal Keyboard / Trackpad (device_id:4294969962) is observed.
[2023-10-31 10:42:37.774] [info] [virtual_hid_device_service] version 2.1.0
[2023-10-31 10:42:37.860] [info] [virtual_hid_device_service] register Karabiner-DriverKit-VirtualHIDDeviceClient.app: noErr
[2023-10-31 10:42:38.074] [info] [virtual_hid_device_service] virtual_hid_device_service_server is initialized
[2023-10-31 10:42:38.074] [info] [virtual_hid_device_service] virtual_hid_device_service_server: bound
[2023-10-31 10:42:44.848] [info] [session_monitor] version 14.12.0
[2023-10-31 10:42:44.852] [info] [session_monitor] session_monitor_receiver_client is started.
[2023-10-31 10:42:44.864] [info] [session_monitor] on_console_changed: true
[2023-10-31 10:42:44.864] [info] [session_monitor] session_monitor_receiver_client is connected.
[2023-10-31 10:42:44.864] [info] [session_monitor] connected
[2023-10-31 10:42:44.865] [info] [grabber] current_console_user_id: 501
[2023-10-31 10:42:44.866] [info] [grabber] receiver is terminated
[2023-10-31 10:42:44.867] [info] [grabber] receiver is initialized
[2023-10-31 10:42:44.867] [info] [grabber] receiver: bound
[2023-10-31 10:42:44.867] [info] [grabber] receiver: chown socket: 501
[2023-10-31 10:42:46.473] [error] [observer] grabber_client error: Connection reset by peer
[2023-10-31 10:42:46.473] [info] [observer] grabber_client is closed.
[2023-10-31 10:42:47.482] [info] [observer] grabber_client is connected.
[2023-10-31 10:42:47.482] [info] [observer] rescan devices...
[2023-10-31 12:25:44.196] [info] [observer] device_id:4294971089 is terminated.
[2023-10-31 12:25:44.199] [info] [observer] device_id:4294971085 is terminated.
[2023-10-31 12:25:44.199] [info] [observer] rescan devices...
[2023-10-31 12:25:44.199] [info] [observer] rescan devices...
[2023-10-31 12:25:58.440] [info] [observer] matching device:
[2023-10-31 12:25:58.440] [info] [observer]   registry_entry_id: 4294972881
[2023-10-31 12:25:58.441] [info] [observer]   manufacturer: Hoksi Technology
[2023-10-31 12:25:58.441] [info] [observer]   product: DURGOD Taurus K320
[2023-10-31 12:25:58.441] [info] [observer]   vendor_id: 12136
[2023-10-31 12:25:58.441] [info] [observer]   product_id: 130
[2023-10-31 12:25:58.445] [info] [observer]   location_id: 0x1120000
[2023-10-31 12:25:58.510] [info] [observer]   is_keyboard: true
[2023-10-31 12:25:58.512] [info] [observer]   is_pointing_device: true
[2023-10-31 12:25:58.512] [info] [observer] rescan devices...
[2023-10-31 12:25:58.512] [info] [observer] matching device:
[2023-10-31 12:25:58.512] [info] [observer]   registry_entry_id: 4294972883
[2023-10-31 12:25:58.512] [info] [observer]   manufacturer: Hoksi Technology
[2023-10-31 12:25:58.512] [info] [observer]   product: DURGOD Taurus K320
[2023-10-31 12:25:58.512] [info] [observer]   vendor_id: 12136
[2023-10-31 12:25:58.512] [info] [observer]   product_id: 130
[2023-10-31 12:25:58.512] [info] [observer]   location_id: 0x1120000
[2023-10-31 12:25:58.513] [info] [observer]   is_keyboard: true
[2023-10-31 12:25:58.514] [info] [observer]   is_pointing_device: false
[2023-10-31 12:25:58.514] [info] [observer] DURGOD Taurus K320 (device_id:4294972881) is observed.
[2023-10-31 12:25:58.514] [info] [observer] rescan devices...
[2023-10-31 12:25:58.515] [info] [observer] DURGOD Taurus K320 (device_id:4294972883) is observed.
[2023-10-31 12:47:04.054] [info] [observer] matching device:
[2023-10-31 12:47:04.054] [info] [observer]   registry_entry_id: 4294973212
[2023-10-31 12:47:04.058] [info] [observer]   manufacturer: Apple
[2023-10-31 12:47:04.058] [info] [observer]   product: Magic Keyboard
[2023-10-31 12:47:04.058] [info] [observer]   vendor_id: 76
[2023-10-31 12:47:04.059] [info] [observer]   product_id: 615
[2023-10-31 12:47:04.059] [info] [observer]   location_id: 0x5712c7d4
[2023-10-31 12:47:04.059] [info] [observer]   serial_number: 64-0b-d7-12-c7-d4
[2023-10-31 12:47:04.092] [info] [observer]   is_keyboard: true
[2023-10-31 12:47:04.097] [info] [observer]   is_pointing_device: false
[2023-10-31 12:47:04.099] [info] [observer] rescan devices...
[2023-10-31 12:47:04.102] [info] [observer] Magic Keyboard (device_id:4294973212) is observed.
[2023-10-31 12:53:44.243] [info] [observer] device_id:4294973212 is terminated.
[2023-10-31 12:53:44.251] [info] [observer] rescan devices...
[2023-10-31 12:54:34.066] [info] [observer] matching device:
[2023-10-31 12:54:34.073] [info] [observer]   registry_entry_id: 4294973335
[2023-10-31 12:54:34.079] [info] [observer]   manufacturer: Apple
[2023-10-31 12:54:34.079] [info] [observer]   product: Magic Keyboard
[2023-10-31 12:54:34.079] [info] [observer]   vendor_id: 76
[2023-10-31 12:54:34.079] [info] [observer]   product_id: 615
[2023-10-31 12:54:34.082] [info] [observer]   location_id: 0x5712c7d4
[2023-10-31 12:54:34.082] [info] [observer]   serial_number: 64-0b-d7-12-c7-d4
[2023-10-31 12:54:34.090] [info] [observer]   is_keyboard: true
[2023-10-31 12:54:34.112] [info] [observer]   is_pointing_device: false
[2023-10-31 12:54:34.112] [info] [observer] rescan devices...
[2023-10-31 12:54:34.114] [info] [observer] Magic Keyboard (device_id:4294973335) is observed.
[2023-10-31 12:54:56.392] [info] [observer] device_id:4294973335 is terminated.
[2023-10-31 12:54:56.407] [info] [observer] rescan devices...
ugr0 commented 1 year ago

I resolved by this command

sudo killall karabiner_grabber
sudo killall karabiner_observer
NatWeiss commented 1 year ago

Had the same issue. The above-mentioned full disk access workaround did not solve it. Sonoma 14.1.1. Karabiner 14.12.0.

Here's what worked for me:

  1. Uninstall Karabiner & restart macos.
  2. Reinstall Karabiner.
  3. The prompt to allow the virtual driver in Privacy & Security came up. Allowed. Not sure if it wasn't allowed beforehand.
  4. Still didn't work. Checked the Log. Found: [error] [grabber] karabiner.json error: to entry error: pointing_button error: unknown pointing_button: "fn"
  5. Fixed the offending complex modification in the json.
  6. Disabled and re-enabled complex modifications.
  7. Karabiner works again.

Thanks to the devs. This app is hard to live without.

muescha commented 1 year ago

how you fixed the modification for fn? what was exactly wrong with the json?

NatWeiss commented 1 year ago

how you fixed the modification for fn? what was exactly wrong with the json?

I had an improper complex modification with fn as the pointing button. Of course, fn is not a valid point button. I don't know whether it was this that fixed Karabiner or reinstalling and getting the virtual driver to be allowed.

ibehnam commented 1 year ago

Removing all app files using AppCleaner, clearing all permissions in the macOS Settings, and then installing the Beta version of Karabiner fixed the problem for me.

gvko commented 12 months ago

Removing all app files using AppCleaner, clearing all permissions in the macOS Settings, and then installing the Beta version of Karabiner fixed the problem for me.

This did the trick for me. 🤷‍♂️

459below commented 11 months ago

Removal using Karabiner-Elements' own uninstaller and reinstallation of 14.13.0 fixed the issue for me.

Upgrade to 14.13.0 did not apply cleanly on my macOS 14.1.2 installation. It kept on complaining about outdated input drivers, no matter how often I restarted.

mx-in commented 11 months ago

Removing all app files using AppCleaner, clearing all permissions in the macOS Settings, and then installing the Beta version of Karabiner fixed the problem for me.

For me, I reinstalled it via homebrew, but the issue still here. so I uninstalled it and reinstalled it from the dmg package and the problem fixed

bymarc commented 11 months ago

I upgraded to Sonoma 14.2.1 with Karabiner-Elements 14.13.0 and Karabiner stopped working for me. I tried all the suggestions in the thread with no luck. I was still getting the pop up message in Karabiner asking me to restart and removing driver. Eventually I uninstalled Karabiner with homebrew (Make sure to backup your json config before uninstalling. Mine was actually still there after re-installing but just to be on the safe side) brew uninstall --cask karabiner-elements and then installing it again with brew install --cask karabiner-elements I installed Karabiner 14.12.0 and it worked without any problems.

muescha commented 11 months ago

@bymarc Is this correct, or was it a typo? Did I need to downgrade (via uninstall/install) from Karabiner version 14.13.0 to 14.12.0 to make it work?

bymarc commented 11 months ago

For me it worked when installing 14.12.0 through Homebrew. I haven't tried 14.13.0. Everything I use works with 14.12.0

gvko commented 11 months ago

@bymarc , that worked for me, thank you! I didn't even have to install the 14.12 version of Karabiner... It worked with the latest 14.13 version. Turned out I had 14.4 installed thru homebrew cask, and also I had installed the latest version thru their official dmg installer. So, I'm not sure if that made things break. I cleaned everything and then installed with brew cask and it works!

jedrekdomanski commented 11 months ago

In my case (I'm using Logi MX Keys), installing the latest update of Xcode CLI tools and re-adding the mappings helped me except that still my mapping of § to tilde sign (can't type it due to formatting issue here) did not work, only remapping right command with right control worked (essential for Polish diacritic character such as ąśćźó). I am not sure if Xcode has anything to do with it. Nevertheless, I struggled with § and tilde and none of the suggestions above worked for me including reinstalling Karabiner and granting full disk access to it.

I went to Mac Settings -> Keyboard, Change Keyboard Layout, it prompted me to press a button on a keyboard and after pressing it it magically started working.

artursiara commented 11 months ago

@jedrekdomanski thanks for this pice of advice. It still not working for me (Sonoma 14.2.1 and Karabiner 14.13.0), so I solved the modifications in other way. Still, cannot use Complex modifications without karabiner, but at least it solved the same issue with the polish characters you mentioned, and simple mappings as well.

I've created the file /Library/LaunchAgents/com.local.KeyRemapping.plist with the proper mappings (I used this to generated ones https://hidutil-generator.netlify.app/) in my case:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.local.KeyRemapping</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/hidutil</string>
        <string>property</string>
        <string>--set</string>
        <string>{"UserKeyMapping":[
            {
              "HIDKeyboardModifierMappingSrc": 0x7000000E7,
              "HIDKeyboardModifierMappingDst": 0x7000000E6
            },
            {
              "HIDKeyboardModifierMappingSrc": 0x7000000E6,
              "HIDKeyboardModifierMappingDst": 0x7000000E7
            },
            {
              "HIDKeyboardModifierMappingSrc": 0x700000039,
              "HIDKeyboardModifierMappingDst": 0x70000006E
            }
        ]}</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

Additional advantage of this, it works for every account on the computer and don't need to configure the mappings for other accounts, as well as no additional app needed.

NamekMaster commented 11 months ago

Mackup user here! KarabinerElements said [2024-01-05 15:55:01.092] [error] [grabber] failed to open /Users/xxx/.config/karabiner/karabiner.json when I update to Sonoma. The config files were symbolic linked to files inside icloud. It seems it can't access the file in icloud. I also found other apps backuped with mackup (the config files are also symbolic links in icloud) show a dialog to request accessing files in icloud as shown below:

image

But it seems Karabiner doesn't request the permission (I'm not 100% sure). Is it the root cause of this problem? How can I grant the permission of accessing files inside icloud to karabiner or make it ask the permission as well as others?

stephenmontgomery commented 10 months ago

Same issue - Sonoma upgrade, uninstalled Homebrew cask, reinstalled cask - no luck. Uninstalled brew. Reinstalled using official dmg image - no luck. About to give up but doing (mentioned above):

sudo killall karabiner_grabber
sudo killall karabiner_observer

triggered the Karbariner popups to enable macos privacy + settings etc and then worked.

I was on a company-controlled mac and was following https://github.com/pqrs-org/Karabiner-Elements/issues/3072#issuecomment-1148249029

I had a Driver mismatch error in logs:

$ systemextensionsctl list
4 extension(s)
--- com.apple.system_extension.driver_extension
enabled active  teamID  bundleID (version)  name    [state]
*   *   G43BCU2T37  org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.7.0/1.7.0) org.pqrs.Karabiner-DriverKit-VirtualHIDDevice   [activated enabled]
        G43BCU2T37  org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.6.0/1.6.0) org.pqrs.Karabiner-DriverKit-VirtualHIDDevice   [terminating for upgrade via delegate]
--- com.apple.system_extension.endpoint_securit

If this helps people - pretty much ensure u kill everything Karbariner-related before reinstalling stuff.

Grogs commented 10 months ago

I also had this issue, I think due to mackup. Initially I tried killing karabiner processes as described directly above. That was not enough.

To fix, I needed to:

robertpro commented 9 months ago

I can't find karabiner_grabber in the full disk access settings, is there something I'm misssing?

AyaanAhmed25 commented 9 months ago

I can't find karabiner_grabber in the full disk access settings, is there something I'm misssing?

hit the plus and then command + shift + g thee paste in /Library/Application Support/org.pqrs/Karabiner-Elements/bin/karabiner_grabber

AgNS61 commented 1 week ago

I have found a temporary fix. I discovered that giving 'karabiner_grabber' full disk access rights makes it work. However, I had to restart Karabiner twice afterwards.

Well, at least I can work again for now. I can't live without this great software. But I'm curious about what needs to be adjusted so that I don't have to give Karabiner full disk access rights (it used to work without it before).

My os is 15.2 beta, and karabiner version is the latest 15.3.0, I gave all permissions: full disk access:

image

input monitoring:

image

I've restarted the app multiple times and tried 'sudo killall karabiner_grabber' but FN modifications don't work for me. Karabiner 14.3.0 works for me.