Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 12:13:50 +0800
From:      Erich Dollansky <erich@alogreentechnologies.com>
To:        freebsd-questions@freebsd.org
Cc:        Manish Jain <invalid.pointer@gmail.com>
Subject:   Re: How to get Huawei USB modem to work ?
Message-ID:  <201103121213.50729.erich@alogreentechnologies.com>
In-Reply-To: <4D206791.9010001@gmail.com>
References:  <4D206791.9010001@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sunday 02 January 2011 19:54:57 Manish Jain wrote:
> 
>    Hello,
>    From a similar thread, I picked up some information that I should try
>    kldload'ing usba. But when I ran the command, I got an error message
>    that there is no such module. I searched under sys/modules and there
>    was no usba.ko
>    Can somebody please tell me how to get my Huawei USB dial-up modem to
>    work on FreeBSD 8.1 ? From dmesg, I have the following information :
>    Trying to mount root from ufs:/dev/ad8s2a
>    ugen0.3: <HUAWEI TECHNOLOGIES> at usbus0
>    u3g0: <Data Interface> on usbus0
>    u3g0: Found 3 ports.
>    umass0: <HUAWEI TECHNOLOGIES HUAWEI Mobile, class 0/0, rev 1.10/0.00,
>    addr 3> on usbus0
>    umass0:  SCSI over Bulk-Only; quirks = 0x0000
>    umass0:0:0:-1: Attached to scbus0
>    cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0
>    cd0: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-0 device
>    cd0: 1.000MB/s transfers
>    cd0: cd present [16896 x 2048 byte records]
>    (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
>    (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
>    (probe0:umass-sim0:0:0:1): SCSI status: Check Condition
>    (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not
>    present)
>    da0 at umass-sim0 bus 0 scbus0 target 0 lun 1
>    da0: <HUAWEI SD Storage 2.31> Removable Direct Access SCSI-2 device
>    da0: 1.000MB/s transfers
>    da0: Attempt to query device size failed: NOT READY, Medium not
>    present
>    drm0: <ATI Radeon HD 3200 Graphics> on vgapci0
>    info: [drm] MSI enabled 1 message(s)
>    vgapci0: child drm0 requested pci_enable_busmaster
>    Any help would be greatly appreciated.

if your modem is not supported out of the box, go to the file usbdevs and add an entry for it:

I got last week a modem not supported by FreeBSD and just did this:

product HUAWEI ETS2055		0x1803	CDMA modem

0x1803 is the ID of my modem. The ID is unknown to FreeBSD 8.2.

Then add a line like the following to u3g.c:

	U3G_DEV(HUAWEI, ETS2055, U3GINIT_HUAWEI),

Check the file for the other options like U3GINIT_HUAWEI you have.

The chances are then pretty high that all will work

The next problem will then your ppp.conf.

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103121213.50729.erich>