pqrs-org / Karabiner-DriverKit-VirtualHIDDevice

The Unlicense
223 stars 27 forks source link

Karabiner-Elements endlessly getting virtual-hid-device-service-client - connect_failed #10

Closed bomtailey closed 3 years ago

bomtailey commented 3 years ago

Did installation steps. After sudo ./build/Release/virtual-hid-device-service-client which produced:

connected driver_loaded 1 driver_version_matched 1 virtual_hid_keyboard_ready 1 virtual_hid_pointing_ready 1

but never completed so I stopped it. Now when I run Karabiner-Elements the log shows an unending report of [Info] [grabber] virtual-hid-device-service-client_ connect_failed: No such file or directory

I've installed this before and gotten it working but with the latest update on Big Sur 11.0 20A5395g K-E stopped working and I've been trying to get it working again. Frankly, I don't really understand all the Mac actions and configurations so finding my missteps would be very helpful. Thanks

bomtailey commented 3 years ago

Just a follow-up on previous note. I've de-installed and re-installed several times. I never see the system preferences keyboard display shown on the GitHub page, no keyboard choices are shown. The response I get from executing the examples is shown below. Also the log messages when Karabiner-Elements is executed. Any suggestions as to where I'm going wrong? This used to install without problems. Thanks

Karabiner virtualHID driver example results Karabiner grabber connect fail
bomtailey commented 3 years ago

One more thing I forgot to add. When I run Karabiner-DriverKit-VirtualHIDDeviceClient I get the result below. I got it even when the EventViewer detected the side button of my MS Sculpt Comfort Mouse (which it no longer does). In addition, somehow in devices a second version of the mouse is declared, with "Apple" as the manufacturer. I have no idea where that is coming from.

Karabiner-DriverKit-VirtualHIDDeviceClient results
tekezo commented 3 years ago

but never completed so I stopped it.

It is intended behavior. https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/blob/master/client/examples/virtual-hid-device-service-client/src/main.cpp#L138-L142

Now when I run Karabiner-Elements the log shows an unending report of

Karabiner-Elements depends on the bundled driver. The current Karabiner-DriverKit-VirtualHIDDevice does not work with Karabiner-Elements v13.0.0.

The latest beta version of Karabiner-Elements includes the latest driver. Please confirm it.

How to upgrade Karabiner-Elements:

Since you are upgrading the drivers manually, you have to to uninstall the driver before updating Karabiner-Elements. https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice#uninstallation

After uninstallation, press "Check for beta updates" button. https://karabiner-elements.pqrs.org/docs/manual/operation/check-for-updates/

When I run Karabiner-DriverKit-VirtualHIDDeviceClient I get the result below.

Karabiner-DriverKit-VirtualHIDDeviceClient v0.20.0 is not compatible the current driver.

bomtailey commented 3 years ago

Thank you so much, everything works perfectly again and I really love the functionality.