Virtual COM port on Linux
Byron Clark
byron at theclarkfamily.name
Tue Feb 23 10:18:10 MST 2010
On Tue, Feb 23, 2010 at 10:10:14AM -0700, Dave Smith wrote:
> I would love to write a bash script as simple as this:
>
> reboot-cable-modem.sh:
> #!/bin/bash
> echo 0 > /dev/ttyUSB0
> sleep 5
> echo 1 > /dev/ttyUSB0
>
> Do you think it would be that simple?
Here are the example commands from the product page:
on: echo -e 'xFFx01x01' > /dev/ttyUSB0
off: echo -e 'xFFx01x00' > /dev/ttyUSB0
--
Byron Clark
More information about the PLUG
mailing list