UDCF(4)
π udcf π
okay bestie, welcome to section 4 of the Kernel Interfaces Manual β this one's all about udcf, the Gude ADS Expert mouseCLOCK USB timedelta sensor β¨
πΈ NAME πΈ
udcf β Gude ADS Expert mouseCLOCK USB timedelta sensor π°οΈ
π¦ SYNOPSIS π¦
udcf* at uhub?
π DESCRIPTION π
so the udcf driver is the little matchmaker between your machine and the Gude ADS Expert mouseCLOCK USB and the Expert mouseCLOCK USB II β receivers for the German DCF77 π©πͺ. and like, yes, receivers for the British MSF time signal station also exist, but udcf does not support them, and that's just how it is π.
udcf implements a timedelta sensor, and the delta (in nanoseconds, bb) between the received time info and the local time can be accessed through the sysctl(8) interface. the clock type shows up in the sensor description:
DCF77β German DCF77 time signal station (77.5 kHz longwave transmitter located in Mainflingen near Frankfurt).
the quality of the timedelta gets reported as the sensor status, and here's the vibe check on each one:
UNKNOWNβ no valid time information has been received yet. it's giving "we just met" πOKβ the time information is valid and the timedelta is safe to use for applications likentpd(8). slay, icon behavior πWARNβ the time information is still valid, but no new time information has been decoded for at least 5 minutes due to a reception or parity error. the timedelta should be used with care π¬CRITICALβ no valid time information has been received for more than 15 minutes since the sensor state degraded fromOKtoWARN. this is an indication that the hardware should be checked to see if it's still functional. and heads up: the timedelta will eventually degrade to a lie, because all computer internal clocks have a drift π
π₯ SEE ALSO π₯
intro(4), uhub(4), usb(4), ntpd(8), sysctl(8)
β HISTORY β
the udcf driver first appeared in OpenBSD 4.0. vintage β¨
π AUTHORS π
the udcf driver was written by Marc Balmer <mbalmer@openbsd.org>. thank u king π«Ά
π CAVEATS π
okay so this part matters, pay attention bestie:
DCF77 uses a 77.5 kHz long wave radio signal transmitted from near Frankfurt, Germany. up to about 900 km, the radio signal can travel directly to the receiver, providing a linearly increasing time offset based on distance π.
but β due to the curvature of the Earth β beyond this distance the signal must bounce off the lower ionosphere (residing at approximately 70 km elevation during the day, and 90 km at night), thus causing a non-linearly increasing time offset which can only be roughly calculated using trigonometry π.
since the distance and transmission geometry is not known, the clock receivers and the udcf driver currently make no effort to calculate this offset. we simply assume that the offset is small π€·ββοΈ (iconic of them, honestly).
and one more, because it's my favorite: in Germany, the train system uses DCF77 clocks. as the distance from Frankfurt increases, trains can be expected to run later ππ no cap.
fr fr, that's the whole manpage β every flag, every status, every caveat, all of it. don't come for me, I kept the facts π
and that's the wrap, bestie π this beauty is from the Debian edition, dated June 7, 2015, page UDCF(4) β stan a classic πβ¨πΈπ¦
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2006 - 2008 Marc Balmer <mbalmer@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms