Re: TP-LINK USB no carrier after speed test

From: Gary Jennejohn <garyj_at_gmx.de>
Date: Wed, 18 Jan 2023 11:45:21 UTC
On Tue, 17 Jan 2023 19:58:54 -0300 (-03)
Ivan Quitschal <tezeka@hotmail.com> wrote:

> On Tue, 27 Sep 2022, Hans Petter Selasky wrote:
>
> >
> > FYI: There is some experimental thunderbolt support at:
> >
> > https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhselasky%2Fusb4&amp;data=05%7C01%7C%7C14c86eee9f5d492c41d508daa0b49bdb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637998994857157968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=%2FOnIO3esoAmi1FSPkHRYpHCHkcN6U2rO9WhaimdaVbk%3D&amp;reserved=0
> >
> > But I'm not sure if it supports the hardware you've got.
> >
> > --HPS
> >
>
>
> Hi Hans
>
> i just told you early today that the problem was solved by sticking it into USB
> 2.0, well i was wrong. problem came back just like before
>
> I see Alexander also has the same XHCI that i have here
>
> xhci0@pci0:0:20:0:  class=0x0c0330 rev=0x20 hdr=0x00 vendor=0x8086 device=0xa0ed
> subvendor=0x1028 subdevice=0x0ab0
>      vendor     = 'Intel Corporation'
>      device     = 'Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller'
>      class      = serial bus
>      subclass   = USB
>
>
> maybe this tiger lake support is the problem?
>
>
> I have checked your git repository above, how could i test it here ? what dirs am i supposed to copy to my /usr/src ?
>
> thank you
>

That information is in the README.md:

This implements a basic kernel driver and userland tool for USB4 and
Thunderbolt3.  The relevant code is in the following locations:

    sys/dev/thunderbolt
    sys/modules/thunderbolt
    usr.sbin/tbtconfig

So, you need the contents of those directories.

You'll have to build a module under sys/modules/thunderbolt, which
should result in a tb.ko file, which will have to be loaded using
kldload.

You also have to go into /usr/src/usr.sbin/tbtconfig and build that
binary.  There's a manpage there.

It's not clear from the content of README.md whether Hans has added
thunderbolt to the files under /sys/conf.

--
Gary Jennejohn