usb quirks for ugen0.2: <TP-LINK USB 101001000 LAN> at usbus0
Kris G
netsick at gmail.com
Fri Nov 10 01:59:18 UTC 2017
Given that my usbquirk in /boot/loader.conf works..
hw.usb.quirk.0="0x2357 0x0601 0 0xffff UQ_CFG_INDEX_1"
... don't suppose someone can submit this as a patch for me?
In /sys/dev/usb/quirk/usb_quirk.c
Add...
USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1),
In /sys/dev/usb/usbdevs
Add..
vendor TPLINK 0x2357 TP-LINK
/* TP-LINK products */
product TPLINK RTL8153 0x0601 RTL8153 USB 10/100/1000 LAN
On Wed, Nov 8, 2017 at 6:04 PM, Hans Petter Selasky <hps at selasky.org> wrote:
> On 11/08/17 08:55, Kris G wrote:
>
>> Hi,
>>
>> I am finding that I have to run below command each time I plug the USB
>> device mentioned in subject to have ue0 interface appear.
>>
>> usbconfig -d 0.2 set_config 1
>>
>> How do I go about doing this automatically? At the moment I just have the
>> command above in /etc/rc.local but I prefer to fix it properly.
>>
>> Can someone give me some pointers?
>>
>
> Hi,
>
> Have a look here for example:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221852
>
> There is "UQ_CFG_INDEX_1" and you can also specify it in /boot/loader.conf
> .
>
> man usb_quirk
>
> --HPS
>
>
More information about the freebsd-usb
mailing list