9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Arne Meyer <meyer.arne83@netcologne.de>
To: "9front@9front.org" <9front@9front.org>
Subject: [9front] [PATCH] Fix nusb/audio /dev entries
Date: Wed, 20 Dec 2023 12:23:52 +0100 (CET)	[thread overview]
Message-ID: <1088817250.3535546.1703071432843@comcenter.netcologne.de> (raw)

[-- 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

             reply	other threads:[~2023-12-20 11:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 11:23 Arne Meyer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1088817250.3535546.1703071432843@comcenter.netcologne.de \
    --to=meyer.arne83@netcologne.de \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).