summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2008-02-23 20:03:59 +0000
committerSteve Arnold <nerdboy@gentoo.org>2008-02-23 20:03:59 +0000
commit526cb746c344f0db28fc5debe877057fdcf62f91 (patch)
treef3fd9163d614e3e6acbb3c4a30e4758a5226cffe /sci-geosciences/gpsd/files
parentApply the patch for bug #208631 also in 3.5.9. (diff)
downloadgentoo-2-526cb746c344f0db28fc5debe877057fdcf62f91.tar.gz
gentoo-2-526cb746c344f0db28fc5debe877057fdcf62f91.tar.bz2
gentoo-2-526cb746c344f0db28fc5debe877057fdcf62f91.zip
updated to latest version and new udev rules (closes bug #210079)
(Portage version: 2.1.4.1)
Diffstat (limited to 'sci-geosciences/gpsd/files')
-rw-r--r--sci-geosciences/gpsd/files/99-gpsd-usb.rules9
-rw-r--r--sci-geosciences/gpsd/files/gpsd.conf5
2 files changed, 13 insertions, 1 deletions
diff --git a/sci-geosciences/gpsd/files/99-gpsd-usb.rules b/sci-geosciences/gpsd/files/99-gpsd-usb.rules
new file mode 100644
index 000000000000..592b509314b8
--- /dev/null
+++ b/sci-geosciences/gpsd/files/99-gpsd-usb.rules
@@ -0,0 +1,9 @@
+# udev rules for the gpsd USB hotplugging (without hotplug)
+
+SUBSYSTEM!="tty", GOTO="gpsd-usb_rules_end"
+ACTION!="add", GOTO="gpsd-usb_rules_end"
+
+KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k"
+
+LABEL="gpsd-usb_rules_end"
+
diff --git a/sci-geosciences/gpsd/files/gpsd.conf b/sci-geosciences/gpsd/files/gpsd.conf
index b96b63aa10d8..f9c7c4a2d763 100644
--- a/sci-geosciences/gpsd/files/gpsd.conf
+++ b/sci-geosciences/gpsd/files/gpsd.conf
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/files/gpsd.conf,v 1.5 2007/01/14 23:01:11 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/files/gpsd.conf,v 1.6 2008/02/23 20:03:59 nerdboy Exp $
# Config file for gpsd server
@@ -21,5 +21,8 @@
#GPS_DEV="/dev/ttyS0
+# Use the following for gpsd with ntp instead of the older one below
+#GPSD_OPTS="-n ${GPS_DEV}"
+
GPSD_OPTS="-P /var/run/gpsd.pid -f GPS0 -F /var/run/gpsd.sock"