Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2015 17:18:31 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Ben Woods <woodsb02@gmail.com>, freebsd-net@freebsd.org
Subject:   Re: Adding RTL8153 support to rue(4) USB to Ethernet driver
Message-ID:  <556F1AC7.3030505@selasky.org>
In-Reply-To: <CAOc73CDj1B1jWFVKhJ7CK4OqJbJ%2Bbiw1pSVH1YmKU6RvmO0OEw@mail.gmail.com>
References:  <CAOc73CBSWNrVc8i07x=Fkxk_u2%2B4yoGteYFdhryEUP-YZJczTg@mail.gmail.com> <CAOc73CDj1B1jWFVKhJ7CK4OqJbJ%2Bbiw1pSVH1YmKU6RvmO0OEw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/03/15 17:01, Ben Woods wrote:
> On 3 June 2015 at 22:59, Ben Woods <woodsb02@gmail.com> 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: <USB 101001000 LAN Realtek> at usbus1, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON (100mA)
>
>    bLength = 0x0012
>    bDescriptorType = 0x0001
>    bcdUSB = 0x0210
>    bDeviceClass = 0x0000  <Probed by interface class>
>    bDeviceSubClass = 0x0000
>    bDeviceProtocol = 0x0000
>    bMaxPacketSize0 = 0x0040
>    idVendor = 0x0bda
>    idProduct = 0x8153
>    bcdDevice = 0x3000
>    iManufacturer = 0x0001  <Realtek>
>    iProduct = 0x0002  <USB 10/100/1000 LAN>
>    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?556F1AC7.3030505>