Nathan Angelacos: 1
main/gpsd PPS may fail if baudrate is not set with stty before startup Reference: http://catb.org/gpsd/upstream-bugs.html#tiocmwait
2 files changed, 7 insertions(+), 4 deletions(-)
[alpine-devel] [PATCH] main/gpsd PPS may fail if baudrate is not set with stty before startup Reference: http://catb.org/gpsd/upstream-bugs.html#tiocmwait
Export this patch
Applied with the following fixups:
- cut the commit message in 2 lines
- remove a whiltespace damage
- fix the checksum
Thanks!
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
diff --git a/main/gpsd/APKBUILD b/main/gpsd/APKBUILD
index c79c330..5ae1ed5 100644
--- a/main/gpsd/APKBUILD+++ b/main/gpsd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=gpsd
pkgver=3.7
-pkgrel=1+pkgrel=2pkgdesc="A GPS daemon"
arch=all
url="http://catb.org/gpsd/"
diff --git a/main/gpsd/gpsd.confd b/main/gpsd/gpsd.confd
index 27bb332..e64657f 100644
--- a/main/gpsd/gpsd.confd+++ b/main/gpsd/gpsd.confd
@@ -3,6 +3,7 @@
# The GPS device (/dev/ttyUSB0, /dev/ttyS0, ...)
DEVICE=""
+BAUDRATE="4800"# Optional arguments
# Options include:
@@ -19,8 +20,10 @@ ARGS="-n "
# Serial setup
#
# For serial interfaces, options such as low_latency are recommended
-# Uncomment the following line to set the /dev/ttySxx device options, if -# desired:-+# Also, http://catb.org/gpsd/upstream-bugs.html#tiocmwait recommends +# setting the baudrate with stty+# Uncomment the following lines if using a serial device:+#+# /bin/stty -F ${DEVICE} ${BAUDRATE}# /bin/setserial ${DEVICE} low_latency
--
1.7.12.3
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---