9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] Fix nusb/audio /dev entries
@ 2023-12-20 11:23 Arne Meyer
  2023-12-20 16:44 ` qwx
  0 siblings, 1 reply; 12+ messages in thread
From: Arne Meyer @ 2023-12-20 11:23 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

Hello,

commit 4bc5793a removed #u from default device binds. Now #u gets bound after #A in nusbrc. Because nusb/audio uses #u to provide its /dev/audio entries this means they are shadowed by the #A device and never picked up. So use 'bind -b' in nusbrc to prefer nusb/audio over #A.

Greetings,
Arne

[-- Attachment #2: nusbrc.patch --]
[-- Type: application/octet-stream, Size: 229 bytes --]

diff 34e7b54c139826b55713702910a1280e6651df60 uncommitted
--- a/rc/bin/nusbrc
+++ b/rc/bin/nusbrc
@@ -2,7 +2,7 @@
 
 if(! test -e '#σ/usb/usbevent')
 	exit
-if(! bind -a '#u' /dev)
+if(! bind -b '#u' /dev)
 	exit
 @{
 	rfork ne

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-12-21 20:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-20 11:23 [9front] [PATCH] Fix nusb/audio /dev entries Arne Meyer
2023-12-20 16:44 ` qwx
2023-12-20 17:19   ` Kurt H Maier
2023-12-20 17:47     ` qwx
2023-12-20 17:51       ` Kurt H Maier
2023-12-20 18:11         ` qwx
2023-12-20 18:53   ` Arne Meyer
2023-12-20 23:10     ` qwx
2023-12-21  2:47     ` Sigrid Solveig Haflínudóttir
2023-12-21  7:53       ` hiro
2023-12-21 20:12         ` Arne Meyer
2023-12-21 20:48           ` hiro

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).