Devuan fork of gpsd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
1.7 KiB

  1. gpsd for Debian
  2. ---------------
  3. There are three different ways to run gpsd:
  4. - from the command line
  5. Since gpsd expects to be started as root (see below for details), the gpsd
  6. binary is located in /usr/sbin and is most likely not in the search PATH of
  7. normal users.
  8. - as a service
  9. The debian package provides a SysV style init script, /etc/init.d/gpsd, to
  10. start gpsd at boot time. Run 'dpkg-reconfigure gpsd' to configure the
  11. service.
  12. - through the udev interface
  13. Although this is disabled by default, as it resulted in too much trouble for
  14. users of 'normal' usb <> serial converters, you can enable this feature by
  15. installing `/usr/share/doc/gpsd/examples/gpsd.rules' in `/etc/udev/rules.d'.
  16. Especially if you're using other usb <> serial converters, too, you want to
  17. configure the file to suit your needs before installing it.
  18. gpsd expects to be started as root. It needs root rights to open a shared
  19. memory segment to communicate with NTPd, and to open a control socket for
  20. device management if you have chosen this option. After startup, gpsd drops
  21. its privileges to the UID of 'nobody' and the GID of the group owning the
  22. first GPS device it is supposed to open. See gpsd(8) for a more detailed
  23. explanation.
  24. If you do not want to interface gpsd with ntpd, and not use a device control
  25. socket, there is no downside to starting gpsd as a unprivileged user/group.
  26. Make this user/group has r/w rights on the device the GPS is attached to.
  27. To keep the dependencies small, the client programs have been moved to a
  28. separate package, `gpsd-clients'. The python modules and programs are
  29. available in the `python-gps' package.
  30. -- Bernd Zeimetz <bernd@bzed.de> Sun, 14 Oct 2007 13:14:28 +0200