htrefil / rkvm

Virtual KVM switch for Linux machines
MIT License
415 stars 51 forks source link

Ignore busy devices #51

Closed jian-lin closed 1 year ago

jian-lin commented 1 year ago

I use another evdev-based tool, Kanata, to customize my keyboard.

Without this patch, when kanata and rkvm-server run on the same machine and kanata runs before rkvm-server, rkvm-server crashed with this error [ERROR rkvm_server] Error: Input error: Device or resource busy (os error 16).

This patch makes them work together like this: real-keyboard -> kanata -> rkvm-server.

htrefil commented 1 year ago

Nice, thank you.