removed setserial dependency again as ebusd sets the low latency flag now itself
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@
|
|||||||
* added -N option to "read" command
|
* added -N option to "read" command
|
||||||
* added "--inject" option to inject remaining arguments as already seen messages
|
* added "--inject" option to inject remaining arguments as already seen messages
|
||||||
* use scans initiated by other participants and allow "--readonly" with "--scanconfig[=none]"
|
* use scans initiated by other participants and allow "--readonly" with "--scanconfig[=none]"
|
||||||
* let init script set the low_latency mode on serial device
|
* set the serial device to low latency mode to fix huge latency found on recent kernel versions
|
||||||
|
|
||||||
|
|
||||||
# 2.4 (2016-12-17)
|
# 2.4 (2016-12-17)
|
||||||
|
|||||||
Executable → Regular
+1
-10
@@ -29,19 +29,10 @@ instance="EBUSD_OPTS$2"
|
|||||||
instance=${!instance}
|
instance=${!instance}
|
||||||
|
|
||||||
start_instance () {
|
start_instance () {
|
||||||
local opts suffix dev
|
local opts suffix
|
||||||
opts=$1
|
opts=$1
|
||||||
shift
|
shift
|
||||||
suffix="${opts#EBUSD_OPTS}"
|
suffix="${opts#EBUSD_OPTS}"
|
||||||
dev=`echo " ${!opts}"|sed -e 's#^.* -d ##' -e 's# -.*$##'`
|
|
||||||
if [ -z "$dev" ]; then
|
|
||||||
dev=/dev/ttyUSB0
|
|
||||||
fi
|
|
||||||
if [ "${dev:0:5}" == '/dev/' ] && [ -c "$dev" ] && [ -x /bin/setserial ]; then
|
|
||||||
log_daemon_msg "Setting low latency for ebusd${suffix} device"
|
|
||||||
/bin/setserial "$dev" low_latency
|
|
||||||
log_end_msg $?
|
|
||||||
fi
|
|
||||||
log_daemon_msg "Starting ebusd${suffix}" ebusd
|
log_daemon_msg "Starting ebusd${suffix}" ebusd
|
||||||
pidfile=$PIDFILE_PREFIX${suffix}$PIDFILE_SUFFIX
|
pidfile=$PIDFILE_PREFIX${suffix}$PIDFILE_SUFFIX
|
||||||
start-stop-daemon --start --quiet --oknodo --pidfile $pidfile --exec $DAEMON -- --pidfile $pidfile ${!opts}
|
start-stop-daemon --start --quiet --oknodo --pidfile $pidfile --exec $DAEMON -- --pidfile $pidfile ${!opts}
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ FROM debian
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
libmosquitto1 \
|
libmosquitto1 \
|
||||||
curl \
|
curl
|
||||||
setserial
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
autoconf automake g++ make \
|
autoconf automake g++ make \
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ FROM debian
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
libmosquitto1 \
|
libmosquitto1 \
|
||||||
curl \
|
curl
|
||||||
setserial
|
|
||||||
|
|
||||||
LABEL maintainer "ebusd@ebusd.eu"
|
LABEL maintainer "ebusd@ebusd.eu"
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ FROM debian
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
libmosquitto1 \
|
libmosquitto1 \
|
||||||
curl \
|
curl
|
||||||
setserial
|
|
||||||
|
|
||||||
LABEL maintainer "ebusd@ebusd.eu"
|
LABEL maintainer "ebusd@ebusd.eu"
|
||||||
|
|
||||||
|
|||||||
Executable → Regular
+1
-1
@@ -70,7 +70,7 @@ Architecture: $ARCH
|
|||||||
Maintainer: John Baier <ebusd@ebusd.eu>
|
Maintainer: John Baier <ebusd@ebusd.eu>
|
||||||
Homepage: https://github.com/john30/ebusd
|
Homepage: https://github.com/john30/ebusd
|
||||||
Bugs: https://github.com/john30/ebusd/issues
|
Bugs: https://github.com/john30/ebusd/issues
|
||||||
Depends: setserial, libstdc++6 (>= 4.8.1), libc6, libgcc1$extralibs
|
Depends: libstdc++6 (>= 4.8.1), libc6, libgcc1$extralibs
|
||||||
Description: eBUS daemon.
|
Description: eBUS daemon.
|
||||||
ebusd is a daemon for handling communication with eBUS devices connected to a
|
ebusd is a daemon for handling communication with eBUS devices connected to a
|
||||||
2-wire bus system.
|
2-wire bus system.
|
||||||
|
|||||||
Reference in New Issue
Block a user