[LinuxPPS] Newbi questions. Testing without hardware and configure and build NTP with OnCore support?
Hal V. Engel
hvengel at astound.net
Tue Jun 3 22:01:57 CEST 2008
On Monday 02 June 2008 10:56:02 pm Remco den Besten wrote:
> Hello Hal,
>
> Look at
> http://rembl.org/index.php/2008/04/19/motorola-oncore-ut-and-linuxpps/ and
> give it a try.
>
> Remco
Remco,
Thanks that helped a lot. I was even able to use the Gentoo ebuild for ntp by
setting the parse-clocks use variable once I had things correctly setup. At
this point I have everything working as far as I can test it at this point. I
will know for sure after I have my GPS hooked up in a few days.
As a side note I tried a modified for my distro version of the UDEV rules that
I found in another email in the archives and these where not working. Here is
what I found worked:
KERNEL=="ttyS0", RUN+="/bin/setserial -v /dev/%k low_latency hardpps",
SYMLINK+="oncore.serial.0"
KERNEL=="pps0", OWNER="root", GROUP="uucp", MODE="0660",
SYMLINK+="oncore.pps.0", OPTIONS+="last_rule"
The main problem with the original version was it had
RUN+="/bin/setserial -v %k low_latency hardpps"
and the setserial command was not finding the device since %k resolved to
ttyS0 and setserial needed /dev/ttyS0.
Hal
>
> At this point I am trying to figure out how to build ntp so that it
> supports the OnCore. I think that ntp needs to have the parse-clocks use
> flag set (it is off by default) to build with PPS support but that does not
> appear to be enough since it refuses to configure for an ONCORE with this
> use flag. I have tried building it by hand and even with --enable-ONCORE it
> will not build the oncore driver. I get the following during configuration:
>
>
> checking for ONCORE Motorola VP/UT Oncore GPS... no
>
>
> I used the following configure command:
>
>
> ./configure --prefix=/usr --enable-ONCORE --enable-SHM --enable-ipv6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20080603/4dded36a/attachment.htm
More information about the LinuxPPS
mailing list