From 905a723528e499e9eae193b4d72388076d561f6c Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Wed, 25 Oct 2017 13:45:56 +0200 Subject: Add support for conmux --- lava-slave/scripts/cu-loop | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 lava-slave/scripts/cu-loop (limited to 'lava-slave/scripts/cu-loop') diff --git a/lava-slave/scripts/cu-loop b/lava-slave/scripts/cu-loop new file mode 100755 index 0000000..fbe5777 --- /dev/null +++ b/lava-slave/scripts/cu-loop @@ -0,0 +1,11 @@ +#!/bin/sh +DEV=$1 +BAUD=${2:-115200} + +while true; do + # NOTE: needs cu >= 1.07-24 + # c.f. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336996 + test -e $DEV && cu -l $DEV -s $BAUD --parity=none --nostop --nortscts dir + sleep 0.2 +done + -- cgit 1.2.3-korg