Tried a simple config. It looks like the config works well. But keyd uses 100% of one core CPU.
Strange.. The keyd service also prevents the machine from correct rebooting. In stops rebooting on the last stage.
Created attachment 241264 [details] workaround Does this help? If so waiting for upstream fix.
Yes, it works!
Fixed in upstream: https://github.com/rvaiya/keyd/commit/75fe2757455c1981b34d05c7c6bd20ecb96eb724
The upstream fix doesn't apply cleanly on top of v2.4.2 (currently, the latest release). If you want to test now try the patch in https://github.com/rvaiya/keyd/issues/416#issuecomment-1384121844 Otherwise, waiting for v2.5.0 (or v3.0.0) per https://github.com/rvaiya/keyd/issues/463#issuecomment-1489643124
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8157ae278240ba0c7a77c84fb3154a8a31c52759 commit 8157ae278240ba0c7a77c84fb3154a8a31c52759 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-05-16 22:16:09 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-05-17 00:01:29 +0000 sysutils/keyd: update to 2.4.3 Changes: https://github.com/rvaiya/keyd/compare/v2.4.2...v2.4.3 Reported by: GitHub (watch releases) PR: 270597 sysutils/keyd/Makefile | 11 +++-------- sysutils/keyd/distinfo | 8 +++----- 2 files changed, 6 insertions(+), 13 deletions(-)
A commit in branch 2023Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=517216d8a59e05744f851f9401b20b56397a16a8 commit 517216d8a59e05744f851f9401b20b56397a16a8 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-05-16 22:16:09 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-05-17 00:02:33 +0000 sysutils/keyd: update to 2.4.3 Changes: https://github.com/rvaiya/keyd/compare/v2.4.2...v2.4.3 Reported by: GitHub (watch releases) PR: 270597 (cherry picked from commit 8157ae278240ba0c7a77c84fb3154a8a31c52759) sysutils/keyd/Makefile | 11 +++-------- sysutils/keyd/distinfo | 8 +++----- 2 files changed, 6 insertions(+), 13 deletions(-)
Oops, used the wrong link in Changes field. See https://github.com/rvaiya/keyd/releases/tag/v2.4.3 for an overview.