pqrs-org / Karabiner-Elements

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

v13.0.0 doesn't run #2445

Open blieque opened 4 years ago

blieque commented 4 years ago

I just updated to v13.0.0, and I can't get the driver to run:

The virtual keyboard and mouse driver is not loaded.

I've tried the usual steps, which have worked before, and I've "Allow"ed the extension in System Preferences. I've rebooted, and I've "Deactivated" and "Activated" the driver several times. I've tried installing 13.0.0 from DMG, too, although I didn't completely uninstall beforehand.

For what it's worth, I'm using a AMD Ryzen hackintosh (Catalina, 10.15.4), so "roll back to v12 and go away" is a perfectly permissible response, but I figured I'd mention it. I know I've not provided much information, but I'm not sure what other information would be useful. Please shout if I can help.

Edit: Possibly related to #2438.

Possible solutions

OxSon commented 4 years ago

I'm having the exact same problem since updating. I have gone through the deactivate->reactivate->allow in sys prefs cycle many times, and rebooted many times, with no success.

I am using a MB Pro, on Catalina 10.15.6

74th commented 4 years ago

+1 me too (Catalina 10.15.7)

clang13 commented 4 years ago

+1 (MB Pro, Catalina 10.15.4, multiple activate/deactivate/reboot cycles). I uninstalled and downgraded to 12.10.0 successfully for now.

lucamolteni commented 4 years ago

Same here on 10.15.6

vincentp commented 4 years ago

Not working for me as well: catalina 10.15.3

brucedjones commented 4 years ago

Same issue for me.

VPhan2015 commented 4 years ago

Same issue here. catalina 10.15.12

val-litvak commented 4 years ago

same issue here, catalina 10.15.4 (19E287)

Justin-Credible commented 4 years ago

I started experiencing this issue today as well. I was on 10.15.4 and updated to 10.15.7 and it now seems to be resolved.

OxSon commented 4 years ago

I started experiencing this issue today as well. I was on 10.15.4 and updated to 10.15.7 and it now seems to be resolved.

I wonder if upgrading is a consistent fix? Unfortunately for me, I am using a work laptop and cannot upgrade until new versions are approved by our infosec department, so I am stuck on 10.15.6 for now.

masmatsum commented 4 years ago

Same issue for me (Catalina 10.15.1)

val-litvak commented 4 years ago

I started experiencing this issue today as well. I was on 10.15.4 and updated to 10.15.7 and it now seems to be resolved.

I wonder if upgrading is a consistent fix? Unfortunately for me, I am using a work laptop and cannot upgrade until new versions are approved by our infosec department, so I am stuck on 10.15.6 for now.

@OxSon it's not a consistent fix unfortunately, I just tried to upgrade from 10.15.4 to 10.15.7 and the issue persists.

k24mr commented 4 years ago

Same issue on MB Pro Catalina 10.15.1 (19B88). Only solution in the end was to remove the newer version and downgrade back to 12.10.0.

LEggcookies commented 4 years ago

me too,macOS 10.15.4

riordant commented 4 years ago

+1 me too. 10.15.3

tlattimore commented 4 years ago

It also stopped working for me after upgrading to v13.0.0. Downgrading to v12.10.0 was the only thing that worked to resolve this.

tekezo commented 4 years ago

Thank you for feedbacks!

Judging from a lot of feedback, Karabiner-Elements v13.0.0 requires macOS 10.15.6 or higher because macOS 10.15.5 or earlier has an issue around DriverKit. Please downgrade to v12.10.0 if you are using macOS 10.15.5 or earlier. https://karabiner-elements.pqrs.org/docs/releasenotes/

Even if you're using macOS 10.15.6 or later, other issues of macOS may prevent DriverKit driver loading. In this case, please try macOS Catalina Note #1 on this following page. https://karabiner-elements.pqrs.org/docs/help/troubleshooting/driver-alert-keeps-showing-up/

23tux commented 4 years ago

Same here on 10.15.7

macOS Catalina Note #1 (https://karabiner-elements.pqrs.org/docs/help/troubleshooting/driver-alert-keeps-showing-up/) didn't help, I deactivated the driver, restartet macOS, activated the driver. But still, no allow button in the Security Preferences appears.

74th commented 4 years ago

10.15.7, I cloud not activate too by ^macOS Catalina Note #1.

Screen Shot 2020-10-10 at 22 11 05
UNFPAmaldives commented 4 years ago

The issue is not resolved by upgrading to Big Sur beta.

mattnewell commented 4 years ago

I don't have useful technical details, but followed all of the suggestions in this thread and the linked documentation.

I do not have control over my MacOS version -- I'm stuck on MacOS 10.15.7. I was unable to get the drivers working with Karabiner 13.0.0.

Downgraded to Karabiner 12.10.0 -- works great.

philwebb commented 4 years ago

Same here. Crash report shows the following if it helps:

Process:               org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [3608]
Path:                  /Library/StagedExtensions/*/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
Identifier:            org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
Version:               1.0.0 (1.0.0)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [3608]
User ID:               270

Date/Time:             2020-10-19 16:59:07.762 -0700
OS Version:            Mac OS X 10.15.7 (19H2)
Report Version:        12
Bridge OS Version:     4.6 (17P6610)
Anonymous UUID:        

Time Awake Since Boot: 180 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, running initializers

Dyld Error Message:
  Library not loaded: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
  Referenced from: /usr/local/lib/sentinel.dylib
  Reason: no suitable image found.  Did find:
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: mach-o, but not built for driverkit
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: stat() failed with errno=13
danieltwagner commented 4 years ago

I also can't get Karabiner 13.0.0 to work on MacOS 10.15.7. Note #1 (reboot after deactivating) didn't help. No message is shown under Security and Privacy preferences.

lsund commented 4 years ago

I have the same issue as danieltwagner

tekezo commented 4 years ago

@philwebb Thank you for feedback!

I fixed this issue at the latest beta version (v13.0.12). Please confirm the latest beta version.

How to upgrade Karabiner-Elements to the latest beta version: https://karabiner-elements.pqrs.org/docs/manual/operation/check-for-updates/

philwebb commented 4 years ago

@tekezo I'm really sorry to report that I get the same error using 13.0.12.

Process:               org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [47458]
Path:                  /Library/StagedExtensions/*/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
Identifier:            org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
Version:               1.0.0 (1.0.0)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [47458]
User ID:               270

Date/Time:             2020-10-26 08:43:53.025 -0700
OS Version:            Mac OS X 10.15.7 (19H2)
Report Version:        12
Bridge OS Version:     4.6 (17P6610)
Anonymous UUID:        F09113DF-2FD5-7764-9FD7-62C835B4D0B1

Sleep/Wake UUID:       29AFFED6-15A9-49F4-A300-BA71BF1A5E14

Time Awake Since Boot: 540000 seconds
Time Since Wake:       260000 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, running initializers

Dyld Error Message:
  Library not loaded: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
  Referenced from: /usr/local/lib/sentinel.dylib
  Reason: no suitable image found.  Did find:
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: mach-o, but not built for driverkit
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: stat() failed with errno=13

Binary Images:
       0x103f61000 -        0x103f68ff7 +org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.0.0 - 1.0.0) <6A69F382-D547-30C2-BFBB-909FCC023DD5> /Library/StagedExtensions/*/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
       0x103fbb000 -        0x103fe8ff7  com.apple.DriverKit (1.0 - ???) <450A6B3B-881A-3BB2-A57F-DDE9F8A2D01B> /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit
       0x104027000 -        0x104047fff  com.apple.HIDDriverKit (1.0 - 1) <189B7F0A-BE8C-3900-8B97-038A5ECBDD53> /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit
       0x104062000 -        0x104073ff7  libc++.dylib (902.1) <1B680330-0CE7-309C-8745-40B0D01BA5C6> /System/DriverKit/usr/lib/libc++.dylib
       0x10408c000 -        0x10408dff7  libSystem.dylib (1281.100.1) <BC97F7DD-AD65-302F-B4F5-859193DC9093> /System/DriverKit/usr/lib/libSystem.dylib
       0x104096000 -        0x10409dff7  libcompiler_rt.dylib (101.2) <AC511827-4908-314B-9337-659A31326E96> /System/DriverKit/usr/lib/system/libcompiler_rt.dylib
       0x1040ae000 -        0x104150fd7  libcorecrypto.dylib (866.140.1) <DBE21C7F-8821-391A-892F-FDD0DB01B058> /System/DriverKit/usr/lib/system/libcorecrypto.dylib
       0x104172000 -        0x1041b4fff  libdispatch.dylib (1173.100.2) <75DE2057-E18A-3296-A95C-0B1526855DE6> /System/DriverKit/usr/lib/system/libdispatch.dylib
       0x1041e7000 -        0x1041faff7  libdyld.dylib (750.6) <966F52B9-ECE3-3033-B9DA-C54298269AA2> /System/DriverKit/usr/lib/system/libdyld.dylib
       0x10420d000 -        0x10420dfff  libmacho.dylib (959.0.1) <29616632-5C6C-38FA-B256-444727B58DCA> /System/DriverKit/usr/lib/system/libmacho.dylib
       0x104215000 -        0x104215fff  libsystem_blocks.dylib (74) <26482DA6-E097-3DF1-8288-542CB26A2917> /System/DriverKit/usr/lib/system/libsystem_blocks.dylib
       0x10421e000 -        0x1042a3ff7  libsystem_c.dylib (1353.100.2) <C2A4406C-9275-3477-80BA-67813B3A4E0E> /System/DriverKit/usr/lib/system/libsystem_c.dylib
       0x1042d1000 -        0x104300fff  libsystem_kernel.dylib (6153.141.2) <B4A92DF0-23A3-330E-BB5B-9D5F14EFC17F> /System/DriverKit/usr/lib/system/libsystem_kernel.dylib
       0x10431f000 -        0x104370fef  libsystem_m.dylib (3178) <60C2ECEA-C487-3FDA-9E4E-AE764FEAD90F> /System/DriverKit/usr/lib/system/libsystem_m.dylib
       0x104383000 -        0x1043adfff  libsystem_malloc.dylib (283.100.6) <34C8FA69-5956-36D8-9C01-CF6329A16713> /System/DriverKit/usr/lib/system/libsystem_malloc.dylib
       0x1043bf000 -        0x1043c7ff7  libsystem_platform.dylib (220.100.1) <B7125FB7-E622-34BA-B460-453EC1D9F956> /System/DriverKit/usr/lib/system/libsystem_platform.dylib
       0x1043d4000 -        0x1043dffff  libsystem_pthread.dylib (416.100.3) <0D5E74AB-3F2E-365F-AEA3-D674CA4D7571> /System/DriverKit/usr/lib/system/libsystem_pthread.dylib
       0x1043ef000 -        0x1043f4fff  libsystem_trace.dylib (1147.120) <2886F550-09E1-3F99-A3FC-022732DBD24A> /System/DriverKit/usr/lib/system/libsystem_trace.dylib
       0x1043fd000 -        0x104415fff  libc++abi.dylib (902) <1CE8C2A0-58D4-3C23-A9F2-968B0C3A2E31> /System/DriverKit/usr/lib/libc++abi.dylib
       0x104433000 -        0x10443eff7  com.apple.USBDriverKit (1.0 - 1) <31F51530-562F-3EC9-BCAB-15057C3D7EA1> /System/DriverKit/System/Library/Frameworks/USBDriverKit.framework/USBDriverKit
       0x10e242000 -        0x10e2d3f47  dyld (750.6) <1D318D60-C9B0-3511-BE9C-82AFD2EF930D> /usr/lib/dyld

I tried decativate and reactivate as well.

tekezo commented 4 years ago

@philwebb Thank you for confirmation!

Your issue seems to be caused by a corrupted cache file since it was not fixed by upgrading. Does starting macOS in Safe Mode to clear cache solve your issue?

Steps:

  1. Starting up in Safe Mode: https://support.apple.com/kb/ht1455
  2. Restart your macOS to exit Safe Mode and boot in normal mode.
  3. Download the latest beta version of Karabiner-Elements from here: https://github.com/pqrs-org/Karabiner-Elements/releases/tag/beta
  4. Reinstall Karabiner-Elements.
yasuoza commented 4 years ago

Restart macOS did not help.

What's I've done with v13.0.12:

Following logs are printed repeatedly at Karabiner-Elements > Log.

driver_version_ is mismatched: client expected: 10300, actual dext: std::nullopt

Now, downgrading to v12.0.10 saves my life.

And this is crash log from Console.app ``` Process: org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [1042] Path: /Library/StagedExtensions/*/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice Identifier: org.pqrs.Karabiner-DriverKit-VirtualHIDDevice Version: 1.0.0 (1.0.0) Code Type: X86-64 (Native) Parent Process: launchd [1] Responsible: org.pqrs.Karabiner-DriverKit-VirtualHIDDevice [1042] User ID: 270 Date/Time: 2020-10-28 22:52:08.786 +0900 OS Version: Mac OS X 10.15.7 (19H2) Report Version: 12 Bridge OS Version: 4.6 (17P6610) Anonymous UUID: 2AE0D37F-A9F1-D4DC-B4FA-904C9A427C60 Time Awake Since Boot: 130 seconds System Integrity Protection: enabled Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD, [0x1] Library missing Application Specific Information: dyld: launch, running initializers Dyld Error Message: Library not loaded: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation Referenced from: /usr/local/lib/sentinel.dylib Reason: no suitable image found. Did find: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: mach-o, but not built for driverkit /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: stat() failed with errno=13 Binary Images: 0x10935f000 - 0x109366ff7 +org.pqrs.Karabiner-DriverKit-VirtualHIDDevice (1.0.0 - 1.0.0) <6A69F382-D547-30C2-BFBB-909FCC023DD5> /Library/StagedExtensions/*/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice 0x1093b9000 - 0x1093e6ff7 com.apple.DriverKit (1.0 - ???) <450A6B3B-881A-3BB2-A57F-DDE9F8A2D01B> /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit 0x109425000 - 0x109445fff com.apple.HIDDriverKit (1.0 - 1) <189B7F0A-BE8C-3900-8B97-038A5ECBDD53> /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit 0x109460000 - 0x109471ff7 libc++.dylib (902.1) <1B680330-0CE7-309C-8745-40B0D01BA5C6> /System/DriverKit/usr/lib/libc++.dylib 0x10948a000 - 0x10948bff7 libSystem.dylib (1281.100.1) /System/DriverKit/usr/lib/libSystem.dylib 0x109494000 - 0x10949bff7 libcompiler_rt.dylib (101.2) /System/DriverKit/usr/lib/system/libcompiler_rt.dylib 0x1094ac000 - 0x10954efd7 libcorecrypto.dylib (866.140.1) /System/DriverKit/usr/lib/system/libcorecrypto.dylib 0x109570000 - 0x1095b2fff libdispatch.dylib (1173.100.2) <75DE2057-E18A-3296-A95C-0B1526855DE6> /System/DriverKit/usr/lib/system/libdispatch.dylib 0x1095e5000 - 0x1095f8ff7 libdyld.dylib (750.6) <966F52B9-ECE3-3033-B9DA-C54298269AA2> /System/DriverKit/usr/lib/system/libdyld.dylib 0x10960b000 - 0x10960bfff libmacho.dylib (959.0.1) <29616632-5C6C-38FA-B256-444727B58DCA> /System/DriverKit/usr/lib/system/libmacho.dylib 0x109613000 - 0x109613fff libsystem_blocks.dylib (74) <26482DA6-E097-3DF1-8288-542CB26A2917> /System/DriverKit/usr/lib/system/libsystem_blocks.dylib 0x10961c000 - 0x1096a1ff7 libsystem_c.dylib (1353.100.2) /System/DriverKit/usr/lib/system/libsystem_c.dylib 0x1096cf000 - 0x1096fefff libsystem_kernel.dylib (6153.141.2) /System/DriverKit/usr/lib/system/libsystem_kernel.dylib 0x10971d000 - 0x10976efef libsystem_m.dylib (3178) <60C2ECEA-C487-3FDA-9E4E-AE764FEAD90F> /System/DriverKit/usr/lib/system/libsystem_m.dylib 0x109781000 - 0x1097abfff libsystem_malloc.dylib (283.100.6) <34C8FA69-5956-36D8-9C01-CF6329A16713> /System/DriverKit/usr/lib/system/libsystem_malloc.dylib 0x1097bd000 - 0x1097c5ff7 libsystem_platform.dylib (220.100.1) /System/DriverKit/usr/lib/system/libsystem_platform.dylib 0x1097d2000 - 0x1097ddfff libsystem_pthread.dylib (416.100.3) <0D5E74AB-3F2E-365F-AEA3-D674CA4D7571> /System/DriverKit/usr/lib/system/libsystem_pthread.dylib 0x1097ed000 - 0x1097f2fff libsystem_trace.dylib (1147.120) <2886F550-09E1-3F99-A3FC-022732DBD24A> /System/DriverKit/usr/lib/system/libsystem_trace.dylib 0x1097fb000 - 0x109813fff libc++abi.dylib (902) <1CE8C2A0-58D4-3C23-A9F2-968B0C3A2E31> /System/DriverKit/usr/lib/libc++abi.dylib 0x109831000 - 0x10983cff7 com.apple.USBDriverKit (1.0 - 1) <31F51530-562F-3EC9-BCAB-15057C3D7EA1> /System/DriverKit/System/Library/Frameworks/USBDriverKit.framework/USBDriverKit 0x10e8a9000 - 0x10e93af47 dyld (750.6) <1D318D60-C9B0-3511-BE9C-82AFD2EF930D> /usr/lib/dyld ```
tekezo commented 4 years ago

@yasuoza Thank you for confirmation! I think it's a macOS issue, so I need information to find out how to solve it. Could you help me?

First of all, can you tell us the result of running the following command in Terminal?

(You do not need to reinstall v13.0.12. Keep v12.10.0)

plutil -convert xml1 -o - /Library/SystemExtensions/db.plist | grep org.pqrs

Example of the result:

                        <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
                        <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                                        <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                                <string>file:///Library/SystemExtensions/2AB7F77C-B64D-457E-A463-0AA93FEC8D10/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>
philwebb commented 4 years ago

@tekezo I'm afraid safe mode didn't fix the error. Is there any other way to clear the cache?

yasuoza commented 4 years ago

@tekezo Thank you for your reply! I did the command with v12.10.0 (It's working well!).

                        <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
                        <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                                        <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                                <string>file:///Library/SystemExtensions/E1F8636B-7FA1-44B1-B401-AC39741DE4EB/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>
tekezo commented 4 years ago

@philwebb Thank you for confirmation! You and @yasuoza are facing same issue. It helps if you can provide same information of the following command in Terminal.

plutil -convert xml1 -o - /Library/SystemExtensions/db.plist | grep org.pqrs

@yasuoza Thanks! Then, please show me the result of the following command in Terminal.

otool -L /Library/SystemExtensions/E1F8636B-7FA1-44B1-B401-AC39741DE4EB/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice

Example of the result:

/Library/SystemExtensions/2AB7F77C-B64D-457E-A463-0AA93FEC8D10/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
        /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
        /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
        /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)

I guess that these lines are different on your machine and it causes this issue.

philwebb commented 4 years ago

@tekezo Here's the output from plutil:

$ plutil -convert xml1 -o - /Library/SystemExtensions/db.plist | grep org.pqrs

            <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
            <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                    <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                <string>file:///Library/SystemExtensions/0901E852-EEB8-483B-8C9F-FC2977B2AAA5/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>
            <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
            <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                    <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                <string>file:///Library/SystemExtensions/B5D8070A-702C-423A-A529-D5181C573577/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>
            <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
            <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                    <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                    <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                <string>file:///Library/SystemExtensions/2794DCD4-9FD9-4288-9BB8-A2C0EA5911CE/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>

and if it helps, here's the output from otool for each of the items listed above:

$ otool -L /Library/SystemExtensions/0901E852-EEB8-483B-8C9F-FC2977B2AAA5/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice

/Library/SystemExtensions/0901E852-EEB8-483B-8C9F-FC2977B2AAA5/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
    /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)
$otool -L /Library/SystemExtensions/B5D8070A-702C-423A-A529-D5181C573577/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice

/Library/SystemExtensions/B5D8070A-702C-423A-A529-D5181C573577/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
    /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)
$ otool -L /Library/SystemExtensions/2794DCD4-9FD9-4288-9BB8-A2C0EA5911CE/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice

/Library/SystemExtensions/2794DCD4-9FD9-4288-9BB8-A2C0EA5911CE/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
    /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)

(this is with the beta version installed but not working)

tekezo commented 4 years ago

@philwebb @yasuoza Thank you for information!

I found the cause, SentinelOne is causing the issue. It seems SentinelOne is not compatible with any DriverKit drivers.

Is there whitelist feature in SentinelOne? If so, please add /Library/SystemExtensions to the whitelist. If not, please use Karabiner-Elements v12.10.0 and wait SentinelOne update. I guess SentinelOne will be updated for macOS Big Sur, and it will works well with DriverKit drivers.

yasuoza commented 4 years ago

@tekezo This is my otool output with v12.10.0 installed. It seems same as @philwebb.

$ otool -L /Library/SystemExtensions/E1F8636B-7FA1-44B1-B401-AC39741DE4EB/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice

/Library/SystemExtensions/E1F8636B-7FA1-44B1-B401-AC39741DE4EB/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
        /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
        /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
        /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)
yasuoza commented 4 years ago

And I am using SentinelOne.

philwebb commented 4 years ago

@tekezo Thanks for tracking down the problem.

yasuoza commented 4 years ago

So, I will wait SentinelOne to be updated and supporting Big Sur.

@tekezo Thank you for your kindness and great work for Karabiner and Karabiner-Elements!

mathsmathsmaths commented 3 years ago

@tekezo I am also seeing this in the logs:

driver_version_ is mismatched: client expected: 10300, actual dext: std::nullopt

My otool output appears to be different though. I fixed it a bit and have updated the output

% plutil -convert xml1 -o - /Library/SystemExtensions/db.plist | grep org.pqrs
            <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
            <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                    <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
                <string>file:///Library/SystemExtensions/59311F5D-268A-45B7-875A-F379B50DD8F9/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>
% otool -L /Library/SystemExtensions/59311F5D-268A-45B7-875A-F379B50DD8F9/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
/Library/SystemExtensions/59311F5D-268A-45B7-875A-F379B50DD8F9/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
    /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
    /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)

I'm running KE 13.1.0 on Big Sur 11.2 Beta. I'm getting this after an upgrade from 11.1 Beta. I've done the Disable>Restart MacOS>Activate>Allow steps many times but I'm still getting the driver alert and none of my simple rules are working. However I am not using SentinelOne

fauzanrh commented 3 years ago

@tekezo I am also seeing this in the logs:

driver_version_ is mismatched: client expected: 10300, actual dext: std::nullopt

~My otool output appears to be different though.~ I fixed it a bit and have updated the output

% plutil -convert xml1 -o - /Library/SystemExtensions/db.plist | grep org.pqrs
          <string>org.pqrs.Karabiner-DriverKit-VirtualHIDDevice</string>
          <string>/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Library/SystemExtensions/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext</string>
                  <string>org.pqrs.Karabiner-VirtualHIDDevice-Manager</string>
              <string>file:///Library/SystemExtensions/59311F5D-268A-45B7-875A-F379B50DD8F9/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/</string>
% otool -L /Library/SystemExtensions/59311F5D-268A-45B7-875A-F379B50DD8F9/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice
/Library/SystemExtensions/59311F5D-268A-45B7-875A-F379B50DD8F9/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice:
  /System/DriverKit/System/Library/Frameworks/DriverKit.framework/DriverKit (compatibility version 1.0.0, current version 1.0.0)
  /System/DriverKit/System/Library/Frameworks/HIDDriverKit.framework/HIDDriverKit (compatibility version 1.0.0, current version 1.0.0)
  /System/DriverKit/usr/lib/libc++.dylib (compatibility version 0.0.0, current version 904.4.0)

I'm running KE 13.1.0 on Big Sur 11.2 Beta. I'm getting this after an upgrade from 11.1 Beta. I've done the Disable>Restart MacOS>Activate>Allow steps many times but I'm still getting the driver alert and none of my simple rules are working. However I am not using SentinelOne

me too

mathsmathsmaths commented 3 years ago

@TheZano Are you also on macOS 11.2? Did it work fine for you on 11.1?

fauzanrh commented 3 years ago

@TheZano Are you also on macOS 11.2? Did it work fine for you on 11.1?

exactly!

rbrtribeiro commented 3 years ago

Also getting driver_version_ is mismatched: client expected: 10300, actual dext: std::nullopt.

Version 12.10 worked fine in Catalina, but updating to Big Sur, nothing works anymore.