X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from sparky.home.tetrasec.net (c-50-131-106-178.hsd1.ca.comcast.net [50.131.106.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nangel@nothome.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 347BCDC037B; Sun, 4 Nov 2012 03:20:45 +0000 (UTC) From: Nathan Angelacos To: alpine-devel@lists.alpinelinux.org Cc: Nathan Angelacos Subject: [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 Date: Sun, 4 Nov 2012 03:20:10 +0000 Message-Id: <1351999210-32730-1-git-send-email-nangel@alpinelinux.org> X-Mailer: git-send-email 1.7.12.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- 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 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 ---