Hi,
I have some issues with the usbsprl driver:
1. hardware flow ctl is always enabled
I use only RX,TX and GND in my cable and peripheral hardware and cannot
communicate via Prolific adapter because hw flow ctl appears to be always
enabled.
If I remove the following initialization code (which enables hw flow ctl for a
rev. H chip) from pl2303_open_hw_port(), my problems are gone:
/* Set DCR0 */
if ((rval = pl2303_cmd_vendor_write0(plp, SET_DCR0,
DCR0_INIT_H)) != USB_SUCCESS) {
return (rval);
}
2. every tcdrain() call takes 500 milliseconds
The usbsprl driver just does a 500ms sleep instead of waiting for the fifo
to drain in pl2303_fifo_drain(), even if there is just one byte in the FIFO.
Is there a reason this was not implemented properly, like it was done
in other serial drivers?
3. I get data corruption when using a PL2303 rev X based USB adapter (the
Sabrent SBT-USC1M)
I get data corruption even when sending just 3 bytes with a rev. X chip.
My settings are: 9600 baud, 8 bits, 1 stop bit, no parity, no flow control.
If I use a PL2303 rev. H based USB adapter (the GMUS-03), everything works just
fine.
Is there someone who has used the Sabrent SBT-USC1M successfully?
Thanks,
Marcel
--
This message posted from opensolaris.org