USB NIC with PTP/IEEE1588 support

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
Does this exist?
Alternatively, laptops with integrated Ethernet port that use a chip that supports hardstamps could also be interesting I guess
 

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
I'm looking for USB (maybe thunderbolt), not PCIe adapters. Stuffing a PCIe nic into a thunderbolt GPU case isn't what I'm looking for.
 

sfx2000

New Member
Sep 23, 2023
3
4
3
thanks! Ordered one, will report back how it goes, but it seems promising. Somehow failed to find it myself
I think the challenge here is that while the NIC might be able to sort out PTP, the USB interface doesn't have the timing accuracy over time so that source isn't reliable.

If you need a level of precison - consider GPS with PPS support over UART - most GPS chipsets from good vendors (ublox for example) do a very good job there.

I used to do some work on UMTS/C2K small cells, where PTP was one item for timing... and outside of that, other sources (GPS, TCXO)...
 
Last edited:

NablaSquaredG

Bringing 100G switches to homelabs
Aug 17, 2020
1,834
1,211
113
If you need a level of precison - consider GPS with PPS support over UART - most GPS chipsets from good vendors (ublox for example) do a very good job there.
Ewww.

If you do it for your lab, then do it properly, grab an Intel i226 (or E810), and feed a real PPS signal into it ;)
 

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
If you need a level of precison - consider GPS with PPS support over UART - most GPS chipsets from good vendors (ublox for example) do a very good job there.
Still need to get the timing signal into the computer somehow, and i'm limited to the laptop form factor for... reasons. its also more of a case of me wanting to try out something cool than anything critical :D

The adapter just arrived, but seems the stock driver doesn't ship with PTP support enabled, might have to compile it myself with the flag set for it?

1737803823127.png
 

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
Great, the driver doesn't build when I set the flag to enable PTP support, probably because the interface for PTP info is currently in flux and it hasn't been updated to reflect that, and the windows driver doesn't have it enabled either.
 
  • Like
Reactions: nexox

NablaSquaredG

Bringing 100G switches to homelabs
Aug 17, 2020
1,834
1,211
113
Maybe try contacting the manufacturer ASIX, because they proudly showed PTP working with this chip on LinkedIn
 

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
1737813852768.png

patched the driver to at least get this output, can't test functionality yet with the stuff I have set up, but it was a tiny change, so probably should work.
Also sent an email to ASIX ofc.

Any easy ways to test if it actually works without having a ptp grandmaster in my hands yet?
 
  • Like
Reactions: arnbju and nexox

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
Installed linuxptp

running ptp4l it seems to be able to talk to another computer in my network using hardware timestamps on one side and software timestamps on the other, great!
 
  • Like
Reactions: arnbju and nexox

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
There's some weirdness with the driver, on one of my machines it gets loaded by default, on the other the generic linux kernel driver gets loaded instead

Also I cannot set the time of the hardware clock, so it always starts in 1970 and can't be changed from that

phc_ctl[8605.133]: set: failed to set clock time: Broken pipe

phc_ctl[8670.426]: clock time is 7068.738150570 or Thu Jan 1 02:57:48 1970
 

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
somehow ptp4l is able to change the hardware time while phc_ctl isn't. Guess rather have this than the other way around.

However I just spent an entire day trying to make the ptp client on windows 11 sync to ptp4l (windows using softstamps, ptp4l using the adapter and hardstamps) and eventually just gave up and instead spend an hour getting the commercial but free-ish timebeat software to work.
 

marc.jofre

New Member
Mar 19, 2025
3
0
1
@ThomasZeGerman

Thanks a lot for sharing your experience with this adapter in order to perform IEEE 1588 hardware timestamping capabilities.

With your experience, does this Delock 66045 USB to ethernet adapter implement PTP (hardware timestamp)?

Which drivers are needed to build a linux kernel for this device?

Any information is welcome

Marc
 

ThomasZeGerman

New Member
Jan 22, 2025
12
5
3
@ThomasZeGerman

Thanks a lot for sharing your experience with this adapter in order to perform IEEE 1588 hardware timestamping capabilities.

With your experience, does this Delock 66045 USB to ethernet adapter implement PTP (hardware timestamp)?

Which drivers are needed to build a linux kernel for this device?

Any information is welcome

Marc
Yes, the hardstamps work. You need to compile the driver yourself, you can download the source code from their website. Enable ptp hardstamps in the makefile.

Depending on the kernel you use, you might need some more tweaks, as I've shared.

Windows driver support will never come because, I paraphrase, windows sucks. Shouldn't be news to anyone, but still sad the driver support isn't enabled, on intel nics it works i think.