Karabiner-Elements icon indicating copy to clipboard operation
Karabiner-Elements copied to clipboard

Can't activate driver

Open mkielarv2 opened this issue 4 years ago • 22 comments

I have successfully used KE previously but after last reboot karabiner asked to reload the driver. Previously I had same issue and instructions to deactivate and activate driver worked as it should. Now however when I click deactivate it says success, but after restart when I click activate it shows Activation was failed. (error:1) I tried to reboot a few more times, changed version of KE to 13.0.0 and to beta build, but the problem persists.

When I use CLI it shows the following error:

$ ./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.)

MacOS version 10.15.7

mkielarv2 avatar Jan 25 '21 10:01 mkielarv2

The new 13.3.1 beta update started working for me.

Splaktar avatar Feb 09 '21 14:02 Splaktar

I get the exact same error on macOS 11.2.3 using both 13.3.0 and the 13.3.9 beta.

Edit: I decided to try with some older versions of KE. After installing 13.1.0 I decided to try deactivating the driver and got the following.

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

dirn avatar Mar 25 '21 14:03 dirn

Still getting this in May 2021 on macos 11.3.1 and Karabine 13.4.4... any updates?

mycarrysun avatar May 13 '21 16:05 mycarrysun

Updated to MacOS 11.4 and Karabiner 13.4.0, problem is still there. I have tried to activate driver a few times with no luck.

mkielarv2 avatar May 25 '21 18:05 mkielarv2

I'm also having this issue.

Big Sur 11.4

Log: [2021-06-01 16:09:52.923] [warning] [virtual_hid_device_service] driver_version_ is mismatched: client expected: 10300, actual dext: std::nullopt

RoyTrudell avatar Jun 01 '21 23:06 RoyTrudell

Same here, Big Sur 11.4

Edit: In my case it was the same problem as described here: https://github.com/pqrs-org/Karabiner-Elements/issues/2636 My IT department worked out the details and now I have it resolved.

foxale avatar Jun 11 '21 07:06 foxale

Same here, 10.15.7

gilzellner-wix avatar Jun 29 '21 08:06 gilzellner-wix

same here, macos 11.4, KE 13.5.0

Rovango avatar Jul 05 '21 07:07 Rovango

So I only use Karabiner for some super simple changes, so i can use my windows\linux Das keyboard I discovered that this exists in macOs natively now, so i don't need karabiner anymore Located under System Preferences > Keyboard > Modifier Keys and make sure you have the right keyboard selected in the top dropdown.

image

gilzellner-wix avatar Jul 05 '21 09:07 gilzellner-wix

Same here. Karabiner 13.5.0, macOS BigSur 11.4

menchauser avatar Jul 05 '21 12:07 menchauser

Same here. Karabiner 13.5.0, macOS BigSur 11.4

yamrodriguez avatar Jul 22 '21 13:07 yamrodriguez

I have the same problem, but in my case I'm 90% sure reason is my IT security department is blocking driver from installation. Is there any way to confirm this fact, or find a workaround and activate the driver manually, or from command-line?

vlad2135 avatar Aug 18 '21 08:08 vlad2135

@vlad2135 same for me, I guess my corporate security is blocking it. Did you find a workaround ?

cipri-tom avatar Oct 27 '21 09:10 cipri-tom

I ran into the same issue and never found a fix. My corporate security guy couldn't figure out how exactly they were blocking it, so he couldn't figure out how not to. They're using Mosyle as the mdm or whatever

tomprats avatar Oct 27 '21 16:10 tomprats

For whom having "CrowdStrike Falcon" enabled by your IT in your system (like me), most likely the issue would be resolved by removing this. To check if this is the case, run the following command

$ systemextensionsctl list

and see if the output has "com.crowdstrike.falcon.Agent (xxx/xxx) Agent [activated enabled]" line. If you see this, https://github.com/pqrs-org/Karabiner-Elements/issues/2876#issuecomment-975541172 might resolve the issue.

tsuyo avatar Nov 22 '21 14:11 tsuyo

Yes, in my case it was CrowdStrike Falcon and our IT guys helped me to fix it

menchauser avatar Nov 22 '21 14:11 menchauser

Is there any update on this? I cannot activate my driver, and I keep getting the warning. Karabiner doesn't work any more after updating it.

cammil avatar Nov 30 '21 10:11 cammil

Anyone else here with Carbon Black being managed by their company? I've asked the IT guys multiple times if it could be Carbon Black but nothing shows up in the logs but I'm still skeptical

mycarrysun avatar Nov 30 '21 14:11 mycarrysun

Yes, in my case it was CrowdStrike Falcon and our IT guys helped me to fix it

What did you ask your IT guy(s) btw? I have Falcon on my work computer but not sure what I have to do to get Karabiner up and running. I saw the reply above but want to double check before I go do something drastic to my work computer.

CampAsAChamp avatar Feb 16 '22 21:02 CampAsAChamp

What did you ask your IT guy(s) btw?

I've described to them the issue with activating the driver and sent them the error from system logs I found: sysextd: Reasons for denying extension with teamID teamID("G43BCU2T37"), org.pqrs.Karabiner-DriverKit-VirtualHIDDevice are: ["extension\'s teamID and identifier are not in the list of allowed extensions"]. IT engineer told me that he "pushed new system extensions" and that made it work.

menchauser avatar Feb 17 '22 08:02 menchauser

For those of you that are experiencing this problem because the installation of system extensions is blocked by an IT MDM tool, a description of the settings that may need to be changed can be found at https://github.com/pqrs-org/Karabiner-Elements/issues/2636#issuecomment-870819772

josebolos avatar Apr 26 '22 15:04 josebolos

What did you ask your IT guy(s) btw?

I've described to them the issue with activating the driver and sent them the error from system logs I found: sysextd: Reasons for denying extension with teamID teamID("G43BCU2T37"), org.pqrs.Karabiner-DriverKit-VirtualHIDDevice are: ["extension\'s teamID and identifier are not in the list of allowed extensions"]. IT engineer told me that he "pushed new system extensions" and that made it work.

To get the exact log, please run this in your terminal log show --predicate 'sender == "sysextd" or sender CONTAINS "org.pqrs"' --info --debug --last 1h as specified in https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/blob/main/DEVELOPMENT.md

huynhj93 avatar Oct 13 '22 20:10 huynhj93