mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 22:01:59 -06:00
[GH-ISSUE #193] Recover from Resource temporarily unavailable error #85
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xf- on GitHub (Sep 6, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/193
If network is busy or the system is under high load it will throw a warning and a restart of lan-mouse is required.
Error
Would be nice to restart the handshake or whatever is at fault so it can recover from such an error.
@feschber commented on GitHub (Sep 7, 2024):
this should prompt you to reenable input emulation like this:

is that correct?
It would make sense to try recovering immediately without a prompt in some cases, but I wanted to avoid a situation where it constantly tries to reactivate the input emulation and fails (e.g. when the wayland compositor is terminated).
Will see what I can do.
@xf- commented on GitHub (Sep 7, 2024):
I have no
libadwaitaand run it on cli. Maybe add an option for it. Feels like no retry or do 1 sec 10 sec 30 sec and afterward stop.@feschber commented on GitHub (Sep 7, 2024):
Ah okay that makes sense, I have not implemented any way of reenabling the emulation via cli (yet).
Some sort of timeout would probably make sense for recoverable errors, yeah
@feschber commented on GitHub (Sep 10, 2024):
by the way: How often does this happen? And it would be good to know what backends are being used.
@xf- commented on GitHub (Sep 10, 2024):
Depends a lot on circumstances. Most common under high load (system or network). I sometimes feel like the switch is at its limit with 2.5 Gbit.
wayland - wayland
High load: Few seconds or every minute
No load: Never an issue/weeks/months