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

`Karabiner-VirtualHIDDevice-Manager activate` fails with `OSSystemExtensionErrorDomain error 8` #2510

Open ronalabraham opened 3 years ago

ronalabraham commented 3 years ago

I tried to follow the instructions here to fix the driver alert problem. I got this error when trying to activate, similar to https://github.com/pqrs-org/Karabiner-Elements/issues/2488.

image

I then tried what was recommended in that issue, but I got this error:

 $ /Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Manager activate
activation of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is requested
request of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is failed with error: The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 8.)

I am using macOS 10.15.7 and Karabiner 13.1.10. Downgrading to 12.10.0 worked as usual.

Thanks for taking a look. 😄

archcst commented 3 years ago

I got the same issue here, tried all solution in this repo It still not working. Downgrading to 13.0 also not working.

Big Sur 11.0.1

michelmattos commented 3 years ago

I had the same issue. I've upgraded to the beta 13.1.1 and now I was able to "allow" it in the Security & Privacy panel which seems to fixed it

archcst commented 3 years ago

I had the same issue. I've upgraded to the beta 13.1.1 and now I was able to "allow" it in the Security & Privacy panel which seems to fixed it

13.1.1 beta still not working for my situation

archcst commented 3 years ago

I had the same issue. I've upgraded to the beta 13.1.1 and now I was able to "allow" it in the Security & Privacy panel which seems to fixed it

13.1.1 beta still not working for my situation

It's working now, I actually did nothing, just tried to click the "activate driver" button again 5min ago, then it pop up a window said I need to allow in preference panel. version 13.1.1

PaulKlinger commented 3 years ago

Im getting a similar error, but OSSystemExtensionErrorDomain error 10 instead of 8. There's no allow button in preferences. This is both on Catalina and Big Sur. I've tried various versions of Karabiner as well, but always the same result.

activation of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is requested
request of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is failed with error: The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 10.)

It used to work without a problem before, but just stopped working after a restart.

St2r commented 3 years ago

I've used karabiner for a long time and it works well. Today I tried to config yabai on my Mac. After run csrutil disable --with kext --with dtrace --with nvram --with basesystem in recovery mode and reboot, it has the same error :(

St2r commented 3 years ago

I've used karabiner for a long time and it works well. Today I tried to config yabai on my Mac. After run csrutil disable --with kext --with dtrace --with nvram --with basesystem in recovery mode and reboot, it has the same error :(

After csrutil enable , reboot and upgrade karabiner to 13.1.0, it finally resolved....

yingw commented 3 years ago

hey guys, i got the same error 8, and reinstall KE fix this :D

adelwin commented 3 years ago

tried so many times, still same. I followed the breadcrumbs here. from Error 1 in the UI, to Error 8 via the CLI.

Based on what I've read so far, "OSSystemExtensionErrorDomain error 8" means "Invalid code signature or missing entitlements". Now i'm not sure if this means an issue in the codesign identity. I can't verify this, as I also dont have a valid developer account. Only the free one.

And I can't disable SIP due to endpoint enforcement policy.

giancarlo88 commented 3 years ago

If you're having issues with Karabiner and just need to do some simple key remapping, I found this article very useful: https://chuyeow.wtf/2020/06/24/remapping-keys-on-macos

You can do it natively on MacOS with a startup script, just need to look up the hex codes for the keys in the table linked in the article. A good substitute IMO till they sort this issue out.

adelwin commented 3 years ago

i wish it was that easy, my mapping includes the vi-mode for mouse-keys.. so far i can only use karabiner for that.. i'm surprised that i'm very dep[endent on Karabiner actually.

delphinus commented 3 years ago

I found the same error but different error code.

/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Manager activate
activation of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is requested
request of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is failed with error: The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 10.)

And log reports on GUI window.

[2021-04-30 22:08:21.678] [warning] [virtual_hid_device_service] driver_version_ is mismatched: client expected: 10300, actual dext: std::nullopt

OS: Big Sur 11.3 KE: 13.4.4

It is totally annoying my Mac life without Karabiner-Elements!!!

nicksrandall commented 2 years ago

uninstall and re-install fixed this exact issue for me.

Zehelein commented 2 years ago

Was somebody able to resolve this (OSSystemExtensionErrorDomain error 10.)? I am having this issue now since a few days as well. Latest version 14.3, Mac Pro M1, Monterey 12.1. I tried a ton of different things from reinstalling to downgrading to 13.7, restarting multiple times, removing the driver, clicking Activate (always "Activation was failed. error 1) starting in safe mode to clear the potentially cached files and some more potential things.

Error logs show a ton of:

[2022-01-27 16:22:37.194] [warning] [virtual_hid_device_service] driverversion is mismatched: Karabiner-DriverKit-VirtualHIDDeviceClient expected: 10600, actual dext: std::nullopt

Any hints what might cause this?

//Edit: ok I could resolve it. It turned out there was some misconfiguration of some FortiClient/ system policy. Error 10 means such a policy error (https://github.com/pqrs-org/Karabiner-Elements/issues/2876)

protoEvangelion commented 1 year ago

Same issue on Ventura 13.2.1 😢

jt3k commented 1 year ago

same here

macOS 13.2.1 x86_64 iMacPro1,1