On Tue, 11 Jan 2005, Greg KH wrote:
> On Mon, Jan 10, 2005 at 02:24:22PM -0800, Pete Zaitcev wrote:
> > The 2.4 version looks sane, but I would like someone who has a known-working
> > pl2303 to test the patch below against possible breakage on 2.6. Unless it's
> > in 2.6 and we know that it does not make anything worse I'm not taking it
> > into 2.4.
> >
> > Best wishes,
> > -- Pete
> >
> > --- linux-2.6.10/drivers/usb/serial/pl2303.c 2005-01-05
> > 00:37:59.000000000 -0800
> > +++ linux-2.6.10-lem/drivers/usb/serial/pl2303.c 2005-01-10
> > 14:14:17.532446800 -0800
> > @@ -510,6 +510,12 @@
> > 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) {
> > __u16 index;
> > if (priv->type == HX)
> >
>
> Where does this "0x00 0x00" message come from? It isn't in the 2.6
> driver, and I don't know what it does to the device.
>
It comes of the Headerfile from the PL2303-driver from
Sam Kuo ([EMAIL PROTECTED])
#define PROLIFIC_SA_FLOW_NONE 0x0000 /* No flow control */
#define PROLIFIC_SA_FLOW_OCTS 0x0001 /* use CTS input to
throttle output */
#define PROLIFIC_SA_FLOW_ODSR 0x0002 /* use DSR input to
throttle output */
#define PROLIFIC_SA_FLOW_IDSR 0x0004 /* use DSR input to enable
receive */
#define PROLIFIC_SA_FLOW_IDTR 0x0008 /* use DTR output for input
flow control */
#define PROLIFIC_SA_FLOW_IRTS 0x0010 /* use RTS output for input
flow control */
#define PROLIFIC_SA_FLOW_ORTS 0x0020 /* use RTS to indicate data
available to send */
#define PROLIFIC_SA_FLOW_ERRSUB 0x0040 /* ???? guess ????
substitute inline errors */
#define PROLIFIC_SA_FLOW_OXON 0x0080 /* use XON/XOFF for output
flow control */
#define PROLIFIC_SA_FLOW_IXON 0x0100 /* use XON/XOFF for input
flow control */
One problem is that prolific dont serve this driver anymore.
I got the copy from
http://ftp.ing-steen.se/pcprog/drivers/treiberneu/treiber_linux/pl2303.h
--
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