From owner-freebsd-net@FreeBSD.ORG Wed Jun 3 15:17:42 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C90E3CEA for ; Wed, 3 Jun 2015 15:17:42 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C9961128 for ; Wed, 3 Jun 2015 15:17:42 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6F2401FE022; Wed, 3 Jun 2015 17:17:40 +0200 (CEST) Message-ID: <556F1AC7.3030505@selasky.org> Date: Wed, 03 Jun 2015 17:18:31 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Ben Woods , freebsd-net@freebsd.org Subject: Re: Adding RTL8153 support to rue(4) USB to Ethernet driver References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 15:17:42 -0000 On 06/03/15 17:01, Ben Woods wrote: > On 3 June 2015 at 22:59, Ben Woods wrote: >> Hi everyone, >> >> I am wondering what it would take to add support for RTL8153 to the >> rue(4) USB to Fast Ethernet driver for Realtek. >> >> I bought one of these from NEC in Japan (their part number >> PC-VP-BK06), as shown here (use Google translate): >> http://121ware.com/product/option/cable/pc-vp-bk06/index.html >> >> Here is the diff when support was added to the Linux kernel: >> https://lkml.org/lkml/2013/7/7/127 >> >> Regards, >> Ben >> >> -- >> From: Benjamin Woods >> woodsb02@gmail.com > > I nearly forgot the output from my usbconfig(8): > > # usbconfig -u 1 -a 2 dump_device_desc > ugen1.5: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0210 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0bda > idProduct = 0x8153 > bcdDevice = 0x3000 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <9CEBE81A1976> > bNumConfigurations = 0x0002 > > Regards, > Ben Hi, Can you dump the configuration descriptors? Have you tried: usbconfig -d X.Y set_config 1 --HPS