Subject: Re: Product specific code for uplcom.c
To: Keiichi SHIMA <keiichi@iijlab.net>
From: Martin Husemann <martin@duskware.de>
List: current-users
Date: 08/30/2006 10:15:08
On Wed, Aug 30, 2006 at 11:54:52AM +0900, Keiichi SHIMA wrote:
> if (UGEWT(ddesc->bcdDevice == 0x0300)
> sc->sc_type = UPLCOM_TYPE_HX;
> else if ((uaa->vendor == USB_VENDOR_PROLIFIC)
> && (uaa->product == XXX_RSAQ3))
> sc->sc_type = UPLCOM_TYPE_HX;
> else
> sc->sc_type = UPLCOM_TYPE_0;
>
> then USB-RSAQ3 is properly detected and works (I confirmed it in my
> local environment).
I think this is fine.
We will have to do even more of such hacks to fix the swapped RTS/DTR
controlls on some chip types.
Martin