pqrs-org / Karabiner-DriverKit-VirtualHIDDevice

The Unlicense
218 stars 26 forks source link

Virtual Keyboard not added #26

Open linktohack opened 9 months ago

linktohack commented 9 months ago

Hello, I installed the latest version of the driver 3.1.0 and activated it like mentioned in the README. The driver seem to be loaded and activated but I don't see the virtual keyboard. How should I trouble shoot this?

Thank you,

~/Downloads❯ systemextensionsctl list
1 extension(s)
--- 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]
~/Downloads❯ defaults read /Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Info.plist CFBundleVersion
3.1.0

https://imgur.com/wtiIfrp

Edit: Tried version 2.1.0 (with clean uninstall) and still have the same problem.

emadb commented 8 months ago

@linktohack I'm having the same issue. Were you able to fix it? thx

tekezo commented 8 months ago

You need to run client to add virtual devices after the driver is activated.

Example client: https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/tree/main/examples/virtual-hid-device-service-client

linktohack commented 8 months ago

Thanks for the reply @tekezo

This is the output of make run

..al-hid-device-service-client❯ make run                                                                                                              Karabiner-DriverKit-VirtualHIDDevice/git/main 
sudo ./build/Release/virtual-hid-device-service-client

Press control+c to quit.

pqrs::karabiner::driverkit::driver_version::embedded_driver_version: 10700
pqrs::karabiner::driverkit::client_protocol_version::embedded_client_protocol_version: 4
connected
driver_activated 0
driver_connected 0
driver_version_mismatched 0
virtual_hid_keyboard_ready 0
virtual_hid_pointing_ready 0
virtual_hid_keyboard_ready 0
virtual_hid_pointing_ready 0
virtual_hid_keyboard_ready 0
virtual_hid_pointing_ready 0
virtual_hid_keyboard_ready 0
virtual_hid_pointing_ready 0

Again

..al-hid-device-service-client❯ systemextensionsctl list                                                                                              Karabiner-DriverKit-VirtualHIDDevice/git/main 
1 extension(s)
--- 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]
..al-hid-device-service-client❯ defaults read /Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/Info.plist CFBundleVersion               Karabiner-DriverKit-VirtualHIDDevice/git/main 
3.1.0