From owner-freebsd-usb@freebsd.org Sun Aug 30 14:26:32 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4079A9C6BA3 for ; Sun, 30 Aug 2015 14:26:32 +0000 (UTC) (envelope-from nicblais@clkroot.net) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 138A8810 for ; Sun, 30 Aug 2015 14:26:31 +0000 (UTC) (envelope-from nicblais@clkroot.net) Received: by iofe124 with SMTP id e124so69531688iof.1 for ; Sun, 30 Aug 2015 07:26:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jJk4DcAIfsJpe5UNb90SRVzQs9Zw9iHah7OcuKZaub4=; b=AYYlJIdL16u2wwInXmlEnowp+bnHQbK07L1+muWnREyRqQndjP4Jim3DixmzofumE4 g+s58v9Tpy+JUcXcmVzz0tqvIQS0ecDKcqgNkwpZ/AcD0n0bu+uK383s3drV5AsJXWB9 6kpGA2Wt8uekUT5nAz13czOse6YzXAJMbPROZSbsyRxboOsX9kcEPCnXrLY7BUuJeEiD mXR4junDjSHRxA11Zlyp6WkXYIeAigl8CiLHGtdTBIYIBMco+Rb/BZ9sVsCSdN0Xs9JS hXQsaWRKIt0jMQdmOyd+pVzfEp8m/YFEZv3U4TjiT5ez++mH/Aqsn03V5lLldCz2Mx2s CSeQ== X-Gm-Message-State: ALoCoQnrHU2IX0kUIV7CbHDPed6ijIDGUpANQybqt2rNBbulH0DMMkp456W3hbbQOW8zP7Ukyjv6 MIME-Version: 1.0 X-Received: by 10.107.153.200 with SMTP id b191mr20178753ioe.185.1440944381923; Sun, 30 Aug 2015 07:19:41 -0700 (PDT) Received: by 10.36.86.67 with HTTP; Sun, 30 Aug 2015 07:19:41 -0700 (PDT) X-Originating-IP: [2001:470:8:b3:e8b:fdff:fe59:b05] In-Reply-To: <55E2A7A8.4010900@selasky.org> References: <55E2A7A8.4010900@selasky.org> Date: Sun, 30 Aug 2015 10:19:41 -0400 Message-ID: Subject: Re: Support for Linksys USB3GIG ethernet adapter From: Nicolas Blais To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 14:26:32 -0000 Yep, that worked! The cdce driver is pretty plain option-wise but at least it's functional. Also tested on the BeagleBone Black and it worked fine (and was actually faster than on the RPI2) Other than manually running usbconfig or adding a rc.d script at boot, can we get the Linksys USB3GIGv1 adapter to be added to the list of supported devices by cdce? Here's a few outputs if interested: root@rpi2:~ # usbconfig -d 0.5 set_config 1 root@rpi2:~ # cdce0: on usbus0 ue1: on cdce0 ue1: Ethernet address: 94:10:3e:b7:ad:f2 root@rpi2:~ # dhclient ue1 DHCPREQUEST on ue1 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.140 -- renewal in 43200 seconds. root@rpi2:~ # ping 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 56 data bytes 64 bytes from 4.2.2.1: icmp_seq=0 ttl=53 time=23.512 ms 64 bytes from 4.2.2.1: icmp_seq=1 ttl=53 time=22.493 ms root@rpi2:~ # speedtest-cli Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from Distributel Communications (X.X.X.X)... Selecting best server based on latency... Hosted by Belair Technologies (Pointe-Claire, QC) [120.16 km]: 68.545 ms Testing download speed........................................ Download: 2.66 Mbit/s Testing upload speed.................................................. Upload: 1.11 Mbit/s root@beaglebone:~ # speedtest-cli Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from Distributel Communications (X.X.X.X)... Selecting best server based on latency... Hosted by Belair Technologies (Pointe-Claire, QC) [120.16 km]: 62.09 ms Testing download speed........................................ Download: 6.67 Mbit/s Testing upload speed.................................................. Upload: 1.92 Mbit/s Thanks! On Sun, Aug 30, 2015 at 2:50 AM, Hans Petter Selasky wrote: > On 08/30/15 00:56, Nicolas Blais wrote: > >> Has anyone had any luck getting the Linksys USB3GIGv1 USB/Ethernet adapter >> to work in FreeBSD? I have no issues in Linux, but it seems currently >> unsupported on -CURRENT. I posted on the forums in Network but was >> forwarded here. >> >> On FreeBSD 11-CURRENT (armv6-RPI2): >> ugen0.4: at usbus0 >> >> root@rpi2:~ # lsusb -d 13b1: -v >> Bus /dev/usb Device /dev/ugen0.4: ID 13b1:0041 Linksys >> Device Descriptor: >> bLength 18 >> bDescriptorType 1 >> bcdUSB 2.10 >> bDeviceClass 0 (Defined at Interface level) >> bDeviceSubClass 0 >> bDeviceProtocol 0 >> bMaxPacketSize0 64 >> idVendor 0x13b1 Linksys >> idProduct 0x0041 >> bcdDevice 30.00 >> iManufacturer 1 Linksys >> iProduct 2 Linksys USB3GIGV1 >> >> >> On Linux 3.19.8: >> usb 4-4: new SuperSpeed USB device number 12 using xhci_hcd >> usb 4-4: New USB device found, idVendor=13b1, idProduct=0041 >> usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6 >> usb 4-4: Product: Linksys USB3GIGV1 >> usb 4-4: Manufacturer: Linksys >> cdc_ether 4-4:2.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-4, CDC >> Ethernet Device >> >> > Try: > > usbconfig -d X.Y set_config 1 > > --HPS > >