You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a KVM switch with my PCs, and when I switch, all USB devices plugged in stop existing. This causes Kmonad to crash. I restart kmonad every time I switch PCs to handle this.
Is there any way to let kmonad not crash when a device stops existing? Is there any way to keep the device around outside of kmonad to prevent it from crashing? Do other people use kmonad and KVM switches?
Example log output when I switch away from the PC with kmonad on it to another PC
Repro steps:
I started kmonad
I clicked "NumLock" a few times to make sure it was working before I switched PCs
I switched from source 1 to 2 on my KVM to repro
cobertos@bepis:~$ kmonad $cobconf/kmonad.kbd -l debugOpening KeySinkRegistering Uinput deviceOpening KeySourceInitiating ioctl grabLaunching process: emitter_proc--------------------------------------------------------------------------------Received event: Press <nlck>Running hooks--------------------------------------------------------------------------------Received event: Release <nlck>Running hooks--------------------------------------------------------------------------------Received event: Press <nlck>Running hooks--------------------------------------------------------------------------------Received event: Release <nlck>Running hooksEncountered error in KeySource: <file descriptor: 40>: hGetBuf: unsupported operation (No such device)Closing process: emitter_procClosing KeySourceReleasing ioctl grabClosing KeySinkUnregistering Uinput deviceClosing Uinput device filekmonad: Could not perform IOCTL release on: /dev/input/by-id/usb-04d9_1203-event-kbd
The text was updated successfully, but these errors were encountered:
Cobertos
changed the title
Keep KMonad running when using KVM + USB switch?
Keep KMonad running when using KVM + USB switch (device no longer exists on switching)?
Nov 29, 2023
I use a KVM switch with my PCs, and when I switch, all USB devices plugged in stop existing. This causes Kmonad to crash. I restart kmonad every time I switch PCs to handle this.
Is there any way to let kmonad not crash when a device stops existing? Is there any way to keep the device around outside of kmonad to prevent it from crashing? Do other people use kmonad and KVM switches?
Example log output when I switch away from the PC with kmonad on it to another PC
Repro steps:
Workaround?
Possibly, #177 (comment)
The text was updated successfully, but these errors were encountered: