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
(from parent 1:
ab5b70e
)
use socat again, with correct parameters this time
author
Christian Weiske
<cweiske@cweiske.de>
Sat, 22 Oct 2011 11:49:33 +0000
(13:49 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Sat, 22 Oct 2011 11:49:33 +0000
(13:49 +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 2fd070b51be705b9df96e9690a5414711899d4c4..9603dce5e893822860a86f03bd8eb0e1cbc933f3 100755
(executable)
--- a/
munin/usb-wde1-log-last.sh
+++ b/
munin/usb-wde1-log-last.sh
@@
-24,9
+24,6
@@
else
#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\
+ socat /dev/ttyUSB0,b9600,min=1,time=1,brkint=0,icrnl=0,ixoff=1,imaxbel=0,opost=0,isig=0,icanon=0,iexten=0,echo=0,echoe=0,echok=0 STDOUT\
| $curdir/log-single-line.sh /tmp/usb-wde1-last
fi