I compiled the src with gcc -o linux-serial-test linux-serial-test.c
I have a null modem cable from ttyS0 to ttyS4. Both tty are real rs-232 serial ports.
In shell1 I ran:
linux-serial-test -s -e -p /dev/ttyS4 -t -c -l 250 -b 57600
In shell2 I ran:
linux-serial-test -s -e -p /dev/ttyS0 -r -c -b 57600
In both instances I get:
Error setting RS-232 mode: Inappropriate ioctl for device
and then both instances appear to operate normally.
The error output is paltry. Any suggestions on what to add to the output to narrow down for you what is wrong?
thanks
oldunixguy
I compiled the src with gcc -o linux-serial-test linux-serial-test.c
I have a null modem cable from ttyS0 to ttyS4. Both tty are real rs-232 serial ports.
In shell1 I ran:
linux-serial-test -s -e -p /dev/ttyS4 -t -c -l 250 -b 57600
In shell2 I ran:
linux-serial-test -s -e -p /dev/ttyS0 -r -c -b 57600
In both instances I get:
Error setting RS-232 mode: Inappropriate ioctl for device
and then both instances appear to operate normally.
The error output is paltry. Any suggestions on what to add to the output to narrow down for you what is wrong?
thanks
oldunixguy