Huawei E220 & recent kernels.. anyone else experiencing some issues?

redarrow

Expert Member
Joined
Dec 30, 2005
Messages
2,411
Reaction score
57
Location
Port Elizabeth, South Africa
I updated to Fedora Core 8 recently, it seems though that there's been some steps back in support for the E220..

Mine works half the times, other times I just cannot get it to go... But I cannot seem to find anything in particular that is causing it to fail...

When it does fail I get endless messages like this:

Code:
Dec 22 16:06:52 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:06:52 localhost kernel: scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Dec 22 16:06:52 localhost kernel: sr2: scsi-1 drive
Dec 22 16:06:52 localhost kernel: sr 7:0:0:0: Attached scsi generic sg3 type 5
Dec 22 16:08:01 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:08:16 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:08:31 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:08:31 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:08:47 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:02 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:02 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:09:12 localhost kernel: usb 3-2: device not accepting address 3, error -110
Dec 22 16:09:13 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:09:23 localhost kernel: usb 3-2: device not accepting address 3, error -110
Dec 22 16:09:23 localhost kernel: sr 7:0:0:0: scsi: Device offlined - not ready after error recovery
Dec 22 16:09:23 localhost kernel: sr 7:0:0:0: rejecting I/O to offline device
Dec 22 16:09:23 localhost kernel: usb 3-2: USB disconnect, address 3
Dec 22 16:09:23 localhost kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Dec 22 16:09:23 localhost kernel: option 3-2:1.0: device disconnected
Dec 22 16:09:23 localhost kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Dec 22 16:09:23 localhost kernel: option 3-2:1.1: device disconnected
Dec 22 16:09:23 localhost kernel: scsi 7:0:0:0: rejecting I/O to dead device
Dec 22 16:09:23 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 4
Dec 22 16:09:38 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:53 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:54 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 5
Dec 22 16:10:09 localhost kernel: usb 3-2: device descriptor read/64, error -110

Anyone have any insights? :confused:
(Kernel 2.6.23.1-42 btw)
Thanks. :)
 
OK.. I've discovered that this has something to do with "haldaemon" ...

If I leave the dongle unplugged while booting up and then after logging in I stop "haldaemon" with: "/etc/init.d/haldaemon stop" and only then plug the dongle in it seems to initialise with no problems.. :confused:

I'm not really sure where haldaemon comes into the picture, but I noticed that it also seemed to leave messages in the log whenever I plugged the dongle in/out...
 
Hi,

I got my Huawei E220 (with the long cable,
and two USB's) to work on MTN, using Gutsy on an Dell desktop.
Thanks :)
Including wvdial.conf, relevant /var/log/messages just in case anybody wants it.

yusuf@fld28933:~$ cat messages lsmod commands /etc/wvdial.conf
[12384.472231] usb 2-2: new full speed USB device using uhci_hcd and address 2
[12384.636190] usb 2-2: configuration #1 chosen from 1 choice
[12384.639138] option 2-2:1.0: GSM modem (1-port) converter detected
[12384.639285] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[12384.642210] option 2-2:1.1: GSM modem (1-port) converter detected
[12384.642358] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[12384.644190] option 2-2:1.2: GSM modem (1-port) converter detected
[12384.644343] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[13633.833313] PPP generic driver version 2.4.2
[13633.950043] PPP BSD Compression module registered
[13634.009231] PPP Deflate Compression module registered




Jan 7 11:45:30 fld28933 pppd[7419]: pppd 2.4.4 started by root, uid 0
Jan 7 11:45:30 fld28933 kernel: [13633.833313] PPP generic driver version 2.4.2
Jan 7 11:45:30 fld28933 pppd[7419]: Using interface ppp0
Jan 7 11:45:30 fld28933 pppd[7419]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 7 11:45:30 fld28933 pppd[7419]: CHAP authentication succeeded
Jan 7 11:45:30 fld28933 pppd[7419]: CHAP authentication succeeded
Jan 7 11:45:30 fld28933 kernel: [13633.950043] PPP BSD Compression module registered
Jan 7 11:45:30 fld28933 kernel: [13634.009231] PPP Deflate Compression module registered
Jan 7 11:45:35 fld28933 pppd[7419]: Could not determine remote IP address: defaulting to 10.64.64.64
Jan 7 11:45:35 fld28933 pppd[7419]: local IP address 172.25.25.25
Jan 7 11:45:35 fld28933 pppd[7419]: remote IP address 10.64.64.64
Jan 7 11:45:35 fld28933 pppd[7419]: primary DNS address 209.212.97.1
Jan 7 11:45:35 fld28933 pppd[7419]: secondary DNS address 10.204.32.43

yusuf@fld28933:~$ lsmod
Module Size Used by
ppp_deflate 7040 0
zlib_deflate 20504 1 ppp_deflate
bsd_comp 7040 0
ppp_async 13184 0
crc_ccitt 3072 1 ppp_async
ppp_generic 29332 3 ppp_deflate,bsd_comp,ppp_async
slhc 7552 1 ppp_generic
uhci_hcd 26640 0
i915 25856 2
drm 83348 3 i915
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
af_packet 24840 2
ppdev 10244 0
cpufreq_userspace 5280 0
cpufreq_stats 7232 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9612 0
freq_table 5792 2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 8072 0
video 18060 0
sbs 19592 0
container 5504 0
button 8976 0
bay 6912 0
dock 10656 1 bay
ac 6148 0
battery 11012 0
nls_iso8859_1 5120 1
nls_cp437 6784 1
vfat 14080 1
fat 54300 1 vfat
ext3 133896 1
jbd 60456 1 ext3
mbcache 9732 1 ext3
lp 12580 0
snd_hda_intel 263712 3
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 3 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
usb_storage 73024 0
ide_core 116804 1 usb_storage
option 11008 0
usbserial 34920 1 option
snd_timer 24324 3 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
psmouse 39952 0
libusual 18448 1 usb_storage
serio_raw 8068 0
parport_pc 37412 1
snd 54660 13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
iTCO_wdt 11940 0
soundcore 8800 1 snd
parport 37448 3 ppdev,lp,parport_pc
pcspkr 4224 0
iTCO_vendor_support 4868 1 iTCO_wdt
shpchp 34580 0
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
ipv6 273892 19
pci_hotplug 32704 1 shpchp
intel_agp 25620 1
agpgart 35016 3 drm,intel_agp
evdev 11136 3
xfs 575192 1
sg 36764 0
sr_mod 17828 0
cdrom 37536 1 sr_mod
sd_mod 30336 6
ata_piix 17540 5
usbhid 29536 0
hid 28928 1 usbhid
tg3 110980 0
ata_generic 8452 0
libata 125168 2 ata_piix,ata_generic
scsi_mod 147084 5 usb_storage,sg,sr_mod,sd_mod,libata
ehci_hcd 36492 0
usbcore 138632 8 uhci_hcd,usb_storage,option,usbserial,libusual,usbhid,ehci_hcd
thermal 14344 0
processor 32072 1 thermal
fan 5764 0
fuse 47124 3
apparmor 40728 0
commoncap 8320 1 apparmor
yusuf@fld28933:~$



yusuf@fld28933:~$ sudo modprobe -r uhci_hcd; sudo modprobe uhci_hcd

yusuf@fld28933:~$ ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2

yusuf@fld28933:~$ q wvdial huewai_e220 mtn
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Sending: AT+CGDCONT=1,"IP","mymtn"
WvDial Modem<*1>: AT+CGDCONT=1,"IP","mymtn"
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT*99***1#
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT*99***1#
WvDial Modem<*1>: CONNECT
WvDial<*1>: Carrier detected. Starting PPP immediately.
WvDial<Notice>: Starting pppd at Mon Jan 7 11:45:30 2008
WvDial<Notice>: Pid of pppd: 7419
WvDial<*1>: Using interface ppp0
WvDial<*1>: local IP address 172.25.25.25
WvDial<*1>: remote IP address 10.64.64.64
WvDial<*1>: primary DNS address 209.212.97.1
WvDial<*1>: secondary DNS address 10.204.32.43
^[[ACaught signal 2: Attempting to exit gracefully...
WvDial<*1>: Terminating on signal 15
WvDial<*1>: Connect time 11.8 minutes.
WvDial<*1>: Disconnecting at Mon Jan 7 11:57:18 2008

# wvdial for Vodacom Data. Created by Tazz_tux
# Version 1.1

# Change Log:
#
# Changed the dialers to name_model
# Added support for HSDPA.
# Added Headers and version control.

[Dialer Defaults]

Phone = *99***1#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT

[Dialer pin]

Init1 = AT+CPIN=1234

[Dialer novatel_u630]
Modem = /dev/ttyS1
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem

[Dialer option_fusion]

Modem = /dev/tts/USB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer option_quad]

Modem = /dev/tts/USB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer motorola_e1000]

Modem = /dev/usb/acm/0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer nokia_6680]

Modem = /dev/usb/acm/0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer option_hsdpa]

Modem = /dev/noz0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer novatel_u740]

Modem = /dev/noz0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer huewai_e620]

Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer huewai_e220]

Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer onboard]

Modem = /dev/ttySHSF0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer 2gonly]

Init4 = AT+COPS=0,0,"Vodacom-SA",0

[Dialer 3gonly]

Init4 = AT+COPS=0,0,"Vodacom-SA",2

[Dialer mtn]

Init5 = AT+CGDCONT=1,"IP","mymtn"

[Dialer internetvpn]

Init5 = AT+CGDCONT=1,"IP","internetvpn"

[Dialer myapn]

Init5 = AT+CGDCONT=1,"IP","myapn"

[Dialer 384k]

Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

[Dialer 144k]

Init6 = AT+CGEQMIN=1,4,64,144,64,144
Init7 = AT+CGEQREQ=1,4,64,144,64,144

[Dialer 64k]

Init6 = AT+CGEQMIN=1,4,64,64,64,64
Init7 = AT+CGEQREQ=1,4,64,64,64,64
yusuf@fld28933:~$
 
OK.. I've discovered that this has something to do with "haldaemon" ...

If I leave the dongle unplugged while booting up and then after logging in I stop "haldaemon" with: "/etc/init.d/haldaemon stop" and only then plug the dongle in it seems to initialise with no problems.. :confused:

I'm not really sure where haldaemon comes into the picture, but I noticed that it also seemed to leave messages in the log whenever I plugged the dongle in/out...


I added this:
<match key="@storage.originating_device:usb.vendor_id" int="0x12d1">
<match key="@storage.originating_device:usb.product_id" int="0x1003">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>

to /usr/share/hal/fdi/preprobe/10osvendor/20-broken-usb-sticks.fdi

just after the:

<!-- some usb sticks don't like polling -->

comment.

Seems to work just fine now...

-justin
 
I added this:
<match key="@storage.originating_device:usb.vendor_id" int="0x12d1">
<match key="@storage.originating_device:usb.product_id" int="0x1003">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>

to /usr/share/hal/fdi/preprobe/10osvendor/20-broken-usb-sticks.fdi

just after the:

<!-- some usb sticks don't like polling -->

comment.

Seems to work just fine now...

-justin
Thanks!! I've done that too now .. :)

Appears to be working so far.. :)
 
Top
Sign up to the MyBroadband newsletter
X