From owner-freebsd-net@FreeBSD.ORG Wed Jun 3 15:01:28 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 F15903CC for ; Wed, 3 Jun 2015 15:01:28 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 BD43D1DE9 for ; Wed, 3 Jun 2015 15:01:28 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by igbpi8 with SMTP id pi8so113392582igb.0 for ; Wed, 03 Jun 2015 08:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FYI19X4CsQous2KARo/Yqmsam3h6Nr/rTDBABp2NjQ8=; b=E7hLbEMSRnGqmZoXFTuLHy+6aElI1As5pr5zAqg/I39/EAm2KcKzHPPiO2Rk5lTa1t 8mlBmFU5UG4C7kTHISJgici+6cj7tWi1wCN5aPCFl2I9DKfo2PE+xf0JQugQi1r7Waf0 gAmcy4FO5cyD5QKEbap6dQNYTOIbjki7iH+1iUmmHlPpjI1ozLo+8ThPuSkn4tmNG9QY uvIpYg1ZURbfHM4ifjDec1XWNq0XRTjDF7REAauN6xO7s8/YGdO6jW+nKfjcO1lNvBZj EDA4k9Ho/N1mXRlGtqSgZt91rYlkOtDZeZvFSsvFL/DMVKNgUFBcWbyJyXlB5V///uDw DZ1A== MIME-Version: 1.0 X-Received: by 10.107.138.208 with SMTP id c77mr14112447ioj.24.1433343688109; Wed, 03 Jun 2015 08:01:28 -0700 (PDT) Received: by 10.64.236.10 with HTTP; Wed, 3 Jun 2015 08:01:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Jun 2015 23:01:28 +0800 Message-ID: Subject: Re: Adding RTL8153 support to rue(4) USB to Ethernet driver From: Ben Woods To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 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:01:29 -0000 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