pqrs-org / Karabiner-Elements

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

Karabiner-DriverKit-VirtualHIDDevice active completes but no device show #3998

Open allancomar opened 3 weeks ago

allancomar commented 3 weeks ago

Hi all. I was looking around and I am not sure I found a new issue or if there is any workaround here.

I am running macos sonoma 14.7.1 with crowdstrike falcon installed. the virtual driver activate successfully but on the modified keys setting the virtual hdi does not show.

/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 finished request of org.pqrs.Karabiner-DriverKit-VirtualHIDDevice is completed

Any idea of what I can do, next steps? Thanks

tekezo commented 3 weeks ago

Simply activating Karabiner-DriverKit-VirtualHIDDevice does not create a virtual device; you need to send a device creation request from virtual-hid-device-service-client.

In the case of Karabiner-Elements, this process is handled by karabiner_grabber, so the necessary processes need to be running. Are there any warnings shown in the Karabiner-Elements settings?

Additionally, if you're interested in using Karabiner-DriverKit-VirtualHIDDevice without Karabiner-Elements, here is a sample client program: https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/tree/main/examples/virtual-hid-device-service-client

allancomar commented 2 weeks ago

Sorry for taking so long to answer. Some other p0 in life. I am trying to use kanata, and when I run it I am always getting the following error: connect_failed asio.system:2 and skbd stop working while kanata is trying to run.

allancomar commented 2 weeks ago

I tried with compiling kmonad and have a similar error: ` monad kmonad.kbd connect_failed asio.system:2 IOHIDDeviceOpen error: (iokit/common) privilege violation connect_failed asio.system:2

`

tekezo commented 2 weeks ago

It's likely that another security software is restricting inter-process communication. Do you have any security software installed? If so, please check the logs of that software to see if it's blocking anything.