9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] [patch] nusb/ether followup to cs 8387
Date: Thu, 08 Apr 2021 21:51:00 +0200	[thread overview]
Message-ID: <5C069560FA2D542EB4ACE5B77CDDEA42@felloff.net> (raw)
In-Reply-To: <E542595C15E50F763699741312FE0415@smtp.pobox.com>

ok, but it nusbrc can be solved much simpler:

diff -r 4dfbef4fa4ac rc/bin/nusbrc
--- a/rc/bin/nusbrc	Sat Apr 03 19:32:47 2021 +0200
+++ b/rc/bin/nusbrc	Thu Apr 08 21:49:21 2021 +0200
@@ -13,6 +13,8 @@
 		switch($4){
 		case *01
 			nusb/audio $id
+		case ff0202
+			# RNDIS; handled by /sys/src/9/boot/nusbrc
 		case *02
 			# serial and ethernet
 			nusb/serial $id

it is not clear to me why the test -d is needed in cpurc. 
you ust want to silence the error message from cat?

--
cinap

  reply	other threads:[~2021-04-08 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 19:27 Romano
2021-04-08 19:51 ` cinap_lenrek [this message]
2021-04-09 18:00   ` Romano
2021-04-10 12:12     ` cinap_lenrek

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=5C069560FA2D542EB4ACE5B77CDDEA42@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --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).