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
When I disconnect my external keyboard and reconnect it immediately (as in, less than one second later), the kanata service seems to stop working.
While this might seem contrived, I have a bad cable which keeps disconnecting and reconnecting when it moves. Having to restart the kanata systemd service to fix the issue is a bit annoying.
As a first step you should upgrade to the most recent version of Kanata.
This area improved a lot in 1.5 iirc.
Come back and confirm.
Including the log from kanata --debug would make a lot of sense.
/// Milliseconds to wait before attempting to register a newly connected
/// device. The default is 200.
///
/// You may wish to increase this if you have a device that is failing
/// to register - the device may be taking too long to become ready.
#[cfg(target_os = "linux")]
#[arg(short, long, verbatim_doc_comment)]
wait_device_ms: Option<u64>,
Requirements
Describe the bug
When I disconnect my external keyboard and reconnect it immediately (as in, less than one second later), the kanata service seems to stop working.
While this might seem contrived, I have a bad cable which keeps disconnecting and reconnecting when it moves. Having to restart the kanata systemd service to fix the issue is a bit annoying.
Relevant kanata config
I don't think this is very relevant, but:
To Reproduce
Expected behavior
Kanata should detect the device is still there.
Kanata version
1.4.0
Debug logs
Operating system
Nixos 23.11
Additional context
No response
The text was updated successfully, but these errors were encountered: