Re: Thunderbolt3/USB4 targeting: should the wiki materials be more explicit about Thunderbolt 3 vs. Thunderbolt 4 distinctions?

From: Mohammad Noureldin <mohammad_at_thelightbird.com>
Date: Mon, 03 Feb 2025 10:35:44 UTC
Hey Mark!

On Sun, Feb 2, 2025 at 9:22 PM Mark Millard <marklmi@yahoo.com> wrote:

> On Feb 2, 2025, at 10:03, Mohammad Noureldin <mohammad@thelightbird.com>
> wrote:
>
> > Hi Mark!
>
> Hello Mohammad,
>
> > . . .
> >
> >
> > I would like to end my email with notes and a question to you:
> > - Thanks for reading the wiki pages and pointing out that it needs some
> more details (as promised above I will work on that as I go)
> > - Thanks for sharing which HW you have access to and that you would like
> to see it work
> > - Question:
> > -# Which host(s) HW do you happen to have ?
> >
> > Looking forward to your reply
>
> Host HW I have some access to (not necessarily that FreeBSD is likely
> to support):
>
> ) Two MacMini 2018's
>
>   I'll  note that Apple does not describe such in terms of USB4,
>   given that the specification predates USB4. As I understand there
>   are respects in which they are capably of being USB4 compatible
>   for various uses but not necessarily USB4 compliant about
>   supporting everything required. An example is Thunderbolt 3 only
>   supporting somewhat shorter cabling at speed (0.7m instead of
>   0.8m), if I understand right.
>
>     • Support for the following combination of maximum concurrent display
> setups:
>         •
>             • Up to three displays:
>                 • Two displays with 4096-by-2304 resolution at 60Hz
> connected via Thunderbolt 3 plus one display with 4096-by-2160 resolution
> at 60Hz connected via HDMI 2.0
>             • Up to two displays:
>                 • One display with 5120-by-2880 resolution at 60Hz
> connected via Thunderbolt 3 plus one display with 4096-by-2160 resolution
> at 60Hz connected via HDMI 2.0
>     • Thunderbolt 3 digital video output supports
>         • Native DisplayPort output over USB-C
>         • Thunderbolt 2, DVI, and VGA output supported using adapters
> (sold separately)
> . . .
>     • Four Thunderbolt 3 (USB-C) ports with support for:
>         • DisplayPort
>         • Thunderbolt 3 (up to 40 Gb/s)
>         • USB 3.1 Gen 2 (up to 10 Gb/s)
>         • Thunderbolt 2, HDMI, DVI, and VGA supported using adapters (sold
> separately)
>     • Two USB-A ports (up to 5Gb/s)
> . . .
>
>   NOTE: Some later material below about devices supporting
>         Thunderbolt 3 Macs that predate USB4 but not
>         Thunderbolt 3 PCs that are not USB4 as well could
>         be relevant for this context.
>
> Host HW I likely will have some access to at some point:
>
> ) One 14" M4 Max MacBook Pro 2024
>
>     • Three Thunderbolt 5 (USB-C) ports with support for:
>     • Charging
>     • DisplayPort
>     • Thunderbolt 5 (up to 120Gb/s)
>     • USB 4 (up to 120Gb/s)
>
>     • 1 billion colors and:
>     • Up to four external displays: Up to three external displays with 6K
> resolution at 60Hz over Thunderbolt and one external display with up to 4K
> resolution at 144Hz over HDMI
>     • Up to three external displays: Up to two external displays with 6K
> resolution at 60Hz over Thunderbolt and one external display with up to 8K
> resolution at 60Hz or one external display with 4K resolution at 240Hz over
> HDMI
> Thunderbolt 4 digital video output
>     • Support for native DisplayPort 1.4 output over USB-C
> Thunderbolt 5 digital video output
>     • Support for native DisplayPort 2.1 output over USB-C
>
>
> Other HW that I have some access to:
>
> ) Multiple Envoy Pro FX
>
>     • One Host Port:
>       Thunderbolt 3 (USB-C) up to 40Gb/s (5000MB/s)
>       USB 3.2 Gen 2 (USB-C) up to 10Gb/s (1250MB/s)
>       USB 2.0/USB 3.0 backwards compatible
>
>     Chipset / Controller
>     • Thunderbolt: Intel Titan Ridge
>     • USB: Realtek RTL9210
>
> ) One OWC Thunderbolt Hub (later possibly two of them)
>
>     • (1) Host Port - Thunderbolt 4 (USB-C) up to 40Gb/s (5000MB/s)
>     • (3) Thunderbolt 4 (USB-C) Ports
>     • (1) USB 3.2 Gen 2 Type-A Port up to 10Gb/s (1250MB/s) - USB 2.0/3.0
> backwards compatible
>
>   "Now you can do more, effortlessly on":
>     "your Apple M1 Mac"
>     "any Apple ‘Intel’ Mac with Thunderbolt 3"
>     "any Thunderbolt 4 PC"
>
>    NOTE: The lack of "Thunderbolt 3 PC" is significant: Thunderbolt 3
>          PCs that are not any of Thunderbolt 4/5 or USB4 (v1 or v2)
>          as well are not supported as host systems. Yet Macs are.
>          (FreeBSD may well not make Thunderbolt 3 Macs supported.)
>
>     • Thunderbolt 4 host port provides up to 60W of power to the host
> computer.
>     • Thunderbolt 4 device ports (for external drives and other devices)
> provide 15W of power.
>     • USB port provides up to 1.5A of power for bus-powered drives and
> device charging.
>
>   I'll note that this might be a dynamic power context for handling
>   power acorss the ports: the external   power supply is only 110W,
>   not 112.5W (== 60W+3*15W+5V*1.5A). If it is not supplying power to
>   a host computer, the total would be under 110W. (There is also a
>   mode that can have extra power for the USB-A connection in order
>   to allow an Apple SuperDrive to be used. But it takes a special
>   driver to enable such under macOS.)
>
>     • Up to one 8K display @ 60Hz,
>     • or one 4K display @ 120Hz,
>     • or two 4K displays @ 60Hz,
>     • or one 4K display @ 60Hz,
>     • or one 4K display @ 30Hz,
>     • or two 5K displays @ 60Hz
>
>     • Thunderbolt 4: Up to 8K @ 60Hz or 4K @ 120Hz via a native
> Thunderbolt 4 display
>       or other display that supports USB-C connections and DisplayPort 1.4
>
>
> Other HW I likely will have some access to at some point:
>
> ) One CalDigit Thunderbolt 5 Element 5 Hub
>
>     • 1 x Thunderbolt 5 Host (Up to 120Gb/s)
>     • 3 x Thunderbolt 5 (80Gb/s)
>     • 3 x USB-A (10Gb/s)
>     • 2 x USB-C (10Gb/s)
>
>     Required context:
>     • Thunderbolt 5 Computer
>     • Thunderbolt 4 Computer
>     • Thunderbolt 3 Mac
>     • USB-C (USB4 or USB4 v2) Computer
>     • USB-C Computer/Tablet/Phone
>     • Thunderbolt/USB4 iPad
>     • USB-C ChromeBook
>
>   NOTE: That "Thunderbolt 3 Mac" is significant: Thunderbolt 3
>         PCs that are not any of Thunderbolt 4/5 or USB4 (v1 or v2)
>         as well are not supported as host systems. Yet Macs are.
>         (FreeBSD may well not make Thunderbolt 3 Macs supported.)
>
>     • Up to 90W Host Charging
>     • Each Downstream Thunderbolt 5 / USB4 v2 Port: 15W (5V/3A)
>     • Each USB-A Port: 7.5W (5V/1.5A)
>     • Each USB-C Port: 7.5W (5V/1.5A)
>
>   Note: No dynamic power involved.
>

Nice!!! Thats quite a set of HW you have. I took notes of this discussion
into the wiki pages for later reference.


>
>
> SIDE NOTE:
>
> It may well be that FreeBSD supporting the MacMini 2018 is
> unlikely. The same may be true of the M4 Max MacBook Pro
> 2024.
>

For the MacMinis 2018, I see they are Intel based ones. I am not sure if
FreeBSD as is runs on them with no issues, but when it comes to what
concerns this discussion what I've mentioned before about TBT3 support
priorities applies.

As for the Apple Silicon based ones, given our priorities they would be
indeed a good test case but that also depends on how far the support of
FreeBSD as is on such platforms is.


>
> I'm not expecting that the USB4 effort would enable use of
> the Windows Dev Kit 2023's USB-C ports, as it is not
> classified as a USB4 context as far as I know.
>

Ah, I saw you mention this one in different occasions on MLs and Discord.
Maybe detail the issues you have with it in a different thread ? It does
sound interesting.


>
> So I may not end up with a viable testing context.
>

I see your point and I do admire your eagerness to take part.

In my case I do tend to get 2nd hand HW. I am located in The Netherlands
and there is good market for this here. This helps me get more HW for the
cent compared to brand new ones.

Where are you located if I may ask ? Let's see if something can be arranged
whenever there is something ready to be tested.

If you like to share that in private, you can PM me on Discord or on IRC I
am mnour_bsd on #freebsd


>
> ===
> Mark Millard
> marklmi at yahoo.com
>
>
Wish you a good day/evening Mark

-- 
Thanks
- Mohammad Noureldin
--
"Life is like riding a bicycle. To keep your balance you must keep moving"
- Albert Einstein