That's not enough information, so I try an educated guess. It looks
like the file you opened is not recognized as serial interface. What
did you use as device name? FYI, it should be either "/dev/com1"
or /dev/ttyS0" for the first serial.
Corinna,
thanks a lot again for your precious help.
I us
On Feb 3 09:52, llandre wrote:
>
> >> I'm trying to manipulate the DTR signal of the serial port.
> >> As an example I used this code snippet:
> >> http://lists.exploits.org/upsdev/Feb2004/00013.html.
> >> I can open the com1, I can send and receive data but the ioctl I use
> >> to read the statu
> I'm trying to manipulate the DTR signal of the serial port.
> As an example I used this code snippet:
> http://lists.exploits.org/upsdev/Feb2004/00013.html.
> I can open the com1, I can send and receive data but the ioctl I use
> to read the status of the signals returns -1:
>
> int status;
On Feb 2 17:34, llandre wrote:
> Hi all,
>
> I'm trying to manipulate the DTR signal of the serial port.
> As an example I used this code snippet:
> http://lists.exploits.org/upsdev/Feb2004/00013.html.
> I can open the com1, I can send and receive data but the ioctl I use
> to read the status of
4 matches
Mail list logo