Hi
> I have already tried to execute the bash script to wake up the UT-DT04
This doesn't work any longer.
I come up the attached solution using usbreset:
https://wiki.ubuntuusers.de/usbreset/
- Sven
#!/bin/bash
for dat in /sys/bus/usb/devices/*; do
if test -e $dat/manufacturer; then
if `grep "WCH.CN" $dat/manufacturer > /dev/null`; then
echo $dat
echo "Found";
file=`cat $dat/uevent |grep "DEVNAME=" | sed
"s#DEVNAME=#/dev/#g"`
echo $file
/usr/local/sbin/usbreset $file
fi
fi
done
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel