adam at os.inf.tu-dresden.de
Sun Oct 4 10:19:03 UTC 2009
On Thu Oct 01, 2009 at 21:20:19 -0400, Dale Blount wrote:
> Excuse me if this sounds a bit odd, but I'm trying to figure out exactly
> what minicom does when you invoke it with the default settings against a
> serial port. Long and short is that I have a custom application that
> can't read data from the serial port until I've run minicom against it
> once after each reboot. As I add more serial ports and similar
> applications it gets a bit old running minicom by hand against each port
> after each reboot. I've played around with setserial and stty and can't
> find any switches that emulate exactly what minicom manages to do.
> Can anyone poke me in the right direction?
One easy way I could think of is running strace on minicom, something
strace -o /tmp/log minicom ...
and then looking for the ioctl calls on the fd that is the character
device. -s and -x options for strace should be helpful.
Adam adam at os.inf.tu-dresden.de
More information about the minicom-devel