jdd: yes there is need for system control. gpsd will not start magically if the gps is connected to the serial port. Something must make that happen. With a USB device, there is the possibility of adding a udev rule for your device. A serial port is more difficult. We use serial ports because we need the accuracy gained with the PPS signal that is only accurately available via the serial port. We are timing locations in a fast (up tp 90 km/h) vehicle. Everything is tagged with time. The location is then obtained for that time in the GPS data. Synchronization is key. On Wed, Jan 14, 2015 at 3:43 PM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
Of course that is why is it not automatic. I have no problem with that. But if I know there is a device, there is no mechanism for starting it. In the forum thread referenced earlier, there is a claim that older versions of gpsd in openSUSE had an init.d script that could be enabled. The same thing is still needed. If it is init.d or systemd is less a question. But the thread has a start at a systemd startup definition. So I will peruse that. Maybe it will find it's way in to the gpsd package if the maintainers are interested.
On Wed, Jan 14, 2015 at 3:36 PM, Per Jessen <per@computer.org> wrote:
Roger Oberholtzer wrote:
I am curious if there are any plans for a systemd method to start gpsd. I see that if the GPS is a USB device, then it is started via udev. But what if it is an RS-232 device? I think that then you must make your own startup script. I have no problem doing so. But is seems a bit odd to only start it automatically for a certain class of devices and do nothing at all for another class.
Might that not be because USB produces an interrupt when devices are connected/disconnected whereas you get no such thing with RS232?
-- Per Jessen, Zürich (7.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Roger Oberholtzer
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org