[time-nuts] FreeBSD with Garmin GPS 18 LVC

Jason Rabel jason at extremeoverclocking.com
Sun Mar 4 03:10:37 UTC 2007


Well there's your problem...

In your devfs.conf you should have:

link cuad0 gps0

Before doing that you can just make symlinks yourself to tinker around. Then
edit the devfs file to retain the info when you reboot.

cuad0 = com1
gpsX = the last number in the below 127.127.20.x line

NTP assumes that if there is a PPS signal it will be on Pin 1 (DCD?).

Then in your ntp.conf file:

server  127.127.20.0 minpoll 4 prefer
fudge   127.127.20.0 time1 0.0

time1 you might need to adjust depending on the length of your cable, if not
then you can exclude the fudge line. You should not need to set flag3, you
could spend weeks reading all the posts and the for / against setting it.
>From what I have read, if you do set it then basically it just uses the
kernel's hardpps code, but if you have it disabled then it uses NTP's code
which is more refined.

http://www.ece.udel.edu/~mills/ntp/html/drivers/driver20.html

If you have used linux and are used to the 'ntpstat' command, I dug up the
source from the author, modified a couple lines so it would compile for
FreeBSD. I do plan on working on it some more one of these days to fix some
issues with the original author's code, but for the most part it works
as-is.

http://files.extremeoverclocking.com/file.php?f=193

Jason


>The only link I've set up is in the /etc/devfs.conf:
>link cuaa1 refclock-0
>link cuaa1 pps0
>
>The problem with this is my serial port with the GPS is /dev/cuad0. 
>I've also tried plugging that in with no difference.





More information about the Time-nuts_lists.febo.com mailing list