From owner-freebsd-questions@FreeBSD.ORG Sat Aug 30 09:23:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3ACB1C5E for ; Sat, 30 Aug 2014 09:23:21 +0000 (UTC) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C5CE512DB for ; Sat, 30 Aug 2014 09:23:20 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id s7U9N9nl009843; Sat, 30 Aug 2014 11:23:09 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 0D48212513; Sat, 30 Aug 2014 11:23:09 +0200 (CEST) Date: Sat, 30 Aug 2014 11:23:09 +0200 From: Roland Smith To: Ross Penner Subject: Re: USB ethernet adapter support Message-ID: <20140830092309.GA13466@slackbox.erewhon.home> Mail-Followup-To: Ross Penner , freebsd-questions@freebsd.org References: <1409380442.2672021.158440789.5C42A334@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <1409380442.2672021.158440789.5C42A334@webmail.messagingengine.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2014 09:23:21 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 29, 2014 at 11:34:02PM -0700, Ross Penner wrote: > I have a USB ethernet adapter that doesn't seem to work out of the box > on my 10.0 system. I'm hoping somebody can help me figure out what > driver to load, or if there even is a driver available. >=20 > When I plug the device into the FreeBSD machine the only line on dmesg > is: > ugen4.2: at usbus4 >=20 > It does work with my Ubuntu 14.04 system. I've added the dmesg output in > the hopes that it will be helpful: > [137513.415146] usb 1-1.5: new high-speed USB device number 6 using > ehci-pci > [137513.508489] usb 1-1.5: New USB device found, idVendor=3D13b1, > idProduct=3D0041 > [137513.508493] usb 1-1.5: New USB device strings: Mfr=3D1, Product=3D2, > SerialNumber=3D6 > [137513.508494] usb 1-1.5: Product: Linksys USB3GIGV1 > [137513.508495] usb 1-1.5: Manufacturer: Linksys > [137513.508497] usb 1-1.5: SerialNumber: 000001000000 > [137513.528939] cdc_ether 1-1.5:2.0 eth1: register 'cdc_ether' at > usb-0000:00:1a.0-1.5, CDC Ethernet Device, b4:75:0e:8f:5e:90 > [137513.528960] usbcore: registered new interface driver cdc_ether > [137518.015729] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready You might get it to work with cdce(4). From the manual page: Many USB devices notoriously fail to report their class and interfaces correctly. Undetected products might work flawlessly when their vendor and product IDs are added to the driver manually. You will have to patch the files /usr/src/sys/dev/usb/usbdevs and /usr/src/sys/dev/usb/net/if_cdce.c to add this device. Everything *between* the lines starting with =E2=80=9C+++++=E2=80=9D is the patch; +++++ patch for /usr/src/sys/dev/usb/usbdevs +++++ --- usbdevs.orig 2014-08-30 10:40:43.000000000 +0200 +++ usbdevs 2014-08-30 10:42:58.000000000 +0200 @@ -1402,6 +1402,7 @@ product CISCOLINKSYS WUSB54GR 0x0023 WUSB54GR product CISCOLINKSYS WUSBF54G 0x0024 WUSBF54G product CISCOLINKSYS AE1000 0x002f AE1000 +product CISCOLINKSYS USB3GIGV 0x0041 USB3GIGV product CISCOLINKSYS2 RT3070 0x4001 RT3070 product CISCOLINKSYS3 RT3070 0x0101 RT3070 +++++ patch for /usr/src/sys/dev/usb/usbdevs +++++ Save this patch to a file (e.g. usbdevs.diff) and use the patch(1) utility = to apply it; # cd /usr/src/sys/dev/usb/ # patch