keyd
keyd copied to clipboard
keyd breaks after S3 suspend/resume cycle
Hi,
Thanks for the great tool!
I have a problem using it on FreeBSD 13.
It breaks after S3 suspend/resume cycle.
Apr 3 01:01:01 iv keyd[26536]: device removed: 1e7d:2dbf ROCCAT ROCCAT Kone Pure Military, class 0/0, rev 2.00/2.00, addr/dev/input/event3 (/dev/input/event3)
Apr 3 01:01:01 iv keyd[26536]: device removed: 0c45:1a0a vendor 0x0c45 FC660M, class 0/0, rev 2.00/0.01, addr 2 (/dev/input/event4)
Apr 3 01:01:01 iv keyd[26536]: device removed: 1e7d:2dbf ROCCAT ROCCAT Kone Pure Military, class 0/0, rev 2.00/2.00, addr/dev/input/event5 (/dev/input/event5)
The usb devices aren't ready at the moment of the restart
Apr 5 13:12:42 iv acpi[54418]: resumed at 20230405 13:12:42
Apr 5 13:12:42 iv keyd[58852]: Starting keyd v2.4.2
Apr 5 13:12:42 iv keyd[58852]: socket: /var/run/keyd.socket
Apr 5 13:12:42 iv keyd[58852]: device added: 0000:0000 System keyboard multiplexer (/dev/input/event1)
Apr 5 13:12:42 iv keyd[58852]: ignored (no matching config)
Apr 5 13:12:42 iv kernel: uhub0: 6 ports with 6 removable, self powered
Apr 5 13:12:42 iv kernel: uhub1: 6 ports with 6 removable, self powered
Apr 5 13:12:43 iv kernel: ugen1.2: <ROCCAT ROCCAT Kone Pure Military> at usbus1
Apr 5 13:12:43 iv kernel: ums0 on uhub1
Apr 5 13:12:43 iv kernel: ums0: <ROCCAT ROCCAT Kone Pure Military, class 0/0, rev 2.00/2.00, addr 1> on usbus1
Apr 5 13:12:43 iv kernel: ums0: 5 buttons and [XYZT] coordinates ID=1
Apr 5 13:12:43 iv kernel: ukbd0 on uhub1
Apr 5 13:12:43 iv kernel: ukbd0: <ROCCAT ROCCAT Kone Pure Military, class 0/0, rev 2.00/2.00, addr 1> on usbus1
Apr 5 13:12:43 iv kernel: kbd1 at ukbd0
Apr 5 13:12:43 iv kernel: ugen1.3: <vendor 0x0c45 FC660M> at usbus1
Apr 5 13:12:43 iv kernel: ukbd1 on uhub1
Apr 5 13:12:43 iv kernel: ukbd1: <vendor 0x0c45 FC660M, class 0/0, rev 2.00/0.01, addr 2> on usbus1
Apr 5 13:12:43 iv kernel: kbd2 at ukbd1
Apr 5 13:12:43 iv kernel: uhid0 on uhub1
Apr 5 13:12:43 iv kernel: uhid0: <vendor 0x0c45 FC660M, class 0/0, rev 2.00/0.01, addr 2> on usbus1
A hack resume_cmd="sleep 3; run_rc_command restart"
in RC script works fine. But may be there is a better way?
This bug on FreeBSD Bugzilla