diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2011-10-19 20:28:01 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2011-10-19 20:28:01 +0200 |
| commit | 592ba774b1b19dedb5bb1392f87f696d87584801 (patch) | |
| tree | 0fe3bb4937a7c57785d33892cc8d84bd98351987 | |
| parent | 9425a1135e0bc7ee328e761f094274ee7df4b09a (diff) | |
| download | usb-wde1-tools-592ba774b1b19dedb5bb1392f87f696d87584801.tar.gz usb-wde1-tools-592ba774b1b19dedb5bb1392f87f696d87584801.zip | |
use "cu" instead of "socat"
| -rwxr-xr-x | munin/usb-wde1-log-last.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/munin/usb-wde1-log-last.sh b/munin/usb-wde1-log-last.sh index db27a13..2fd070b 100755 --- 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 |
