From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2505 invoked from network); 31 Jul 2022 21:35:37 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 31 Jul 2022 21:35:37 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 75A2B1990C for ; Sun, 31 Jul 2022 17:35:35 -0400 (EDT) (envelope-from bounce.mMfe74a807004d1901910c0e32.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 71F2126E5A6D; Sun, 31 Jul 2022 17:35:35 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1659303335; bh=y/TDpYtWKvQHhkvFT4WSOkD4ZvbSiIP6ROfbU nlunS0=; b=jFxZwnbLMbFxQ4FA1909BbsQmO9hmdIRpTWzfLvCbZJ50XhztlJYK kTaJ6fRyMtIWXg5R2Y7L8CORdB6RVzI6M+fd2R4j7+8EGV/dCmFtk0NfWDyefamr kvE3Rj1K/q/7LLHP+XVP+CID+ZCWUglZcQBTIgz5UhfPvPPH1q7qos= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1659303335; b=HFR7kKsOlkqoRHjRA4KHqNu7ZyKfySmrUfeLxrljwRpbyJzH0T uLLjo23jCAZSNGet+ZAFnf40y/MsCMnxASLui0En2GCkgqX3kt3xKL1ZTloJsts1 ZyFEB69ScDtyVNy0+AD2Ui3NFMucClYU8UbgkyV2B6BHokIuOCQRcwKp8= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:from:date:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1659303335; x=1659389735; bh=y/TDpYtWKvQHhkvFT4WSOkD4ZvbSiIP6ROf bUnlunS0=; b=rNUbZFxldPw62k65cQ5HezKF5iIRCMucuvsLLTVC5q4UgzRB0Q7 FhIgIxfMtJu62ZmIra40Y/meJlfEG37il2NM3Mdo9E782CFrygu2xktX2YKE0ndA irr0LR2fkxQTc6w6+OHWtEkOqokmjS5nTpwW1cy4NoJB2/nKZb/4e3ms= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 02ABB26E5650 for <9fans@9fans.net>; Sun, 31 Jul 2022 17:35:22 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 69FC5A3AC02; Sun, 31 Jul 2022 17:35:22 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1659303322; b=Dhip00XmcsVSVuW/11qbv/hG9oiaoJxYjAv9NPP1z7EPaCHQS5 Kixm6gXdbvEJIXzA/SNDhuNLlYBQePCQ4vMGb5gsFLTUfbWgD2qxvUlWPQ+IM0vg jvvr7qRMhy4OpEeParA7xgx4g170L0IXIy7IjGaslg+Mhv+jaEn9iCeh2Qh/P0JC Vzqdb5O9aoggSm5xzbasSZwO3UjqPA0yzxjUmOohss2uQp1IHNLESqVSlhKbtOj0 CO+sbswPIDQ2Mwq41kWYibKzq14qXM5phLxm2F8xE/wNccf3Et2zpKGz5UTgmfP0 Yq2pft8+zyh4ajj3qcVc0OiLcl9SdXRutyTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1659303322; bh=VEhpXtAqfw/Xr9k8gLpHoOMZCgPG7aLeM4i4XhLtTEU=; b= xPQt1r0Od51cGEIJXXtONTUrP742Nw4fOR5qdC1TKezd8t2A4AZZ/oxq6AHomed8 wmkuwVhjrMRYFUIwLaerj4iIoDmMS0GbY/XdNBORKQHGvrLRlK80rtCKKE4P8HAQ z2Cj6ox83Nn26r+uKdiICiHwNReVuKFupJ/fKce0EDKhKS5UBVB/MOb7KmZq/ivj XIKz99K0qmIDzZC3R72C9pPEGM7bYVJlJBHhhLcE/7coWlRHp3LI1NEM4GHwl8l9 rCWi6LIZUXEBNbrQujq/gYxY4Zz0EYBCPN0NVDRgK4QQ8r7h7GGz3xZxQ8yYJJoG KXD6dZxaclABneLC84yjTg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvuddgudeijecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkffvuf fhffgjgggtgfesthejjhdttddtvdenucfhrhhomheptfhitghhrghrugcuofhilhhlvghr uceolehfrghnsheshhgrmhhnrghvohgvrdgtohhmqeenucggtffrrghtthgvrhhnpeevtd eftdejfefhleelhfdttdfhhffghfefudeftefghfehfefhffetvdehgeejueenucfkphep geeirddvfeehrddvvdejrddvgedpkeekrdeljedrvdejrdekfeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepihhnvghtpeegiedrvdefhedrvddvjedrvdegpdhhvghl ohepmhigvddrmhihthhhihgtqdgsvggrshhtshdrtghomhdpmhgrihhlfhhrohhmpeeomh hilhhlvghrsehhrghmnhgrvhhovgdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamnavoe.com: Sender is authorized to use 'miller@hamnavoe.com' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="miller@hamnavoe.com"; helo=mx2.mythic-beasts.com; client-ip=46.235.227.24 Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 31 Jul 2022 17:35:22 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=42769 helo=hamnavoe.com) by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from ) id 1oIGam-00ApiT-KI for 9fans@9fans.net; Sun, 31 Jul 2022 22:35:20 +0100 Message-ID: <1fb1629ae1bac84f3378269735b40860@hamnavoe.com> To: 9fans@9fans.net Subject: Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4) From: Richard Miller <9fans@hamnavoe.com> Date: Sun, 31 Jul 2022 22:35:17 +0100 In-Reply-To: <16592903190.8e7cccc4d.691312@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BlackCat-Spam-Score: 1 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b1a3fc68-1118-11ed-b577-c9c9e8323244 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNjY4NjQzZDExMTQ5ZmFiNC1NZmU3NGE4MDcwMDRkMTkwMTkxMGMw?= =?UTF-8?B?ZTMyPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mfe74a807004d1901910c0e32:1:JmTeCvp8YMSCq1EEct8Hzsedu5bWJes74ei6FUjdgJE What you're trying to do should work. I've just checked an ASIX usb2 ether dongle on a pi4 as '#l1', usbd recognises it and I can mount '#l1' on /net and configure it. I did have to add etherusb to the kernel config and rebui= ld first, as you did. The tricky part is that the real usb ether driver is /sys/src/cmd/usb/ether, which makes the device appear in /dev because that's the default directory where usbd mounts itself. (Use the -m flag for a different dir if you really want to.) The etherusb 'device' in the kernel is just a stub, which passes packets directly between the usb endpoint to the network interface, without having to go back and forth to the usb driver process. Just a performance shortcut; you can use a usb ether driver without etherusb but it's slower. When you start a usb ether driver, it tries a "bind" command with each of the '#l' ctl files in the kernel to see if one of them works as etherusb. If etherusb is configured in the kernel and enabled by a kernel parameter eg ether1=3Dtype=3Dusb, the bind will succeed and link the '#l1' device with the usb ether driver which did the bind. You can then mount '#l1' on /net in the usual way and configure /net/ether1. You should see a kernel message when the etherusb and usb ether drivers link up, with the MAC address of the dongle. For instance I see etherusb asix: 000606e00ae7 This should happen whether usbd starts the driver automatically or you do it by hand with usb/ether. Do you get any interesting error messages if you try 'usb/ether -d' ? ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T668643d11149fab4-Mfe74a= 807004d1901910c0e32 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription