Adding RTL8153 support to rue(4) USB to Ethernet driver

Hans Petter Selasky hps at selasky.org
Wed Jun 3 15:17:42 UTC 2015


On 06/03/15 17:01, Ben Woods wrote:
> On 3 June 2015 at 22:59, Ben Woods <woodsb02 at 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 at 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



More information about the freebsd-net mailing list