Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Huawei E220 HSDPA modem : not all functions are detected

1 view
Skip to first unread message

Jes

unread,
Nov 17, 2006, 5:30:03 AM11/17/06
to freeb...@freebsd.org
Hi:

I have the same problem. Another modem Huawei E220 detected as mass-storage:

umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
cd1 at umass-sim0 bus 0 target 0 lun 0
cd1: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device
cd1: 1.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present


I'm absolutly lost. Any idea ???

Thanks in advance


More info:

> > usbdevs -vd
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
uhub0
port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
uhub1
port 1 addr 2: full speed, power 500 mA, config 1, HUAWEI
Mobile(0x1003), HUAWEI Technologies(0x12d1), rev 0.00
umass0
port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
uhub2
port 1 addr 2: low speed, power 100 mA, config 1, ELECOM USB mouse with
wheel(0x0010), ELECO(0x056e), rev 0.00
ums0
port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
Intel(0x0000), rev 1.00
uhub3
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered

Jes

unread,
Nov 17, 2006, 5:39:36 AM11/17/06
to freeb...@freebsd.org

Joao Barros

unread,
Nov 17, 2006, 7:47:48 AM11/17/06
to Jes, freeb...@freebsd.org
On 11/17/06, Jes <argo...@vodafone.es> wrote:
> Hi:
>
> I have the same problem. Another modem Huawei E220 detected as mass-storage:
>
> umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
> cd1 at umass-sim0 bus 0 target 0 lun 0
> cd1: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device
> cd1: 1.000MB/s transfers
> cd1: Attempt to query device size failed: NOT READY, Medium not present
>
>
> I'm absolutly lost. Any idea ???

I hacked ubsa(4) to detect my E220 and I can talk to the dongle :)
Just waiting for Vodafone to re enable my service again as they lost
my contract...
I'll post a patch and the ppp.conf configuration when I can test it.

--
Joao Barros

Jes

unread,
Nov 18, 2006, 3:30:04 PM11/18/06
to freeb...@freebsd.org
Hi:

I hacked ubsa.c and usbdevs.c as well. The modem is recognized but with this message:

ucom0: Could not find interrupt in

My VRA (Option) is well detected as ucom0 and /dev/ttyU0 is available, so ppp can use it. This doesn't ocurr with the huawei modem; it's detected as ucom0 but /dev/ttyU0 is not available.

Any idea Joao ?

My kernel:

FreeBSD barbikane 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Sat Nov 18 20:58:41 CET 2006 jjess@barbikane:/usr/src/sys/i386/compile/MYKERNEL i386


Thanks, bye.

Jes

Joao Barros

unread,
Nov 19, 2006, 10:25:28 AM11/19/06
to Jes, freeb...@freebsd.org
I sometimes get that message but after a few tries it's ok.
You must look for a /dev/cuaU0 not /dev/ttyU0

I have my service active, if you'd be kind enough to provide the chat
script for Vodafone I'd be most gratefull :-D


--
Joao Barros

Jes

unread,
Nov 20, 2006, 10:57:54 AM11/20/06
to Joao Barros, freeb...@freebsd.org
My ppp.conf for use with VRA Option and Vodafone Spain connection:

default:
set log Phase Chat LCP IPCP CCP tun command

umts:
#set device /dev/ucom0
set device /dev/ttyU0
#set speed 460800
set speed 230400

set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATZ OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"airtelnet.es\\\",\\\"0.0.0.0\\\",0,0 OK \
AT+CGATT=1 OK \
\\dATDT\\T TIMEOUT 40 CONNECT"

set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH OK-ATH-OK"
#nat enable yes
#alias enable yes
#nat port tcp 192.168.0.0:ftp ftp
#nat port tcp 192.168.0.0:http http

#set phone *99***1\#
set phone *99\#
set authname "vodafone"
set authkey "vodafone"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
enable dns
disable ipv6cp

0 new messages