Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 13:43:59 +1000
From:      Kris G <netsick@gmail.com>
To:        Kevin Lo <kevlo@freebsd.org>
Cc:        Hans Petter Selasky <hselasky@freebsd.org>, freebsd-usb@freebsd.org
Subject:   Re: usb quirks for ugen0.2: <TP-LINK USB 101001000 LAN> at usbus0
Message-ID:  <CAFJznXCLhk4S1x5ZPZkd01JMwVuC2m=p_stMePhxifvRgFLFJQ@mail.gmail.com>
In-Reply-To: <20171114015956.GA21019@ns.kevlo.org>
References:  <CAFJznXBXvfb-F%2BBJgCe6GMznN1LpATfEJ7mHb%2Bd5ST=svv9RQQ@mail.gmail.com> <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <CAFJznXDLCgU2m3tD4CDa29jfHcV2eNuOa8HqLi0pnP-a3fq7eg@mail.gmail.com> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> <CAFJznXC2MSm1OyEA62rMh9XZibni%2Bi5uNnA=EJAt7BWZv=ztYA@mail.gmail.com> <20171114015956.GA21019@ns.kevlo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks, seems like a miracle it worked at all since i was using rue not ure

Can I download these files in head..

/head/sys/dev/usb/usbdevs
/head/sys/dev/usb/net/if_ure.c
/head/sys/dev/usb/net/if_urereg.h

.. into my 11.1 release kernel source tree and then obviously add "device
ure" instead of "device rue" into my kernel config and recompile? (I tried
and it did build without any errors..)

Will that then make my interface change from ue0: to ure0: or is it re0 ?



On Tue, Nov 14, 2017 at 11:59 AM, Kevin Lo <kevlo@freebsd.org> wrote:

> Fixed in r325787, thanks.
>
> On Tue, Nov 14, 2017 at 09:50:24AM +1000, Kris G wrote:
> >
> > It doesn't use "ure" it makes use of "rue"
> >
> > ure - RealTek RTL8152 USB to Fast Ethernet controller driver
> > rue - RealTek RTL8150 USB to Fast Ethernet controller driver
> >
> > The TP-LINK USB 3.0 NIC is RTL8153 chipset -
> > http://www.tp-link.com/us/products/details/cat-5523_TL-
> UE300.html#specifications
> >
> > I don't even have ure in my kernel.. the only lines I had to add was..
> >
> > device cdce
> > device rue
> >
> > /var/log/dmesg.today:ue0: <USB Ethernet> on cdce0
> > /var/log/dmesg.today:ue0: Ethernet address: d4:6e:0e:0c:67:c5
> >
> > I am now confused as to what you would like me to patch and test...?
> >
> >
> >
> > On Tue, Nov 14, 2017 at 1:01 AM, Hans Petter Selasky <hps@selasky.org>
> > wrote:
> >
> > > On 11/13/17 14:54, Kevin Lo wrote:
> > >
> > >> On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote:
> > >>
> > >>>
> > >>> On 11/10/17 02:59, Kris G wrote:
> > >>>
> > >>>> USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1),
> > >>>>
> > >>>
> > >>> Thank you for your quirk:
> > >>>
> > >>> https://svnweb.freebsd.org/changeset/base/325630
> > >>>
> > >>
> > >> Err, that's incorrect.  The quirk is not necessary and you should add
> > >> vid/pid
> > >> to ure(4) instead.
> > >>
> > >>
> > > Hi Kris,
> > >
> > > Can you make a new patch for ure(4) and test?
> > >
> > > --HPS
> > >
> > >
> > _______________________________________________
> > freebsd-usb@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-usb
> > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFJznXCLhk4S1x5ZPZkd01JMwVuC2m=p_stMePhxifvRgFLFJQ>