Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2017 09:04:28 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Kris G <netsick@gmail.com>, freebsd-usb@freebsd.org
Subject:   Re: usb quirks for ugen0.2: <TP-LINK USB 101001000 LAN> at usbus0
Message-ID:  <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org>
In-Reply-To: <CAFJznXBXvfb-F%2BBJgCe6GMznN1LpATfEJ7mHb%2Bd5ST=svv9RQQ@mail.gmail.com>
References:  <CAFJznXBXvfb-F%2BBJgCe6GMznN1LpATfEJ7mHb%2Bd5ST=svv9RQQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51a971f6-2ddc-6a52-c0de-60f37a9207f1>