patch: u3g + quirks: Add DTR/RTS support for QUALCOMM MSM6800 based modems

Alex RAY ray at ddteam.net
Fri Aug 20 20:20:59 UTC 2010


On Fri, 20 Aug 2010 18:11:31 +0200
Hans Petter Selasky <hselasky at c2i.net> wrote:

> On Friday 20 August 2010 12:49:02 Alexandr Rybalko wrote:
> > Hi,
> > 
> > The attached patch (also at http://my.ddteam.net/files/usb.serial.diff) add
> > support for DTR/RTS on QUALCOMM MSM6800 based modems (Known: AnyData
> > ADU-500A, ADU-510A).
> > 
> > Please review and apply if the changes are okay.
> > Let me know if you have any comments.
> 
> DTR and RTS are defined to the same value. Is this correct?
> 
> +#define        U3G_REG_LINE_CTRL_DTR   0x01 
> +#define        U3G_REG_LINE_CTRL_RTS   0x01
> 
> --HPS

Oops, my mistake, must be:
+#define        U3G_REG_LINE_CTRL_DTR   0x01 
+#define        U3G_REG_LINE_CTRL_RTS   0x02

I attach correct patch and refresh http://my.ddteam.net/files/usb.serial.diff.

-- 
Alexandr Rybalko <ray at dlink.ua> 
aka Alex RAY <ray at ddteam.net>



More information about the freebsd-usb mailing list