Hallo,
If a programm set CRTSCTS to enable hardware-handschaking in the PL2303-device
this stays until the device is unplugged.
This is because CLOCAL is not supported in the driver.
Following works for me:
------
*** pl2303.c.org Thu Jan 6 12:29:34 2005
--- pl2303.c Thu Jan 6 12:31:24 2005
***************
*** 379,384 ****
--- 379,390 ----
dbg ("0xa1:0x21:0:0 %d - %x %x %x %x %x %x %x", i,
buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[6]);
+ if (cflag & CLOCAL) {
+ i = usb_control_msg (serial->dev, usb_sndctrlpipe (serial->dev,
0),
+ VENDOR_WRITE_REQUEST,
VENDOR_WRITE_REQUEST_TYPE,
+ 0x0, 0x0, NULL, 0, 100);
+ dbg ("0x40:0x1:0x0:0x0 %d", i);
+ }
if (cflag & CRTSCTS) {
i = usb_control_msg (serial->dev, usb_sndctrlpipe (serial->dev,
0),
VENDOR_WRITE_REQUEST,
VENDOR_WRITE_REQUEST_TYPE,
--
MFG Gernot
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel