Date: Fri, 10 Nov 2017 11:59:16 +1000 From: Kris G <netsick@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-usb@freebsd.org Subject: Re: usb quirks for ugen0.2: <TP-LINK USB 101001000 LAN> at usbus0 Message-ID: <CAFJznXDLCgU2m3tD4CDa29jfHcV2eNuOa8HqLi0pnP-a3fq7eg@mail.gmail.com> In-Reply-To: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> References: <CAFJznXBXvfb-F%2BBJgCe6GMznN1LpATfEJ7mHb%2Bd5ST=svv9RQQ@mail.gmail.com> <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org>
index | next in thread | previous in thread | raw e-mail
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@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
>
>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFJznXDLCgU2m3tD4CDa29jfHcV2eNuOa8HqLi0pnP-a3fq7eg>
