Virtual COM port on Linux
Dave Smith
dave at thesmithfam.org
Tue Feb 23 10:10:14 MST 2010
Shane Hathaway wrote:
> Assuming the serial controller on that board is supported by Linux, when
> you plug in the device to a computer running a recent distribution,
> you'll get a device called /dev/ttyUSB0, which you can use like an
> ordinary serial port.
So I could use minicom to control it? Could I just echo strings into it
as well?
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?
--Dave
More information about the PLUG
mailing list