From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 06:28:46 2009 Return-Path: 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 8D482106566B for ; Wed, 14 Jan 2009 06:28:46 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 1CACC8FC12 for ; Wed, 14 Jan 2009 06:28:45 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so242239fgb.35 for ; Tue, 13 Jan 2009 22:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rlwq/ilNYJ1L71VnXNWk+MZm6dKTURe60Ic5SnR5Pcc=; b=XyvCQi1n3/oXI1rJDLlSnEv/4De8KZZpJQquHidMIUYrgZn/ykBMeGhDW7cSMU4I03 SRc0qJMRB1n35k7UTsAV11OWc0zcUAOVZtpK/XPrS0AmkVBuCyrBCufmzqzDGK+vGDPS qb+m9apZUvQyo9C70Bu7pZUfqrqg4OjpHWzNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KUpYZp9YBCni5WipzVnQZ+zZTgGKvR7kepNanNFQfLTFG47AoOIk2JoouSj/CyP4ee n82pX+Ie6s79SgFfQKJefEa3I+HswX8dbxR5siZviwthf0E4K5lrQ5G8roxHlU5CNgJP k+R5CtGcJ+8sDQJihNRlC9RTE5pNH5EZP7wTg= Received: by 10.86.84.18 with SMTP id h18mr411016fgb.69.1231914524499; Tue, 13 Jan 2009 22:28:44 -0800 (PST) Received: by 10.86.79.3 with HTTP; Tue, 13 Jan 2009 22:28:44 -0800 (PST) Message-ID: <33615c8e0901132228p4c2554e1h326a0248ac42cf08@mail.gmail.com> Date: Wed, 14 Jan 2009 01:28:44 -0500 From: "Rohit Tripathi" To: rea-fbsd@codelabs.ru In-Reply-To: <+BE8V3eWlNumNoeRVXGwF9oosbU@Nxyl89WskzuM4RJ7pF/cdJZbOMo> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33615c8e0901121328h5e594c7fw43ff42943baf70d0@mail.gmail.com> <+BE8V3eWlNumNoeRVXGwF9oosbU@Nxyl89WskzuM4RJ7pF/cdJZbOMo> Cc: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 06:28:46 -0000 > 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 Yes, under Fedora, the moment I plug in my CDMA card, its built in storage drive is mounted first. I have to eject this drive before I could do anything. Something similar is happening under freebsd. > ----- > ucom0: 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? Yes, this was the very first thing I had tried before wandering off into usbd land > - do you have ucom-related messages in dmesg? Yes, but they seem to appear only after I give a reboot command....i.e. right before filesystems are being unmounted (which makes sense considering how we have to "free" up the mass-storage part before using the modem under fedora) > - you might also need modules 'uplcom' and/or 'umodem' -- try them. Yes I have tried these earlier, then I discovered usbd, ubsa, and now u3g (compiled and loaded, and yes entries for U727 are already there, thanks Nick!) but so far with my limited knowledge of FreebBSD I haven't been able to get any of it moving. Here's an approximate description of steps I took: 1. Update kernel src, remove ubsa from kernel config, and add u3g 2. Build, install, merge configs 3. Setup ppp according to instructions given on Nick's page: http://people.freebsd.org/~n_hibma/u3g.html 4. Plugin modem, plugout, and watch as nothing happens 5. Post on freebsd-current 6. Wait :)