* [9front] [PATCH] nusbrc: remove service files left by nusb/kb @ 2022-12-11 15:41 Kristo 2022-12-11 19:46 ` cinap_lenrek ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Kristo @ 2022-12-11 15:41 UTC (permalink / raw) To: 9front Unplugging and then reattaching a keyboard or a mouse causes nusb/kb to sysfatal() since the service file it's trying to create already exists. diff 2d0ede468ddd363243fd31580e3e86c39b51f7be uncommitted --- a/sys/src/9/boot/nusbrc +++ b/sys/src/9/boot/nusbrc @@ -66,7 +66,7 @@ } fn detach { devs='#σc/sdU'^($1 $5) - rm -rf '#σc/usb/'^$1.* '#σc/usbnet/'^$1.* $devs $devs.* + rm -rf '#σc/usb/'^$1.* '#σc/usb/'^$5.hid '#σc/usbnet/'^$1.* $devs $devs.* } rc < '#σ/usb/usbevent' & } ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9front] [PATCH] nusbrc: remove service files left by nusb/kb 2022-12-11 15:41 [9front] [PATCH] nusbrc: remove service files left by nusb/kb Kristo @ 2022-12-11 19:46 ` cinap_lenrek 2022-12-11 19:48 ` mkf9 2022-12-11 19:49 ` cinap_lenrek 2 siblings, 0 replies; 6+ messages in thread From: cinap_lenrek @ 2022-12-11 19:46 UTC (permalink / raw) To: 9front looks good to me. -- cinap ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9front] [PATCH] nusbrc: remove service files left by nusb/kb 2022-12-11 15:41 [9front] [PATCH] nusbrc: remove service files left by nusb/kb Kristo 2022-12-11 19:46 ` cinap_lenrek @ 2022-12-11 19:48 ` mkf9 2022-12-12 1:09 ` cinap_lenrek 2022-12-11 19:49 ` cinap_lenrek 2 siblings, 1 reply; 6+ messages in thread From: mkf9 @ 2022-12-11 19:48 UTC (permalink / raw) To: 9front Yay. a great source of my desktop pain has been fixed. thank you! Kristo wrote: > Unplugging and then reattaching a keyboard or a mouse causes nusb/kb to > sysfatal() since the service file it's trying to create already exists. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9front] [PATCH] nusbrc: remove service files left by nusb/kb 2022-12-11 19:48 ` mkf9 @ 2022-12-12 1:09 ` cinap_lenrek 2022-12-12 1:15 ` Sigrid Solveig Haflínudóttir 0 siblings, 1 reply; 6+ messages in thread From: cinap_lenrek @ 2022-12-12 1:09 UTC (permalink / raw) To: 9front i think this has been recently introduced by accident with the changes for the reform to expose a raw hid interface to get system shutdown to work. sorry :( -- cinap ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9front] [PATCH] nusbrc: remove service files left by nusb/kb 2022-12-12 1:09 ` cinap_lenrek @ 2022-12-12 1:15 ` Sigrid Solveig Haflínudóttir 0 siblings, 0 replies; 6+ messages in thread From: Sigrid Solveig Haflínudóttir @ 2022-12-12 1:15 UTC (permalink / raw) To: 9front, cinap_lenrek It was indeed. I didn't catch this as obviously reform's keyboard does not usually detach. Apologies. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9front] [PATCH] nusbrc: remove service files left by nusb/kb 2022-12-11 15:41 [9front] [PATCH] nusbrc: remove service files left by nusb/kb Kristo 2022-12-11 19:46 ` cinap_lenrek 2022-12-11 19:48 ` mkf9 @ 2022-12-11 19:49 ` cinap_lenrek 2 siblings, 0 replies; 6+ messages in thread From: cinap_lenrek @ 2022-12-11 19:49 UTC (permalink / raw) To: 9front applied. -- cinap ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-12-12 1:17 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-12-11 15:41 [9front] [PATCH] nusbrc: remove service files left by nusb/kb Kristo 2022-12-11 19:46 ` cinap_lenrek 2022-12-11 19:48 ` mkf9 2022-12-12 1:09 ` cinap_lenrek 2022-12-12 1:15 ` Sigrid Solveig Haflínudóttir 2022-12-11 19:49 ` cinap_lenrek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).