From owner-freebsd-usb@FreeBSD.ORG Fri Aug 20 20:20:59 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 891A81065697 for ; Fri, 20 Aug 2010 20:20:59 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8EA8FC0C for ; Fri, 20 Aug 2010 20:20:58 +0000 (UTC) Received: by bwz20 with SMTP id 20so3443494bwz.13 for ; Fri, 20 Aug 2010 13:20:57 -0700 (PDT) Received: by 10.204.78.143 with SMTP id l15mr1385420bkk.22.1282334307303; Fri, 20 Aug 2010 12:58:27 -0700 (PDT) Received: from localhost ([91.209.51.118]) by mx.google.com with ESMTPS id d27sm2290966bku.10.2010.08.20.12.58.24 (version=SSLv3 cipher=RC4-MD5); Fri, 20 Aug 2010 12:58:25 -0700 (PDT) Date: Fri, 20 Aug 2010 22:58:21 +0300 From: Alex RAY To: Hans Petter Selasky Message-Id: <20100820225821.330bb0ea.ray@ddteam.net> In-Reply-To: <201008201811.31398.hselasky@c2i.net> References: <20100820134902.64744506.ray@dlink.ua> <201008201811.31398.hselasky@c2i.net> Organization: DDTeam.net X-Mailer: Sylpheed 3.0.3 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Fri__20_Aug_2010_22_58_21_+0300_HmsuF_wT/JmaB_l5" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: patch: u3g + quirks: Add DTR/RTS support for QUALCOMM MSM6800 based modems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 20:20:59 -0000 This is a multi-part message in MIME format. --Multipart=_Fri__20_Aug_2010_22_58_21_+0300_HmsuF_wT/JmaB_l5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 20 Aug 2010 18:11:31 +0200 Hans Petter Selasky 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 aka Alex RAY --Multipart=_Fri__20_Aug_2010_22_58_21_+0300_HmsuF_wT/JmaB_l5--