Skip to content

Commit

Permalink
use "cu" instead of "socat"
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske committed Oct 19, 2011
1 parent 9425a11 commit 592ba77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion munin/usb-wde1-log-last.sh
Expand Up @@ -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

0 comments on commit 592ba77

Please sign in to comment.