Hello all,
i'm using a digitus USB-RS232 adapter cable to connect my linux system
with a device via RS232. My System is a 2.4.19 kernel (Mandrake
distribution).
After insmod of usbserial and pl2303 i can send and receive data bytes
up to 230400 Baud via the /dev/ttyUSB0 device. I also can set the RTS
and DTR lines. But I cannot detect any linestate changes on the input
lines CTS, DSR, DCD and RI.
I opened the connection in my program with:
fd = open("/dev/ttyUSB0", O_RDWR | O_NOCTTY | O_NONBLOCK);
and read the current linestates with:
ioctl(fd,TIOCMGET,flags)
I also tested the digitus adapter on Windows98, and there it works fine,
so it shouldn't a hardware problem.
Maybe I must give the usbserial or pl2303 module some parameters or make
some other mistakes.
So please give my a hint
Many thanks in advance
Joachim
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users