~alpine/devel

main/gpsd PPS may fail if baudrate is not set with stty before startup Reference: http://catb.org/gpsd/upstream-bugs.html#tiocmwait v1 PROPOSED

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(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/257/mbox | git am -3
Learn more about email & git

[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

---
 main/gpsd/APKBUILD   | 2 +-
 main/gpsd/gpsd.confd | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)
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=2
pkgdesc="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
---