git.cweiske.de
/
usb-wde1-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9425a11
)
use "cu" instead of "socat"
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 19 Oct 2011 18:28:01 +0000
(20:28 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 19 Oct 2011 18:28:01 +0000
(20:28 +0200)
munin/usb-wde1-log-last.sh
patch
|
blob
|
history
diff --git
a/munin/usb-wde1-log-last.sh
b/munin/usb-wde1-log-last.sh
index db27a13dc5ccf93ceb560d8678cb8f0c581316de..2fd070b51be705b9df96e9690a5414711899d4c4 100755
(executable)
--- a/
munin/usb-wde1-log-last.sh
+++ b/
munin/usb-wde1-log-last.sh
@@
-21,6
+21,12
@@
else
exit 1
fi
- socat /dev/ttyUSB0,b9600 STDOUT\
+ #socat breaks something that leads to
+ # WRONG VAL, WRONG CMD and FullBuff->Reset
+ # errors
+ #socat /dev/ttyUSB0,b9600 STDOUT\
+
+ # quit cu with "~."
+ cu -l /dev/ttyUSB0 -s 9600\
| $curdir/log-single-line.sh /tmp/usb-wde1-last
fi