From owner-freebsd-hardware@FreeBSD.ORG  Wed May 14 10:43:47 2008
Return-Path: <owner-freebsd-hardware@FreeBSD.ORG>
Delivered-To: freebsd-hardware@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C9FBE1065681
	for <freebsd-hardware@freebsd.org>;
	Wed, 14 May 2008 10:43:47 +0000 (UTC)
	(envelope-from rpaulo@gmail.com)
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168])
	by mx1.freebsd.org (Postfix) with ESMTP id 5A0428FC15
	for <freebsd-hardware@freebsd.org>;
	Wed, 14 May 2008 10:43:46 +0000 (UTC)
	(envelope-from rpaulo@gmail.com)
Received: by ug-out-1314.google.com with SMTP id q2so1104787uge.37
	for <freebsd-hardware@freebsd.org>;
	Wed, 14 May 2008 03:43:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender;
	bh=Haicy387P4aNagtyE6jsRCs5FpcjaNlsmEuL0of2T8A=;
	b=wticQL8L41nJWw8YYAQ/x/QHOtdEbyeeymyoYaCERsLLM0R4QRVKAOx5Rxyhw92p0c2nUj3a0aYmiIdn7eI6VWD2G8cKhf/7g9fMyRQMhl2MOohoCDEANKMbA7q7odUwy4JxqptD5SsxS6XIP3KRGv35+OmYDkCSQ7l8nGwHSF4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender;
	b=x9vPHwME048vQHcNH10isMPSR/44W/xAW77g1DV2EdGGoGromWoCLe22kfB+GCQ8z0YNtnfPu5nErkBqcegV273efLSEAW8JSdC2DUqVLb+pRm53nAjO5AmSkqazmVtJ33eJ2ujU/fmoDQoSKkIZn3xxLe+iqe3e3puxLjaP8BY=
Received: by 10.66.221.6 with SMTP id t6mr8480957ugg.44.1210760237089;
	Wed, 14 May 2008 03:17:17 -0700 (PDT)
Received: from epsilon.local ( [193.136.24.128])
	by mx.google.com with ESMTPS id l20sm3920542uga.4.2008.05.14.03.17.15
	(version=SSLv3 cipher=RC4-MD5); Wed, 14 May 2008 03:17:16 -0700 (PDT)
Message-ID: <482ABC29.9030002@FreeBSD.org>
Date: Wed, 14 May 2008 11:17:13 +0100
From: Rui Paulo <rpaulo@FreeBSD.org>
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Vin=EDcius_Abrah=E3o?= <vinnix.bsd@gmail.com>
References: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com>
In-Reply-To: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sender: Rui Paulo <rpaulo@gmail.com>
Cc: akiyama@jp.FreeBSD.org, ichiro@ichiro.org, freebsd-hardware@freebsd.org
Subject: Re: Modem GPRS USB
X-BeenThere: freebsd-hardware@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: General discussion of FreeBSD hardware <freebsd-hardware.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hardware>, 
	<mailto:freebsd-hardware-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hardware>
List-Post: <mailto:freebsd-hardware@freebsd.org>
List-Help: <mailto:freebsd-hardware-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hardware>, 
	<mailto:freebsd-hardware-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 14 May 2008 10:43:47 -0000

Vinícius Abrahão wrote:
> Hi People,
> 
> First, sorry about my poor english.
> I have modem usb: hsdpa/edge/gprs, but I don't know how to
> make this work. This is the description about the device:
> 
> umass0: <Qualcomm, Incorporated USB ONDA Storage, class 0/0, rev 1.10/0.00,
> addr 2> on uhub2
> cd0 at umass-sim0 bus 0 target 0 lun 0
> cd0: <ONDA USB Storage 2.31> Removable CD-ROM SCSI-2 device
> cd0: 1.000MB/s transfers
> cd0: cd present [4623 x 2048 byte records]
> GEOM_LABEL: Label for provider cd0 is iso9660/ONDAMODEM
> 
> At my kernel configuration file we find:
> device ugen                     # Generic
> device ucom                     # Modem UCOM
> device ugencom                  # Modem CDMA MSM
> device umodem                   # Modem COM
> 
> Thanks in advice for any light.

Since we don't have yet a way to unplug these modems from umass, you 
should remove umass, ugen, ucom, etc. from your kernel config file and 
build it as modules.

I have a similar modem, and what I did was:
1) Don't have umass.ko loaded.
2) Wait a few seconds. The device will disconnect.
3) ubsa(4) should support these modems, so have it loaded, or load it now.

Hope this works,
-- 
Rui Paulo