[time-nuts] raspberry pi, adafruit gps & ntp

David J Taylor david-taylor at blueyonder.co.uk
Mon Jun 17 11:12:45 EDT 2013


David,
[]
Ah!
Is the serial over usb working stable on your rpi?
I have lots of problems with usb devices dropping from the usb bus. Also
with a powered hub.
[]
> The software compiled and installed without any issues.  I've yet to
> figure out how to get it to auto-start - you might like to add that
> to your instructions.  I may add a section to my Web page with a
> step-by-step guide, as this is so much easier than have to use a
> non-standard kernel.

Will do.

For now:

edit /etc/rc.local and add the following (BEFORE the exit 0 statement
and AFTER the #!/bin/sh line):

/usr/local/rpi_gpio_ntp -N 1 -g 8

(replace '8' by the gpio pin)


Folkert van Heusden
===============================================

I'm using the USB GPS right off the USB port, no hub.  I've had no stability 
problems (the GPS stops working after some number of days, 25 typically, but 
maybe that's why it was cheap in any case!  RasPi-3 here has a Wi-Fi dongle 
and DVB-T TV receiver stick connected, and that appears to be stable as 
well.  I'm using a 5.25V 2A PSU as supplied by ModMyPi.com

Thanks for the auto-start information.  I'd previously seen more complicated 
ways of doing this - scripts involving the ability to stop and restart the 
software.  BTW: it's /user/local/bin/rpi_gpio_ntp, for the executable, I 
think.

Cheers,
David
-- 
SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-taylor at blueyonder.co.uk 



More information about the time-nuts mailing list