MBG(4)
π MBG(4) β Kernel Interfaces Manual β Meinberg Funkuhren timedelta sensor π
πΈ NAME πΈ
mbg β Meinberg Funkuhren timedelta sensor. That's it, bestie: a whole Unix driver for Meinberg Funkuhren radio clocks, and it's lowkey iconic. π°οΈβ¨
β¨ SYNOPSIS β¨
okay so the config vibe is literally just:
mbg* at pci?
periodt. π
π¦ DESCRIPTION π¦
The mbg driver provides support for Meinberg Funkuhren radio clocks (time signal station and GPS receivers). mbg implements a timedelta sensor, and the delta (in nanoseconds) between the received time information and the local time can be accessed through the sysctl(8) interface. no cap, that's the whole flex. π
The card type is indicated in the sensor description. Currently, the following cards are supported by mbg:
GPS170PCIβ 3.3V/5V 6-channel GPS receiver cardPCI32β 5V DCF77 time signal station receiver cardPCI509β 5V DCF77 time signal station receiver cardPCI510β 3.3V/5V DCF77 time signal station receiver cardPCI511β 3.3V/5V DCF77 time signal station receiver cardPEX511β PCI Express DCF77 time signal station receiver cardPZF180PEXβ PCI Express DCF77 time signal station receiver card
The quality of the timedelta is reported as the sensor status:
UNKNOWNβ No valid time information has been received yet.OKβ The time information is valid and thetimedeltais safe to use for applications likentpd(8).WARNβ The time information is still valid, but no new time information has been decoded for twelve hours (four days in the case of aGPS170PCIcard) due to a reception or parity error. Thetimedeltashould be used with care.CRITICALβ No valid time information has been received for more than twelve hours (or four days in the case of aGPS170PCIcard) since the sensor state degraded fromOKtoWARN. This is an indication that hardware should be checked to see if it is still functional.
bestie, if you see CRITICAL, that's your cue to check the hardware β the manpage is being dramatic but also correct. π
A second sensor provides the relative signal quality as a percentage. The status of this sensor is used to report the status of the device itself:
OKβ The clock is synchronized.WARNβ The device's clock is free running on the local oscillator. For DCF77 receiver cards this is not an error and can happen due to the nature of the signal transmission using longwave radio.CRITICALβ Hardware failure, e.g. communication with the device failed.
π₯ SEE ALSO π₯
go read these too, iykyk:
π HISTORY π
The mbg driver first appeared in OpenBSD 4.1. iconic behavior, honestly. π°οΈ
π«Ά AUTHORS π«Ά
The mbg driver was written by Marc Balmer <mbalmer@openbsd.org>. slay. π
This page's source/version is Debian, dated March 23, 2024, and the manual is MBG(4) β bye bestie, go sync your clock π β¨
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2006 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