12d1:1001 Huawei E620 USB Modems not detected since upgrade need to install usb-modeswitch(-data)

Bug #546728 reported by Simon
116
This bug affects 26 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Huawei E620 USB modem works fine in Karmic, but seems not to be detected in Lucid.

=== WORK AROUND ===
Work around (for most people it seems)

sudo aptitude install usb-modeswitch usb-modeswitch-data

to install the missing data

=== FIX ===

Please auto-install this packages, make them required when installing network manager applet perhaps?

--- INFO ---

lsusb from Karmic:
Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

lsusb from Lucid:
Bus 002 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.

dmesg from Karmic

[ 113.444103] usb 2-3: new high speed USB device using ehci_hcd and address 3
[ 113.587944] usb 2-3: configuration #1 chosen from 1 choice
[ 114.938351] Initializing USB Mass Storage driver...
[ 114.938569] scsi4 : SCSI emulation for USB Mass Storage devices
[ 114.938781] scsi5 : SCSI emulation for USB Mass Storage devices
[ 114.938922] usbcore: registered new interface driver usb-storage
[ 114.938928] USB Mass Storage support registered.
[ 114.954581] usb-storage: device found at 3
[ 114.954585] usb-storage: waiting for device to settle before scanning
[ 114.954594] usb-storage: device found at 3
[ 114.954596] usb-storage: waiting for device to settle before scanning
[ 119.885218] usb 2-3: USB disconnect, address 3
[ 126.052072] usb 2-3: new high speed USB device using ehci_hcd and address 4
[ 126.195930] usb 2-3: configuration #1 chosen from 1 choice
[ 126.211227] scsi9 : SCSI emulation for USB Mass Storage devices
[ 126.215155] scsi10 : SCSI emulation for USB Mass Storage devices
[ 126.215350] usb-storage: device found at 4
[ 126.215355] usb-storage: waiting for device to settle before scanning
[ 126.218409] usb-storage: device found at 4
[ 126.218412] usb-storage: waiting for device to settle before scanning
[ 126.244956] usbcore: registered new interface driver usbserial
[ 126.244973] USB Serial support registered for generic
[ 126.245012] usbcore: registered new interface driver usbserial_generic
[ 126.245015] usbserial: USB Serial Driver core
[ 126.255423] USB Serial support registered for GSM modem (1-port)
[ 126.255479] option 2-3:1.0: GSM modem (1-port) converter detected
[ 126.255585] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
[ 126.255597] option 2-3:1.1: GSM modem (1-port) converter detected
[ 126.255655] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
[ 126.255665] option 2-3:1.2: GSM modem (1-port) converter detected
[ 126.255718] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB2
[ 126.255743] usbcore: registered new interface driver option
[ 126.255745] option: v0.7.2:USB Driver for GSM modems
[ 131.213759] usb-storage: device scan complete
[ 131.215941] scsi 10:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
[ 131.216750] sd 10:0:0:0: Attached scsi generic sg2 type 0
[ 131.225629] usb-storage: device scan complete
[ 131.229585] scsi 9:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 131.239842] sd 10:0:0:0: [sdb] Attached SCSI removable disk
[ 131.262233] sr1: scsi-1 drive
[ 131.262477] sr 9:0:0:0: Attached scsi CD-ROM sr1
[ 131.262602] sr 9:0:0:0: Attached scsi generic sg3 type 5
[ 132.036178] PPP BSD Compression module registered
[ 132.075192] PPP Deflate Compression module registered
[ 148.510328] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 148.522489] ISOFS: changing to secondary root

dmesg from Lucid

[ 833.976061] usb 2-3: new high speed USB device using ehci_hcd and address 3
[ 834.120786] usb 2-3: configuration #1 chosen from 1 choice
[ 834.211377] Initializing USB Mass Storage driver...
[ 834.213289] scsi4 : SCSI emulation for USB Mass Storage devices
[ 834.213634] usb-storage: device found at 3
[ 834.213639] usb-storage: waiting for device to settle before scanning
[ 834.213686] scsi5 : SCSI emulation for USB Mass Storage devices
[ 834.217039] usbcore: registered new interface driver usb-storage
[ 834.217043] USB Mass Storage support registered.
[ 834.221433] usb-storage: device found at 3
[ 834.221436] usb-storage: waiting for device to settle before scanning
[ 839.213521] usb-storage: device scan complete
[ 839.215795] scsi 4:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 839.224134] usb-storage: device scan complete
[ 839.227105] scsi 5:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
[ 839.241156] sr1: scsi-1 drive
[ 839.241430] sr 4:0:0:0: Attached scsi CD-ROM sr1
[ 839.241584] sr 4:0:0:0: Attached scsi generic sg2 type 5
[ 839.249036] sd 5:0:0:0: Attached scsi generic sg3 type 0
[ 839.267669] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 859.757424] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 859.774827] ISOFS: changing to secondary root

Revision history for this message
Simon (simon-west-family) wrote :
Revision history for this message
Simon (simon-west-family) wrote :
Revision history for this message
Simon (simon-west-family) wrote :
Revision history for this message
Simon (simon-west-family) wrote :

BTW this USB modem is labelled "E1550 HSDPA USB Stick", not E620

tags: added: kernel-series-unknown
Revision history for this message
Simon (simon-west-family) wrote : Re: [Bug 546728] Re: Huawei E620 USB Modem not detected in Lucid
Download full text (5.3 KiB)

Hi Jeremy,

Han you tell me what the tag means? I thought the attachment from uname -a
would show what Kernel is running - does the bugrep need more info?

Cheers
--
Simon West
Visit http://www.appleam.com/ and see what we're up to!

On Fri, Mar 26, 2010 at 7:11 AM, Jeremy Foshee
<email address hidden>wrote:

> ** Tags added: kernel-series-unknown
>
> --
> Huawei E620 USB Modem not detected in Lucid
> https://bugs.launchpad.net/bugs/546728
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: New
>
> Bug description:
> My Huawei E620 USB Modem works fine in Karmic, but seems not to be detected
> in Lucid.
>
> lsusb from Karmic:
> Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB
> Modem
>
> lsusb from Lucid:
> Bus 002 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.
>
> dmesg from Karmic
>
> [ 113.444103] usb 2-3: new high speed USB device using ehci_hcd and
> address 3
> [ 113.587944] usb 2-3: configuration #1 chosen from 1 choice
> [ 114.938351] Initializing USB Mass Storage driver...
> [ 114.938569] scsi4 : SCSI emulation for USB Mass Storage devices
> [ 114.938781] scsi5 : SCSI emulation for USB Mass Storage devices
> [ 114.938922] usbcore: registered new interface driver usb-storage
> [ 114.938928] USB Mass Storage support registered.
> [ 114.954581] usb-storage: device found at 3
> [ 114.954585] usb-storage: waiting for device to settle before scanning
> [ 114.954594] usb-storage: device found at 3
> [ 114.954596] usb-storage: waiting for device to settle before scanning
> [ 119.885218] usb 2-3: USB disconnect, address 3
> [ 126.052072] usb 2-3: new high speed USB device using ehci_hcd and
> address 4
> [ 126.195930] usb 2-3: configuration #1 chosen from 1 choice
> [ 126.211227] scsi9 : SCSI emulation for USB Mass Storage devices
> [ 126.215155] scsi10 : SCSI emulation for USB Mass Storage devices
> [ 126.215350] usb-storage: device found at 4
> [ 126.215355] usb-storage: waiting for device to settle before scanning
> [ 126.218409] usb-storage: device found at 4
> [ 126.218412] usb-storage: waiting for device to settle before scanning
> [ 126.244956] usbcore: registered new interface driver usbserial
> [ 126.244973] USB Serial support registered for generic
> [ 126.245012] usbcore: registered new interface driver usbserial_generic
> [ 126.245015] usbserial: USB Serial Driver core
> [ 126.255423] USB Serial support registered for GSM modem (1-port)
> [ 126.255479] option 2-3:1.0: GSM modem (1-port) converter detected
> [ 126.255585] usb 2-3: GSM modem (1-port) converter now attached to
> ttyUSB0
> [ 126.255597] option 2-3:1.1: GSM modem (1-port) converter detected
> [ 126.255655] usb 2-3: GSM modem (1-port) converter now attached to
> ttyUSB1
> [ 126.255665] option 2-3:1.2: GSM modem (1-port) converter detected
> [ 126.255718] usb 2-3: GSM modem (1-port) converter now attached to
> ttyUSB2
> [ 126.255743] usbcore: registered new interface driver option
> [ 126.255745] option: v0.7.2:USB Driver for GSM modems
> [ 131.213759] usb-storage: device scan complete
> [ 131.215941] scsi 10:0:0:0: Direct-...

Read more...

Revision history for this message
Simon (simon-west-family) wrote : Re: Huawei E620 USB Modem not detected in Lucid

Installing usb-modeswitch made my modem show up as Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem and my mobile BB connection just works now as before.

IMHO (as usb-modeswitch was not installed in Karmic), it should be included in upgrade to Lucid.

Revision history for this message
Molnár Gábor (csirkus) wrote :

Try "sudo modprobe option", it worked for me. The module somehow does not load automatically, so you have to load it manually.

Revision history for this message
Lesley Harrington (laharrin) wrote :

Could someone confirm whether a username and/or password is required for UK Vodafone? Or, please advise on how to debug (have checked log files and lsusb, and the modem IS detected).

Revision history for this message
Molnár Gábor (csirkus) wrote :

Yes the modem is detected for me too. But the driver doesnt load even if it is detected. I have exactly the same dmesg as the bug reporter.

Revision history for this message
Simon (simon-west-family) wrote :

My settings have the "phone number" set to *99# and the APN set to 3internet. With it set to autoconnect, all I have to do is plug my BB dongle in and the connection is made.

From a simple google I have found Vodafone UK settings may be as follows:
    * APN: internet (or pp.vodafone.co.uk if you're using prepay)
    * Username: web
    * Password: web
    * Session type: Continuous / permanent
    * Authentication: Normal
    * Security: Off
(this from http://www.mobilebroadbandrocks.com/blog/vodafone-uk-apn-gprs-settings )

Revision history for this message
electhor (electhor) wrote :

These two .debs fix this issue.
usb-modeswitch-data_20100127-1_all.deb
usb-modeswitch_1.1.0-2_i386.deb
The 3g modem now works after setting up the modem in 'edit connections', although I also had to disable CHAP in configure settings under ppp settings. That may help someone else getting theirs going - mine wouldn't work with CHAP selected.

tags: added: kj-triage
Revision history for this message
Andreas (q-qless) wrote :

this also applies to the model: E1550

solution, as stated above:
apt-get install usb-modeswitch
works as well.

Revision history for this message
svaens (svaens) wrote :

I get the behaviour so:

Sometimes it works, sometimes not.
funny thing is, for me, it works first every time on a new install, or on the live CD.
As soon as you have installed, done the first connection setup, reboot.
Then there are problems.
Usually you get the USB modem popping up as a drive, shown as an icon on the desktop,
but then rarely does it show up as a network option.
very frustrating.

I am using model HUAWEI E1762

Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote : Re: [Lucid] Huawei USB Modems not detected since upgrade. E620, E169 modems

Confirmed regression.
My usb G3 modem Huawei E169 was working fine in 9.10 ubuntu, but after upgrade to Lucid it stoped working,
I can not re-create the G3 modem option in network-manager applet -> options -> new connection -> G3 Modem -> Add, it shows empty list of devices to choose from.

Huge regression for users in situation like this.

summary: - Huawei E620 USB Modem not detected in Lucid
+ [Lucid] Huawei USB Modems not detected since upgrade. E620, E169 modems
Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: lucid regression
description: updated
description: updated
tags: added: regression-release
removed: kernel-series-unknown regression
tags: added: kernel-net
Revision history for this message
svaens (svaens) wrote :

supposed fix: sudo aptitude install usb-modeswitch usb-modeswitch-data
does not help me.

Revision history for this message
Vitaliy Kulikov (slonua) wrote :

confirm fix with on lucid
$ sudo aptitude install usb-modeswitch usb-modeswitch-data

but on karmic, works perfect without usb-modeswitch

Revision history for this message
Michał Gołębiowski-Owczarek (mgol) wrote :

@Vitaliy Kulikov
It's enough to install:
$ sudo aptitude install usb-modeswitch
The *-data packages are usually dependencies, they shouldn't be installed manually.

Revision history for this message
svaens (svaens) wrote :

I am using Huawei E160E HSDPA

It was no good in Karmic, and it is worse in Lucid.
The fix:
sudo aptitude install usb-modeswitch usb-modeswitch-data

doesn't help at all.

I have resorted to buying a 3G Router ..... cost me $180 (still better than the alternatives)

Revision history for this message
bwallum (rbw2) wrote :

How can I download usb-modeswitch and usb-modeswitch-data, put then on a usb stick, take them to a pc withount internet connectivity and install them? I'm trying to get a Vodafone mobile modem working.

Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote :

Download the .deb files, and install them using sudo dpkg -i filename.deb

http://packages.ubuntu.com/lucid/usb-modeswitch
http://packages.ubuntu.com/lucid/usb-modeswitch-data

Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote : Re: [Lucid] Huawei USB Modems not detected since upgrade. E620, E169 modems - need to install usb-modeswitch(-data)

Svaens - I moved your issue to separate bug #592564

summary: [Lucid] Huawei USB Modems not detected since upgrade. E620, E169 modems
+ - need to install usb-modeswitch(-data)
Revision history for this message
svaens (svaens) wrote :

thanks Rafal-maj-it

Revision history for this message
Mekan Guldurdiyev (g-mekan) wrote :

I have the same issue with 10.04 amd64 ubuntu
I found on the internet this solution and it now works. But the correct solution should be integrated into ubuntu via ubuntu support.
so this problem is taken care of once and for all.

this is what the site offered as a solution.

" Add a udev rule:
gksu gedit /etc/udev/rules.d/15-huawei-e1550.rules

what we are doing is telling udev that when this device is pluggin in to switch its mode, paste this and save.
SUBSYSTEM=="usb",
SYSFS{idProduct}=="1446",
SYSFS{idVendor}=="12d1",
RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"
---------------------------------------------------------------------------------------------------------------------------

blog.lynxworks.eu/20090830/huawei-e1550-on-ubuntu

Revision history for this message
ukblacknight (tom-blacknight) wrote :

Mekan, I original used this solution before using usb-modeswitch, however it had the side effect of not loading any USB storage devices. usb-modeswitch works, but since using it, the connection is unstable on an e1550, requiring reconnects and replugging in the device.

Revision history for this message
lupa (lupa18) wrote :

Here the same with Huawei E160 and kernel 2.6.32-25-generic

This worked:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/546728/comments/7

Revision history for this message
sdaau (sd-imi) wrote :

Just tested on a new netbook PC with a Huawei - Natty works out of the box; Lucid still needs usb-modeswitch installed manually...

Revision history for this message
Jānis Kangarooo (kangarooo) wrote :

On ubuntu netbook remix 10.04.03 with sudo apt-get install usb-modeswitch i got mine Huawei 353 also working.
THX
Maybe ton next Ubuntupackage this usb-modewitch needs to be included since its important to have all drivers installed allready and this take 606kb

description: updated
summary: - [Lucid] Huawei USB Modems not detected since upgrade. E620, E169 modems
- - need to install usb-modeswitch(-data)
+ [Lucid] Huawei USB Modems not detected since upgrade. E620, E169, E353
+ modems - need to install usb-modeswitch(-data)
Revision history for this message
penalvch (penalvch) wrote :

Simon, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

summary: - [Lucid] Huawei USB Modems not detected since upgrade. E620, E169, E353
- modems - need to install usb-modeswitch(-data)
+ [Lucid] Huawei E620 USB Modems not detected since upgrade need to
+ install usb-modeswitch(-data)
description: updated
tags: added: needs-upstream-testing
summary: - [Lucid] Huawei E620 USB Modems not detected since upgrade need to
+ 12d1:1001 Huawei E620 USB Modems not detected since upgrade need to
install usb-modeswitch(-data)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.