pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.67k stars 836 forks source link

Karabiner doesn't work om MacBook Pro M1 with Ventura 13.2 #3388

Open ghost opened 1 year ago

ghost commented 1 year ago

I get following repeating log: [2023-02-03 16:39:20.821] [info] [virtual_hid_device_service] io_service_client::async_start [2023-02-03 16:39:20.821] [info] [virtual_hid_device_service] create servicemonitor [2023-02-03 16:39:20.821] [info] [virtual_hid_device_service] servicemonitor->async_start() [2023-02-03 16:39:21.336] [warning] [virtual_hid_device_service] driverversion is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10600, actual dext: std::nullopt

By opening the settings I get the "allow" window although I have already allowed the VirtualHIDDevice Manager

colealanroberts commented 1 year ago

I was seeing similar behavior when SIP was disabled on my M1 Air running macOS 13.2

miguel-figueiredo commented 1 year ago

I am also getting that log. When I run systemextensionsctl list I don't see the VirtualHIDDevice.

tschibu commented 1 year ago

@miguel-figueiredo : Reinstall the Karabiner-App. This systemextension will be installed during setup. Without this systemextensionsctl karabiner will not run correctly.

Here is the stout from my system extensions:

$ systemextensionsctl list
1 extension(s)
--- com.apple.system_extension.driver_extension
enabled active  teamID  bundleID (version)  name    [state]
*   *   XXXXXXXXX   org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.6.0/1.6.0) org.pqrs.Karabiner-DriverKit-VirtualHIDDevice   [activated enabled]

Please note that when your Mac is managed / protected by an MDM profile, it is may be that the installation of systemextensionsctl is prevented and you can not install any systemextensionsctl.

washanhanzi commented 1 year ago

I have the VirtualHIDDevice with systemextensionsctl list. But my keyboard and touchpad have no device_id and vendor_id, they are both 0 in karabiner.

From EventViewer:

[
    {
        "device_id": 4294xxxxxx,
        "is_built_in_keyboard": true,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": true,
        "is_pointing_device": false,
        "location_id": 41,
        "manufacturer": "Apple",
        "transport": "FIFO"
    },
    {
        "device_id": 4294xxxxxx,
        "is_built_in_pointing_device": true,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": false,
        "is_pointing_device": true,
        "location_id": 41,
        "manufacturer": "Apple",
        "transport": "FIFO"
    }
]
geirsagberg commented 1 year ago

I had the same error, for me turns out symlinking it to Dropbox was the problem. After removing the symlink, letting Karabiner make its own config, and then re-adding the symlink, things started working again.

netmarkjp commented 1 year ago

I had same problem. In my case, my config is under Dropbox.

I gave Full Disk Access privage to karabiner_grabber

This solved my problem (I don't know the reason why...)