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.58k stars 835 forks source link

[ BUG ] Driver Alert: The current virtual keyboard and mouse driver is outdated. #3660

Open ibehnam opened 9 months ago

ibehnam commented 9 months ago

Out of the blue, Karabiner stopped working for me (macOS Sonoma). The following error is displayed for both my external mechanical keyboards. I removed all settings (including the complex ones) but the problem still persists. I also followed the error message and deactivated the driver and restarted macOS several times, but the issue still exists. None of my modifications work, even the simple ones.

Screenshot 2023-11-29 at 4 10 36 PM
isunjn commented 9 months ago

same here, just downgrade to v14.12.0 :)

tekezo commented 9 months ago

If you are using third vendor's security software, it may be blocking the loading of new virtual device drivers. Please check the security software's log messages.

shuhei-fujita commented 9 months ago

I found it.🤔

$ sw_vers
ProductName:        macOS
ProductVersion:     14.1.2
BuildVersion:       23B92
スクリーンショット 2023-12-11 11 34 45 スクリーンショット 2023-12-11 11 45 27
tekezo commented 9 months ago

If it is working well, the System Extensions display in EventViewer will look like this. If there are several versions here, or if the teamID (G43BCU2T37) is a different string, there may be a problem in macOS environment.

Screenshot 2023-12-11 at 22 37 59
elbotho commented 9 months ago

I'm stuck on macOS BigSur and get a similar error with the newest version:

image

System Extensions tab in EventViewer:

7 extension(s)
--- com.apple.system_extension.driver_extension
[... unrelated extensions]
* * G43BCU2T37 org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.6.0/1.6.0) org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [activated enabled]
[... unrelated extensions]

Output of Karabiner-Elements log:

[2023-12-13 00:19:12.548] [info] [virtual_hid_device_service] driver_version_ is changed: std::nullopt
[2023-12-13 00:19:12.548] [info] [virtual_hid_device_service] io_service_client::async_start
[2023-12-13 00:19:12.548] [info] [virtual_hid_device_service] create service_monitor_
[2023-12-13 00:19:12.548] [info] [virtual_hid_device_service] service_monitor_->async_start()
[2023-12-13 00:19:12.549] [info] [virtual_hid_device_service] iokit_service_monitor::service_matched
[2023-12-13 00:19:12.549] [info] [virtual_hid_device_service] driver_version_ is changed: 10600
[2023-12-13 00:19:12.549] [info] [virtual_hid_device_service] io_service_client::opened
[2023-12-13 00:19:12.549] [info] [virtual_hid_device_service] io_service_client::async_virtual_hid_keyboard_initialize
[2023-12-13 00:19:12.549] [warning] [virtual_hid_device_service] driver_version_ is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10700, actual dext: 10600
[2023-12-13 00:19:12.549] [error] [virtual_hid_device_service] virtual_hid_keyboard_initialize error: kIOReturnError
…

No change after two "Deactivate driver" and restart cycles. Have not tried uninstall and fresh install so far.

Downgrading as suggested by @isunjn works immediately 🎉

shuhei-fujita commented 9 months ago

@tekezo I am checking System Extensions display in EventViewer🤔

スクリーンショット 2023-12-13 11 09 53
5 extension(s)
--- com.apple.system_extension.network_extension

enabled active  teamID  bundleID (version)  name    [state]
*   *   P8DQRXPVLP  com.eset.network (6.11.202/6.11.202)    ESET Web and Email Protection   [activated enabled]
*   *   DE8Y96K9QP  com.cisco.anyconnect.macos.acsockext (4.10.03104/4.10.03104)    Cisco AnyConnect Socket Filter Extension    [activated enabled]
--- com.apple.system_extension.endpoint_security
enabled active  teamID  bundleID (version)  name    [state]
*   *   P8DQRXPVLP  com.eset.devices (6.11.202/6.11.202)    ESET Device Control [activated enabled]
*   *   P8DQRXPVLP  com.eset.endpoint (6.11.202/6.11.202)   ESET Real-time File System Protection   [activated enabled]
--- com.apple.system_extension.driver_extension
enabled active  teamID  bundleID (version)  name    [state]
*   *   G43BCU2T37  org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.6.0/1.6.0) org.pqrs.Karabiner-DriverKit-VirtualHIDDevice   [activated enabled]
[2023-12-13 11:10:02.409] [error] [virtual_hid_device_service] virtual_hid_keyboard_initialize error: kIOReturnError
[2023-12-13 11:10:07.400] [info] [virtual_hid_device_service] io_service_client::io_service_client
[2023-12-13 11:10:07.400] [info] [virtual_hid_device_service] io_service_client::~io_service_client
[2023-12-13 11:10:07.401] [info] [virtual_hid_device_service] driver_version_ is changed: std::nullopt
[2023-12-13 11:10:07.401] [info] [virtual_hid_device_service] io_service_client::async_start
[2023-12-13 11:10:07.401] [info] [virtual_hid_device_service] create service_monitor_
[2023-12-13 11:10:07.401] [info] [virtual_hid_device_service] service_monitor_->async_start()
[2023-12-13 11:10:07.410] [info] [virtual_hid_device_service] iokit_service_monitor::service_matched
[2023-12-13 11:10:07.411] [info] [virtual_hid_device_service] driver_version_ is changed: 10600
[2023-12-13 11:10:07.411] [info] [virtual_hid_device_service] io_service_client::opened
[2023-12-13 11:10:07.411] [info] [virtual_hid_device_service] io_service_client::async_virtual_hid_keyboard_initialize
[2023-12-13 11:10:07.411] [warning] [virtual_hid_device_service] driver_version_ is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10700, actual dext: 10600
[2023-12-13 11:10:07.411] [error] [virtual_hid_device_service] virtual_hid_keyboard_initialize error: kIOReturnError
shuhei-fujita commented 9 months ago

@tekezo /cc @elbotho @isunjn

I was able to work around this error by using v14.11.0 as a temporary fix. Downgrading as suggested by @isunjn works immediately 🎉

https://github.com/pqrs-org/Karabiner-Elements/releases/tag/v14.11.0

RegulusZ commented 9 months ago

After I demoted the software to 14.12, I was able to recover. It seemed to be a problem with the new version of the software

amok commented 9 months ago

Same here. Stopped working after updated to 14.13. Works OK on 14.12

jepsar commented 7 months ago

Downgrading to 14.12.0 or 14.11.0 did not help for me 🥲... but upgrading to 14.13.0 does work for me 🤷🏼‍♂️

crimx commented 7 months ago

Also had this issue after updating in the App. I got it working again by installing the 14.13.0 dmg from the release page.

chaseadam commented 5 months ago

can confirm after downloading 14.13 release DMG and installing, the extension looks like it updates to 1.7.0

--- 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]
*   *   LCV43QB9EG  com.cypress.Gx3.CYUSB3610 (2.1.0/2.1.0) com.cypress.Gx3.CYUSB3610   [activated enabled]
        G43BCU2T37  org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.6.0/1.6.0) org.pqrs.Karabiner-DriverKit-VirtualHIDDevice   [terminating for upgrade via delegate]