Skip to content
~/ dnim.dev
▸ Writing ▸ About
All writing

~/writing/tags

#ublox

1 post

Precision timing
March 7, 2026 5 min

ts2phc and gpsd cannot share a serial port

One USB serial port, two programs that both need exclusive access. ts2phc wants RMC-only for PTP clock discipline; gpsd wants everything else. I wrote a demuxer that gives each one a synthetic port shaped exactly the way it expects.

#gps#ts2phc#ublox#timing

dnim.dev · built and broken by JR

Writing GitHub RSS Email
esc

    Keyboard shortcuts

    • Open the command palette ⌘K / Ctrl K
    • Show this help ?
    • Go home g then h
    • Go to writing g then w
    • Close any dialog Esc

    Press ? anytime to see this.