I have some trouble setting up a Brandywine Communications PCI-
SyncClock32Univ as a reference clock in a Linux computer.
refclock_gpsvme.c seems to support the Brandywine Communications PCI-
SyncClock32Univ. The memory map in struct psc_regs do match.
ntp.conf I have added:
What I do not know is what device driver to use.
The PCI-SyncClock32Univ features a PLX Technology PCI 9030 device to
interface with the PCI bus. The Linux driver can be downloaded from
I installed this driver (I tried both v4.40 and v5.10 of the SDK), and
I make a link like this
ln -s /dev/plx/pci9030-0 /dev/refclock0
This makes ntpd exit with a segmentation fault. refclock_gpsvme has an
ioctl uses PSC_REGS as shown here:
#define PSC_REGS _IOR('K', 0, long) /* ioctl
But this does not result in the base address needed for the memory
map, so a read result ofcourse in a segmentation fault.
The PLX SDK uses the 'P' as magic, so it seems that refclock_gpsvme.c
is designed to use a different device driver than the one provided in
the PLX SDK.
Is there somebody how knows more about this?
Thanks in advance.