Marcel ??: > 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); > } > usbsprl driver is written according to Prolific's specification and its parameters configuration can satisfy most common devices. Current information is not enough to describe why it can't work with your special device.
> 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? > This is a known issue, see CR 6407327: usbsprl poor drain performance. We will fix it later. > 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? > Current usbsprl driver supports three kinds of Prolific chip sets: PL2303H, PL2303HX and PL2303X. The following devices from various vendors are verified to be supported under Solaris: Vendor: Prolific Model Name: PL2303 Vendor Id: "67b,2003" Vendor: Sitecom Model Name: CN-104 Vendor Id: "6189,2068" Vendor: IOGear Model Name: GUC232A Vendor Id: "557,2008" Vendor: ATEN Model Name: UC-232A Vendor Id: "557,2008" Vendor: ELECOM Model Name: UC-SGT Vendor Id: "56e,5004" Vendor: IO DATA Model Name: USB-RSAQ3 Vendor Id: "67b,aaa2" Vendor: RadioShack Model Name: 6-Ft. (26-183) Vendor Id: "5ad,fba" For more about usb serial issues you can refer to: http://www.sun.com/io_technologies/usb/USB-Faq.html#Serial Thanks Guoqing > Thanks, > Marcel >