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

2010-08-20 Thread Hans Petter Selasky
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?

+#defineU3G_REG_LINE_CTRL_DTR   0x01 
+#defineU3G_REG_LINE_CTRL_RTS   0x01 

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


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

2010-08-20 Thread Alex RAY
On Fri, 20 Aug 2010 18:11:31 +0200
Hans Petter Selasky hsela...@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?
 
 +#defineU3G_REG_LINE_CTRL_DTR   0x01 
 +#defineU3G_REG_LINE_CTRL_RTS   0x01
 
 --HPS

Oops, my mistake, must be:
+#defineU3G_REG_LINE_CTRL_DTR   0x01 
+#defineU3G_REG_LINE_CTRL_RTS   0x02

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

-- 
Alexandr Rybalko r...@dlink.ua 
aka Alex RAY r...@ddteam.net

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org