Hi,
Workng with an experimental ntp test rig, with 3 local hardware time server references and one external from an internet ntp pool. The 1pps sync via the serial port dcd line is working fine, but having trouble with the parallel port ack alternative, as not sure which /dev name to use. From docs, it seems that there are 3 possible parallel port devices, lpt0, ppi0 and ppbus0. Both ppi0 and lpt0 appear in /dev. but not the ppbus entry, nor ppc1, which is found during boot. Have tried using lpt0 and ppi0, but both return errors:
ppi0: Inappropriate ioctl for device
lpt0: Device busy.
Hardare in use is a mini itx atom machine. /var/log/messages reports:
Aug 14 04:56:04 ntp-host kernel: ppc1: <Parallel port> port 0x378-0x37f irq 5 on acpi0
Aug 14 04:56:04 ntp-host kernel: ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode
Aug 14 04:56:04 ntp-host kernel: ppbus0: <Parallel port bus> on ppc1
Aug 14 04:56:04 ntp-host kernel: lpt0: <Printer> on ppbus0
Aug 14 04:56:04 ntp-host kernel: lpt0: Interrupt-driven port
Aug 14 04:56:04 ntp-host kernel: ppi0: <Parallel I/O> on ppbus0
From that, looks like ppc1 is closest to the hardware, but nothing in /dev, so which is the correct device to use ?. Ntp docs are pretty good, but nothing at that sort of FreeBSD specific level...
Thanks
Chris
Workng with an experimental ntp test rig, with 3 local hardware time server references and one external from an internet ntp pool. The 1pps sync via the serial port dcd line is working fine, but having trouble with the parallel port ack alternative, as not sure which /dev name to use. From docs, it seems that there are 3 possible parallel port devices, lpt0, ppi0 and ppbus0. Both ppi0 and lpt0 appear in /dev. but not the ppbus entry, nor ppc1, which is found during boot. Have tried using lpt0 and ppi0, but both return errors:
ppi0: Inappropriate ioctl for device
lpt0: Device busy.
Hardare in use is a mini itx atom machine. /var/log/messages reports:
Aug 14 04:56:04 ntp-host kernel: ppc1: <Parallel port> port 0x378-0x37f irq 5 on acpi0
Aug 14 04:56:04 ntp-host kernel: ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode
Aug 14 04:56:04 ntp-host kernel: ppbus0: <Parallel port bus> on ppc1
Aug 14 04:56:04 ntp-host kernel: lpt0: <Printer> on ppbus0
Aug 14 04:56:04 ntp-host kernel: lpt0: Interrupt-driven port
Aug 14 04:56:04 ntp-host kernel: ppi0: <Parallel I/O> on ppbus0
From that, looks like ppc1 is closest to the hardware, but nothing in /dev, so which is the correct device to use ?. Ntp docs are pretty good, but nothing at that sort of FreeBSD specific level...
Thanks
Chris