From owner-freebsd-current@FreeBSD.ORG  Tue Jan 13 15:40:35 2009
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 19EF4106564A
	for <current@freebsd.org>; Tue, 13 Jan 2009 15:40:35 +0000 (UTC)
	(envelope-from nick@van-laarhoven.org)
Received: from cpsmtpo-eml02.kpnxchange.com (cpsmtpo-eml02.KPNXCHANGE.COM
	[213.75.38.151])
	by mx1.freebsd.org (Postfix) with ESMTP id F41668FC16
	for <current@freebsd.org>; Tue, 13 Jan 2009 15:40:33 +0000 (UTC)
	(envelope-from nick@van-laarhoven.org)
Received: from cpsmtp-eml111.kpnxchange.com ([213.75.84.111]) by
	cpsmtpo-eml02.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); 
	Tue, 13 Jan 2009 16:28:29 +0100
Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by
	cpsmtp-eml111.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); 
	Tue, 13 Jan 2009 16:28:25 +0100
Received: from van-laarhoven.org (hind.van-laarhoven.org [10.66.0.146])
	by uitsmijter.van-laarhoven.org (8.14.3/8.14.3) with SMTP id
	n0DFSV31003841; Tue, 13 Jan 2009 16:28:31 +0100 (CET)
	(envelope-from nick@van-laarhoven.org)
Received: (nullmailer pid 22969 invoked by uid 1001);
	Tue, 13 Jan 2009 15:27:38 -0000
From: Nick Hibma <nick@van-laarhoven.org>
To: freebsd-current@freebsd.org, rea-fbsd@codelabs.ru
Date: Tue, 13 Jan 2009 16:27:36 +0100
User-Agent: KMail/1.9.10
References: <33615c8e0901121328h5e594c7fw43ff42943baf70d0@mail.gmail.com>
	<+BE8V3eWlNumNoeRVXGwF9oosbU@Nxyl89WskzuM4RJ7pF/cdJZbOMo>
In-Reply-To: <+BE8V3eWlNumNoeRVXGwF9oosbU@Nxyl89WskzuM4RJ7pF/cdJZbOMo>
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_pLLbJvKK9yLlK5a"
Message-Id: <200901131627.38073.nick@van-laarhoven.org>
X-Spam-Flag: YES
X-Spam-Status: Yes, score=16.1 required=5.0 tests=ALL_TRUSTED,BAYES_99,
	FB_NOT_SEX, J_CHICKENPOX_101, J_CHICKENPOX_12, J_CHICKENPOX_13,
	J_CHICKENPOX_16, 
	J_CHICKENPOX_21,J_CHICKENPOX_22,J_CHICKENPOX_25,J_CHICKENPOX_31,
	J_CHICKENPOX_38,J_CHICKENPOX_41,J_CHICKENPOX_47,J_CHICKENPOX_51,
	J_CHICKENPOX_52, J_CHICKENPOX_63, J_CHICKENPOX_71, J_CHICKENPOX_91,
	MANGLED_SEX, SARE_BAYES_6x6, SARE_BAYES_7x6,
	SARE_OBFU_VALUE autolearn=spam version=3.2.5
X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP
	*  3.5 BAYES_99 BODY: Bayesian spam probability is 99 to 100%
	*      [score: 1.0000]
	*  0.6 J_CHICKENPOX_22 BODY: 2alpha-pock-2alpha
	*  0.6 J_CHICKENPOX_41 BODY: 4alpha-pock-1alpha
	*  0.6 J_CHICKENPOX_63 BODY: 6alpha-pock-3alpha
	* 0.5 SARE_OBFU_VALUE BODY: found apparent obfuscation of word used in
	*      spam *  0.6 J_CHICKENPOX_16 BODY: 1alpha-pock-6alpha
	*  0.6 SARE_BAYES_7x6 BODY: Bayes poison 7x6
	*  0.6 J_CHICKENPOX_71 BODY: 7alpha-pock-1alpha
	*  0.6 J_CHICKENPOX_25 BODY: 2alpha-pock-5alpha
	*  1.0 FB_NOT_SEX BODY: FB_NOT_SEX
	*  2.3 MANGLED_SEX BODY: mangled sex(ual)(ity)
	*  0.6 J_CHICKENPOX_21 BODY: 2alpha-pock-1alpha
	*  0.6 J_CHICKENPOX_38 BODY: 3alpha-pock-8alpha
	*  0.6 J_CHICKENPOX_101 BODY: 10alpha-pock-1alpha
	*  0.6 J_CHICKENPOX_47 BODY: 4alpha-pock-7alpha
	*  0.6 J_CHICKENPOX_51 BODY: 5alpha-pock-1alpha
	*  0.6 J_CHICKENPOX_91 BODY: 9alpha-pock-1alpha
	*  0.6 J_CHICKENPOX_52 BODY: 5alpha-pock-2alpha
	*  0.6 J_CHICKENPOX_13 BODY: 1alpha-pock-3alpha
	*  0.6 J_CHICKENPOX_12 BODY: 1alpha-pock-2alpha
	*  0.4 SARE_BAYES_6x6 BODY: Bayes poison 6x6
	*  0.6 J_CHICKENPOX_31 BODY: 3alpha-pock-1alpha
X-Spam-Level: ****************
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	uitsmijter.van-laarhoven.org
X-OriginalArrivalTime: 13 Jan 2009 15:28:26.0100 (UTC)
	FILETIME=[94088B40:01C97593]
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: Rohit Tripathi <rohit.trip@gmail.com>, current@freebsd.org
Subject: Re: hints on setting up usb cdma modem?
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jan 2009 15:40:35 -0000

--Boundary-00=_pLLbJvKK9yLlK5a
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

You might want to try the attached u3g.c driver file. I've not been able to 
verify that the switch mode command in it actually works as I have not had 
a report back.

If your IDs for the unswitched and switched devices are not yet in u3g 
and/or usbdevs please add them.

Let me know how things work!

Nick


> Mon, Jan 12, 2009 at 04:28:12PM -0500, Rohit Tripathi wrote:
> > I'm running current and after many failed attempts to setup my Novatel
> > U727, I'm posting here with whatever information could be of interest.
> >
> > When the modem is plugged in:
> >
> > umass0: <Novatel Wireless Inc. Novatel Wireless CDMA, class 0/0, rev
> > 1.10/0.00, addr 2> on uhub3
> > cd0 at umass-sim0 bus 0 target 0 lun 0
> > cd0: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device
> > cd0: 1.000MB/s transfers
> > cd0: Attempt to query device size failed: NOT READY, Medium not present
>
> It is not the ucom endpoint -- it is some mass-storage endpoint that
> your modem seem to implement too.  Or you showed us not all dmesg parts
> that are related to your CDMA modem.  Do you have /dev/cuaU* devices?
> For the reference, mine CDMA modem attaches with the following dmesg
> (it's not U727, but it is CDMA modem that is supported by ucom):
> -----
> ucom0: <CMOTECH CO., LTD. CMOTECH CDMA Technologies, class 2/0, rev
> 2.00/0.00, addr 2> on uhub5 ucom0: iclass 2/2
> ucom0: data interface 1, has CM over data, has break
> ucom0: status change notification available
> ----
>
> So, the basic questions are:
> - had you compiled-in/kldloaded the ucom module?
> - do you have ucom-related messages in dmesg?
> - you might also need modules 'uplcom' and/or 'umodem' -- try them.



--Boundary-00=_pLLbJvKK9yLlK5a--