From nobody Wed Jan 18 11:45:21 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NxkTg0k9qz2t0Ql for ; Wed, 18 Jan 2023 11:45:27 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NxkTd6L76z4DHy for ; Wed, 18 Jan 2023 11:45:25 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b="TghKwEL/"; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.15.19 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1674042323; bh=Li4SfezNkyPJjBc5Knf1HRUhmD8t5tBJzOVX3R2xqpQ=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References: Reply-To; b=TghKwEL/T0B4YhHoYfE9rpwAHT0mvgzB8+rZhr3XMk8rzG+nqYJGIttz6SEHTKfLt qSG9D7dVviJ036jYoXXwle9vbGEq1UuvROoxZWzG5a2qUarDcXZrk1Nbo90a4cAizI j93LU7iyPxAzu4jVLLsfobl8tylFeyiAie9VIZOMeYGSyTO9p4q5VCkr8L6WWs5LXr h/O0QrrJEtQx7WdH0OL1TvhPUqQEgORbzFap53zlnwXob1/cABv+NoIxzh6vhcHDmc dPd2DvoGYF7eU242d8q8DGXZrdMa+VdLu6aaeCnFvgWP/vKP2MCRQgq8RcXYjuY0AF Sp2tJFCkI8aZQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([217.226.51.8]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N9dsV-1ocx1i2IBJ-015YJL for ; Wed, 18 Jan 2023 12:45:23 +0100 Date: Wed, 18 Jan 2023 11:45:21 +0000 From: Gary Jennejohn To: "freebsd-current@freebsd.org" Subject: Re: TP-LINK USB no carrier after speed test Message-ID: <20230118124521.250366ef@ernst.home> In-Reply-To: References: <9c370afb-1931-f977-16a9-4915a82ec773@selasky.org> <5bf98c30-c00f-7e7a-3a3d-c0bd5862fb97@selasky.org> <1f11b131-7031-60db-4331-d95159c5b373@selasky.org> <4f8778a0-0c47-ff47-f954-ba4e8d9fc5e1@selasky.org> <93745237-5a3c-b81b-36d3-3c883bc4f2d3@selasky.org> <37d15b0a-0cc1-0830-98a9-c7e19b7a7ef5@selasky.org> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:nS++OrOzhj2KxOxcIF1K+8k4YbrGG3bY/vX1MzvzPSg0eOETCuY IaaZIbtkrvV5dTEeR4ngTw3F/HPYLd3ArwDvPZpT8RdCj34uDXSlF4ZEQoyQfzDAN/4Xutv qIqrRxggkxhEJ9thFu8H+g8TN7wUdKKh9M5EwkGZ9lq4kWJP8hew81NdvTwXQaJMQpdrNbO 9c5QPZWPhTHKWOpOiOi4w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:2a+5j+Fd7oE=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[-0.987]; NEURAL_SPAM_SHORT(0.70)[0.705]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_EQ_ADDR_ALL(0.00)[]; FREEMAIL_REPLYTO(0.00)[gmx.de]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.19:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; ARC_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NxkTd6L76z4DHy X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Tue, 17 Jan 2023 19:58:54 -0300 (-03) Ivan Quitschal 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=3Dhttps%3A%2F%2Fgi= thub.com%2Fhselasky%2Fusb4&data=3D05%7C01%7C%7C14c86eee9f5d492c41d508d= aa0b49bdb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637998994857157968%= 7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW= wiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3D%2FOnIO3esoAmi1FSPkHRYpHCHkcN= 6U2rO9WhaimdaVbk%3D&reserved=3D0 > > > > 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 i= nto 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=3D0x0c0330 rev=3D0x20 hdr=3D0x00 vendor=3D0x80= 86 device=3D0xa0ed > subvendor=3D0x1028 subdevice=3D0x0ab0 > vendor =3D 'Intel Corporation' > device =3D 'Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller' > class =3D serial bus > subclass =3D USB > > > maybe this tiger lake support is the problem? > > > I have checked your git repository above, how could i test it here ? wha= t 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. =2D- Gary Jennejohn