Why can't I read in data from the serial port using a bash script?
I'm trying to log any data coming over the serial port. I'm trying this:
% /dev/ttyS0/ > logfile
But it ain't working. I can write to the serial port ok, so I know that is all set up correctly. Does anyone know how to do this?
By the way, I'm doing this in a shell script, so I can't use minicom or any other terminal utility like that.
|