Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

Bug #446146 reported by Dominique Eckert
952
This bug affects 182 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
High
Andy Whitcroft
Declined for Dapper by Jeremy Foshee
Declined for Hardy by Jeremy Foshee
Declined for Intrepid by Jeremy Foshee
Declined for Jaunty by Jeremy Foshee
Declined for Lucid by Jeremy Foshee
Karmic
Won't Fix
High
Unassigned

Bug Description

SRU Justification:

Impact: The Huawei modem (with a certain firmware it seems) claims to support a certain sense data format, but does not do so.

Fix: Change to USB storage, which lets the device fallback to a shorter sense format. This patch went into 2.6.31.5 ("usb-storage: Workaround devices with bogus sense size").

---

I'm using a Huawei E169 USB dongle to connect to a GSM mobile broadband network. It used to work out-of-the-box with Jaunty and previous versions of Karmic (kernel 2.6.31-11 and previous). However the device doesn't work any more with the latest kernel.

Dmesg gives me repatedly this message:

dmesg:
option: option_instat_callback: error -108

lsusb:
Bus 005 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

My system: Dell XPS M1530, see attached result of "lshw"

This bug apparently affects other people as well: http://ubuntuforums.org/showthread.php?p=8070873#post8070873

NB: Remaining bug with Huawei E220/E270 is bug #449394, not this bug

Revision history for this message
Dominique Eckert (dom-eckert) wrote :
Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Affects me also with Huawei E169 and eeePC 1000H

Ubuntu 9.10 beta updated today
kernel: 2.6.31-12-generic #41
network-manager: 0.8~a~git.20091005t192303.1d28ad1-0ubuntu2
modemmanager: 0.2.git.20091003t063318.aa78b5f-0ubuntu1

Revision history for this message
Russell Faull (rfaull) wrote :

Exactly the same issue on two machines after upgrading to 2.6.31-12.40/41 generic. Retaining kernel 2.6.31-11 as workaround and hoping later updates solve this problem.

Kernel is seeing dongle as a usb drive and not a modem. I'm sure its the kernel upgrade because NM and modem manager are the same versions.

BTW karmic alpha/beta is working very well for me, apart from this problem.

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Problem exists on 2.6.31-13-generic #42

AND on Ubuntu Netbook Remix daily live (.iso) of 9-Oct-09 where Huawei E169 cannot be used at all as there is no previous kernel to boot!

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: regression-potential
Revision history for this message
Russell Faull (rfaull) wrote :

Confirming problem remains with latest kernel 2.6.31-13.42.

Revision history for this message
Russell Faull (rfaull) wrote :

Updating to 2.6.31-13#43 makes no difference

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :
Download full text (4.9 KiB)

Below is part of dmesg (2.6.31-13#43) showing the 'loop':

g@KKsep22:~$ dmesg
[ 1261.396207] usb 2-2: new full speed USB device using uhci_hcd and address 4
[ 1261.616651] usb 2-2: configuration #1 chosen from 1 choice
[ 1261.634400] scsi86 : SCSI emulation for USB Mass Storage devices
[ 1261.637423] usb-storage: device found at 4
[ 1261.637438] usb-storage: waiting for device to settle before scanning
[ 1261.744264] usb 2-2: USB disconnect, address 4
[ 1262.480201] usb 2-2: new full speed USB device using uhci_hcd and address 5
[ 1262.645650] usb 2-2: configuration #1 chosen from 1 choice
[ 1262.653302] option 2-2:1.0: GSM modem (1-port) converter detected
[ 1262.653695] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1262.656890] option 2-2:1.1: GSM modem (1-port) converter detected
[ 1262.657342] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1262.666827] option 2-2:1.2: GSM modem (1-port) converter detected
[ 1262.667166] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1262.672207] scsi90 : SCSI emulation for USB Mass Storage devices
[ 1262.678576] usb-storage: device found at 5
[ 1262.678585] usb-storage: waiting for device to settle before scanning
[ 1267.678453] usb-storage: device scan complete
[ 1267.681422] scsi 90:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 1267.684423] scsi 90:0:0:1: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 1267.715350] sr0: scsi-1 drive
[ 1267.715798] sr 90:0:0:0: Attached scsi CD-ROM sr0
[ 1267.716193] sr 90:0:0:0: Attached scsi generic sg2 type 5
[ 1267.716944] sd 90:0:0:1: Attached scsi generic sg3 type 0
[ 1267.749246] option: option_instat_callback: error -108
[ 1267.749530] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1267.749596] option 2-2:1.0: device disconnected
[ 1267.752224] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1267.752271] option 2-2:1.1: device disconnected
[ 1267.755231] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1267.755279] option 2-2:1.2: device disconnected
[ 1267.864140] usb 2-2: reset full speed USB device using uhci_hcd and address 5
[ 1268.011659] option 2-2:1.2: GSM modem (1-port) converter detected
[ 1268.011950] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1268.012354] option 2-2:1.1: GSM modem (1-port) converter detected
[ 1268.012698] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1268.013127] option 2-2:1.0: GSM modem (1-port) converter detected
[ 1268.013513] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1268.091233] option: option_instat_callback: error -108
[ 1268.099009] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1268.099071] option 2-2:1.0: device disconnected
[ 1268.099265] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1268.099322] option 2-2:1.1: device disconnected
[ 1268.099495] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1268.099547] option 2-2:1.2: device disconnected
[ 1268.212136] usb 2-2: reset full speed USB dev...

Read more...

Revision history for this message
p3car (peter-carlsson50) wrote :

Affects me to. Seems like the USB modem is mounted as an USB-memory stick. I can actually open the disk in Nautilus and browse the content. I tried to download http://www.greenhughes.com/files/e169g-switch_0.3_all.deb which resolved the issue for me in earlier versions of Ubuntu. The modem has been working flawless up until last week when I upgraded to 2.6.31-12 and today I upgraded to 2.6.31-13 and the modem is still being seen as usb-disk.

When inserting the usb-modem I get the following error message:

Unable to mount Tele2 3G-modem

Error mounting: mount exited with exit code 32: Mount: block
device /dev/sr1 is write protected, mounting read-only
mount: /dev/sr1 already mounted or /media/Tele2 3G-
modem busy

Changed in linux:
status: Unknown → Confirmed
Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

We identified the bug upstream, it's a 2.6.31.1 - >2.6.31.2 regression. Still looking for a proper fix (yeah, I have one of these critters too).

Discussion is mostly happening on lkml but we'll keep http://bugzilla.kernel.org/show_bug.cgi?id=14355 updated when a solution is found, hopefully in the next couple of days.

Revision history for this message
Russell Faull (rfaull) wrote :

Thanks, Benjamin. Good luck with the fix. I have retained 2.6.31-11 and I am updating other kernels as they appear in repos.

Revision history for this message
Andrea Chiavazza (andrea-c7a) wrote :

2.6.31-13.44 doesn't fix the bug for me

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

We now know what the problem is, still debating how to properly fix it

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

The attached patch should make it work again, though it's a bit of a hack and probably not
what the final solution will be. In case you really don't want to stick to 2.6.31.1 :-)

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Hi Benjamin, I do not want to 'gain' from your knowledge but if possible can you take a look to bug:
https://bugs.launchpad.net/bugs/408555
that has a similar 'looping' on creating/disconnecting ttyUSBx with ZTE MF636? The difference there is that ttyUSBx is advanced (+1) at a time reaching ttyUSB8-9-... and finally the system gets frozen.
Thanks in advance,
George

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
status: Triaged → In Progress
Revision history for this message
Andy Whitcroft (apw) wrote :

Ok I have taken the dirty fix benh referenced above and applied it to the karmic kernel and built some kernels for testing. Could those of you affected by this issue please try these kernels and report back here. The kernels can be found at the URL below:

     http://people.canonical.com/~apw/lp446146-karmic/

Changed in linux (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Andrea Chiavazza (andrea-c7a) wrote :

Andy's #44lp446146apw1 fixes the problem for me.

Revision history for this message
Dominique Eckert (dom-eckert) wrote :

The problem is also solved for me using Andy's kernel.

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Same good results for my E169 with 2.6.31-13-generic #44lp446146apw1

Revision history for this message
Rorohiko (reinhard-kniest-compuserve) wrote :

My problem is fixed with this Andy's #44lp446146apw1. Thank you!

Revision history for this message
Russell Faull (rfaull) wrote :

Works for me too, except the E169 also loads as a USB drive.

Thanks

Revision history for this message
Helder Fraga (whise) wrote :

i got this to with my E220 usb modem using kernel 2.31.13 , hope this gets fixed in the future

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Hi Russell Faull,
my opinion is that USB drive (virtual CDROM/ZeroCD) must exist but possibly not mounted automatically. It is not good to reject it as in the future a manufacturer may want to include any Linux (open source better) application program to control/update their modem (ex. like betavine s/w). The user can add a rule to eject/unmount it automatically. The same and more important is to get access on microSD card reader.
Regards,
George

Revision history for this message
Russell Faull (rfaull) wrote :

Hi George

Good point about future Linux software, I hope more manufacturers adopt open source.

Perhaps not for this thread, but how do I control mount / unmount automatically, as you suggest?

Regards and thanks
Russell

Revision history for this message
FraGe (fragebuntu) wrote :

Hi all,

I can confirm the issues with E220 and E270, although I haven't tested the fixes yet. Will try to update my box today/tomorrow ...

regards,
FraGe

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Note that 2.6.31-13-generic #44lp446146apw1 is just '2.6.31-13' for grub.
A newer update will force 2.6.31-13-generic #45 to be used instead of the patched and the problem will come back!

@Russell Faull, post anything at http://ubuntuforums.org/showthread.php?t=1202430 to discuss.

Revision history for this message
Keith Drummond (kd353) wrote :

I have an E220 and get the following whenever I attempt to use it;

Unable to mount Mobile_Connect
Error mounting: mount exited with exit code 32: mount: block device /dev/sr0 is write-protected, mounting read-only mount: /dev/sr0: can't read superblock

Revision history for this message
Russell Faull (rfaull) wrote :

Bug remains with 2.6.31-14 #46 (Change log not available to the time of writing this post).

Thanks to GeorgeVita for warning about *31-13, which is now 'pinned'.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

Here's the "final" patch that unless major problem or end of the world,
Greg will send to Linus and apply to -stable tomorrow:

http://marc.info/?l=linux-kernel&m=125540979118722&w=2

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
milestone: none → karmic-updates
Revision history for this message
Keith Drummond (kd353) wrote :

Just got latest kernal update and the problem still persists. Have to go back to -11 to use the USB dongle!

Revision history for this message
Andrea Chiavazza (andrea-c7a) wrote :

2.6.31-14.46 is still affected by the bug, and today it's kernel freeze time...
Does milestone -> karmic-updates mean that a fix for this bug will be released as a kernel update after the release of 9.10 ?
If the dongle is your only Internet connection you will have to save the kernel update packages on a flash disk and use them to upgrade after you installed 9.10.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

This is indeed a concern. Those dongles are quite common, at least here in .au

My latest patch was accepted and is now in gregkh tree, it should hit the next stable release and Linus soon now, might be worth making sure it's in the released kernel

Revision history for this message
Jyrki Luoma (hoikkam73) wrote :

Loaded just new updates from main server.
still doesn't work.

It gives this error:
Error mounting: mount exited with exit code 32: mount: block device /dev/sr1 is write-protected, mounting read-only
mount: /dev/sr1 already mounted or /media/Mobile Partner busy

Without any updates only cd-install of karmic it works good.

Revision history for this message
leviathan (fl4me) wrote :

It's a big problem, Those dongles are very common in Italy too

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

Patch now upstream ID b8430e1b82b7e514d76a88eb70a7d8831d50df1e and queued for next -stable

Revision history for this message
Russell Faull (rfaull) wrote :

Ben, does this mean the patch is likely to be 2.6.31-14.48? And thanks for solving this annoying bug.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

I have no idea in what ubuntu kernel it will show up :-) All I know is the upstream status :-)

Revision history for this message
Blake Munro (blake-munro) wrote :

This bug was also affecting me, thanks to Andy's .13 Kernel I am now online.
Look forward to a fix before the final release.

Revision history for this message
Andy Whitcroft (apw) wrote :

The patch is now pulled into our tree. It is most likely to release as an SRU immediatly after release.

Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Russell Faull (rfaull) wrote :

Andy, do I understand you correctly that the fix for this problem will only be available in a kernel upgrade sometime after Karmic is available to the general public as a final release on 27 October?

If so, there will be many disappointed users of e169 modems. I expected the Ubuntu will also suffer pretty negative publicity. I hope I am misunderstanding your post..

BTW I am using the kernel with Ben's 'hack' patch you posted at #15. It works fine. Is there a chance of a new kernel complied with the final patch for testing through this forum?

Regards and thanks

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

SRU (https://wiki.ubuntu.com/StableReleaseUpdates) is unacceptable!

This must be fixed BEFORE final release. Imagine a new user (Ubuntu/linux 'newbie') without any other Internet access:

Get Ubuntu 9.10, install it, use windows to get a new .deb, copy it to your Ubuntu 9.10 Desktop and double click it to install. 'Ubuntu via windows'...

We 'throw away' dial up (no wvdial), we do not want ZTE MF636 (ok this is a minority) now we need to patch LiveCDs for a Huawei 3G modem (very popular worldwide)?

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

... and I think you understand that this is not OUR problem as we are involved in testing (development phase) and we gain a lot of knowledge (Thanks!). Now we can use over 5 methods to connect with our 3G modems.
What about a newcomer?

Revision history for this message
Russell Faull (rfaull) wrote :

If the fix is in the Ubuntu 'tree', it seems a process failure not to be able to propagate it quickly through the repos. Today's kernal #48 added support for an iriver music player -- important, yes, but not as important as connecting to the net! IMHO.

leviathan (fl4me)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
FraGe (fragebuntu) wrote :

hmm, I thought "released" means, that it is in the kernel now, but a todays daily-build doesn't work either - its not just the 169,
- I guess, nearly every huawei, if not all are affected - I use a 220 and a 270, both don't work right now.

greets,
FraGe

Revision history for this message
clariwee (clariwee) wrote :

Sorry everyone. Accidentally clicked on the status change to Fixed Released. Reverted to original status of Fix Committed.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
tgpraveen (tgpraveen89) wrote :

Please get this in karmic final itself and NOT as an SRU.

I am sure there are many people like me who depend on 3g modems for net connection and after i install Karmic and then it doesn't work. We'll be stuck. Especially for the new comers it will make a very abd impression.

Revision history for this message
Patrick Cost (cbrpaddy) wrote :

It's incredibly fiddly, but I can eventually get my Huawei E220 modem going by using this method which I used years ago with some earlier version of Ubuntu...

sudo rmmod usb-storage
sudo modprobe usbserial vendor=0x12d1 product=0x1003

I completely depend upon my 3g connection. If I'd performed a fresh install over my Jaunty or upgraded to Karmic I'd have been left up the creek.

I don't think an average user would either want or be capable of resolving a connection problem like this, and there are MANY 3g users in Ireland. This would be a disaster if left unfixed in the final release.

Revision history for this message
Nicholas Christian Langkjær Ipsen (ncli) wrote :

Please include this fix on the CD, it is absolutely essential for the many people, especially students, who depend on their USB modems for internet connectivity!!

Revision history for this message
Tiago Antao (tiagoantao) wrote :

Just want to add yet another comment in favor of getting this in the release and seriously increase the importance. Many many people do use these USB dongles. Vodafone - the biggest pan-European mobile provider - among many others, uses these dongles for mobile Internet in most countries where they operate.
I can imagine lots of people having a crappy first experience with Ubuntu because of this. In fact, I am writing this on a brand new installation of Karmic where the person requested my help to solve this.

Revision history for this message
Russell Faull (rfaull) wrote :

Many people in my part of the world (and I suspect elsewhere) are rapidly abandoning fixed line adsl(2) and traditional ISPs for 3G mobile broadband -- Virgin Mobile with Huawei E169 in .au in my case.

With one week to public release of Karmic, don't let it be Ubuntu's Vista. For most people, If it smells like shit, it probably is -- which would be pretty sad. They won't forgive easily and wait for an M$-type 'service pack' (read SRU).

Revision history for this message
Dave Hall (skwashd) wrote :

As someone who's only option for affordable broadband access is via HSDPA I would vote for this being including in the official release. At the same time for every ubuntu release since hardy has included a last minute fix which introduced a regression which has bitten me (or a client). If proper QA can not occur between now and the release, I think it is worse to introduce another regression at the last minute than ship a product with a relnoted known issue.

Revision history for this message
Dave Hall (skwashd) wrote :

Just a quick followup, I tested the AMD64 kernel post by Andy on 12Oct and it works as advertised. I would also be happy to test a current kernel with the patch too.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I know kernel and QA team are very busy close to release!
I also know that upgrading a kernel to archive so close to release is not a good idea.
But please consider how this will affect a big subset of the users, leaving them stranded without means of upgrade.
I would like to have the kernel and release team considering a critical measure and delay release until the kernel can be properly tested.

I also understand that if we would delay the release for each regression comes up, we would never do it, but this is an huge regression, and there's already a patch that is reported to be working.

Please take this into consideration.

Thanks.

Revision history for this message
SiNuS (simone-tosti) wrote :

I used to connect with my mobile and this patch doesn't solve my problem. I still can't connect with broadband mobile (no broad band mobile appear on network manager menu). The last time it works was when I have 2.6.28 installed from ubuntu 9.04.

Revision history for this message
Vytas (vytas) wrote :

For me it eventually works but only after plugging & unplugging device a few times

Revision history for this message
steenbras (raathm) wrote :

With my E169 the

sudo rmmod usb-storage
sudo modprobe usbserial vendor=0x12d1 product=0x1001

worked (other people will find their vendor and product IDs on https://wiki.ubuntu.com/NetworkManager/Hardware/3G)

however I had an additional isssue in that no DNS was picked up - /etc/resolv.conf was empty. This was solved by adding usepeerdns to /etc/ppp/options and then reconnecting.

+1 to those who say these issues must be sorted out prior to a release.

Revision history for this message
JMFTheVCI (jmfthevci) wrote :

To add insult to injury inserting my E169 kills NetworkManager.
I have to remove my E169 stick before I can restart NetworkManager without having to reboot the system.
Using the commands above I can start NM but the applet does not come back properly and a reboot it needed to bring NM back fully.

Revision history for this message
pingulux (serge-luxsoft) wrote :

i have the same problem with e169 - on amd64 - as every one probaby

Releasing Ubuntu with this kernel would really be a bad idea - if a newbie cannot connect to internet - he will surely erase his ubuntu install and work with windows7 (the 1st good windows for me since win2k)

Revision history for this message
Stefanauss (stefanauss) wrote :

On Karmic RC, rmmodding e modprobing usb-storage and serial won't work in order to get Huawei E169G Dongle to work. (see attachment for my details).

I won't add a word about how it's *vital* to have this as final behaviour for Karmic when insert the dongle.

Revision history for this message
Russell Faull (rfaull) wrote :

Most on this forum agree that a fix is 'vital' for the final release of Karmic. I would be really interested in a view from someone on the release team / kernel team about the importance of mobile broadband access for new or less experienced users with this popular modem.

Come, guys, we have not heard from you since Andy's post #39 on 16 October.

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Hi again, I would like to express some thoughts, just to be 'fair' and 'typical':

a. this is not a 'forum' but a 'bug report system'
>>> the 'bug' reported, a fix found and it is on the way to be established

b. most users above CAN FIX the problem as they involved in testing pre-released KK
>>> they/we complain about the BAD situation for a newcomer who has 3G (mobile) or land-wireless broadband as their main internet connection

c. #446146 is a real BUG as in many cases the creation/disconnection of the CDROM and/or ttyUSBx is looping (dmesg has new lines) and sometimes system freezes

d. this bug found 'in time' (8-Oct), discussed and confirmed at ubuntuforums.org and then reported at launchpad following the 'typical' procedure. Confirmed by developers and a patch released. This patch tested and found working (or at least 'working enough') 'in time' (12-Oct)

e. Kernel Freeze came at 15-Oct without this fix!

f. Possibly the purpose of this thread ('bug report') fulfilled after comment #16-20

Some reference links:
Karmic Koala Release Schedule http://ubuntuforums.org/showthread.php?t=1133054
canNOT use Huawei E169 with 2.6.31-12-generic #40 http://ubuntuforums.org/showthread.php?p=8068801

Regards,
George

P.S.: Release of 9.04 had wvdial removed from final .iso and a lot of dial-up users faced a major problem!

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Russell Faull (rfaull) wrote :

George, you are the voice of moderation.

This discussion should have moved to the forums after the fix was known. But the frustration expressed here is precisely because the fix was available before the kernel freeze on 15 October and is based on concern for new users and the reputation of Ubuntu.

Regards

Revision history for this message
FraGe (fragebuntu) wrote :

Hi all,

after upgrading to the newest kernel ( http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/ ), downloaded from another machine I finally found a way to connect with my E220 using the mentioned

sudo rmmod usb-storage
sudo modprobe usbserial vendor=0x12d1 product=0x1003

this is ok for a Beta, but it's really inacceptable for the Final. Hope, this gets fixed and in the kernel before the release :(

regards,
FraGe

Revision history for this message
Russell Faull (rfaull) wrote :

Looking at the changelog for 2.6.31.5 (http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31.5) it appears Ben H's fix is included.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I have Linux BluBUG 2.6.31-02063105-generic #02063105 SMP Fri Oct 23 09:08:09 UTC 2009 x86_64 GNU/Linux
and still it doesnt work out of the box
attaching syslog

Revision history for this message
Nicholas Christian Langkjær Ipsen (ncli) wrote : Re: [Bug 446146] Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

In my honest opinion, this is reason enough for a postponement of the
release.

darhma (darhma)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
james83 (j4mes-83)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Jyrki Luoma (hoikkam73) wrote : Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

What did I do wrong?

jyrki@jyrki-desktop:~$ sudo rmmod usb-storage
ERROR: Module usb_storage is in use
jyrki@jyrki-desktop:~$ sudo rmmod usb-storage
ERROR: Module usb_storage is in use
jyrki@jyrki-desktop:~$ sudo modprobe usbserial vendor=0x12d1 product=0x1001
jyrki@jyrki-desktop:~$

No it doesn't work.
I have E169

Revision history for this message
Jyrki Luoma (hoikkam73) wrote :

It's E169 hdspa

Revision history for this message
Jyrki Luoma (hoikkam73) wrote :

What goes wrong?

jyrki@jyrki-desktop:~$ rmmod usb-storage
ERROR: Module usb_storage is in use
jyrki@jyrki-desktop:~$ sudo umount /dev/sr1
[sudo] password for jyrki:
umount: /dev/sr1: not mounted
jyrki@jyrki-desktop:~$ sudo rmmod usb-storage
ERROR: Module usb_storage is in use
jyrki@jyrki-desktop:~$ sudo modprobe -r usb-storage
FATAL: Module usb_storage is in use.
jyrki@jyrki-desktop:~$ sudo umount /dev/sr1
umount: /dev/sr1: not mounted
jyrki@jyrki-desktop:~$ sudo umount /dev/sr1
umount: /dev/sr1: not mounted
jyrki@jyrki-desktop:~$ sudo modprobe -r usb-storage
FATAL: Module usb_storage is in use.
jyrki@jyrki-desktop:~$
jyrki@jyrki-desktop:~$
jyrki@jyrki-desktop:~$ sudo umount /dev/sr1
umount: /dev/sr1: not mounted
jyrki@jyrki-desktop:~$ sudo modprobe -r usb-storage
FATAL: Module usb_storage is in use.
jyrki@jyrki-desktop:~$ sudo rmmod usb-storage
ERROR: Module usb_storage is in use
jyrki@jyrki-desktop:~$

Revision history for this message
Iiro R-J (irj-iki) wrote :

I have a Huawei E220 USB dongle and I am suffering the same post 2.6.31-11 problems as many others in this list.
The 2.6.31-02063105 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/ did not solve the issue for me. I have fully functional system with the 2.6.31-11, but anything later will make system reset the dongle continuously. I have tested this with two different laptops.

lsusb identifies the dongle as:
Bus 003 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

Huawei E220 is very popular in Finland, so...

Revision history for this message
Russell Faull (rfaull) wrote :

Kernel 2.6.31.5 mentioned by liro R-J works for me with Huawei E169. It should work ok because, according to the changelog, Ben H's patch has been applied.

Is a new bug report needed for the E220?

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

I haven't had a chance to test 2.6.31.5 on my E169, will do so later today, but it's possible that E220 suffers from a different bug (Huawei seems to have a pretty crappy firmware).

I would suggest you guys file a kernel bugzilla entry on kernel.org, CCing Alan Stern, and attach the usbmon output when plugging the device (and let it go through a couple of reset cycles). Alan's pretty responsive and found the problem with the E169 pretty quickly from my logs.

Feel free to also CC me.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

Ok, so here's what I observed with 2.6.31.5 and my E169:

 - After boot, the first time I insert the E169, the SCSI part shows up but not the modem
 - Unplug it and re-plug it, and it works

I'm not 100% sure yet what we have wrong that causes that behaviour, but it seems to
be quite consistent. However, it's a lot less bad than what we had before.

The E220 may well be having an altogether different problem.

Revision history for this message
Russell Faull (rfaull) wrote :

Ben, I have the same experience with 2.6.31.5. But at least it works.

Thanks and regards

Revision history for this message
Gerard Cunningham (gerard-faduda) wrote :

I'm in .ie, I'm an end user, and mobile broadband is ESSENTIAL for my work. My vodafone Huawei E620 dongle has the same problem listed above, but the SUSE install I put on my backup laptop works flawlessly. If Karmic doesn't work on Thursday, I will be moving to another Distro. Fix this!

Revision history for this message
Graham Beneke (graham-beneke) wrote :

I reported the bug with the E220 a while back: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/449394

It may be a duplicate but I'm not sure.

Revision history for this message
Gerard Cunningham (gerard-faduda) wrote :

There will be a certain irony if Karmic, hyped as For The Cloud, is released without a way for many users to get online while on the move. Fingers crossed this is resolved. That is all.

Revision history for this message
Nicholas Christian Langkjær Ipsen (ncli) wrote : Re: [Bug 446146] Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

Iød like to add that the E620 doesn't work either... This needs to work for
Lucid!!

Nicholas Ipsen

On Mon, Oct 26, 2009 at 10:02 AM, Gerard Cunningham <email address hidden>wrote:

> There will be a certain irony if Karmic, hyped as For The Cloud, is
> released without a way for many users to get online while on the move.
> Fingers crossed this is resolved. That is all.
>
> --
> Huawei E169 USB dongle not working with kernel 2.6.31-12.40
> https://bugs.launchpad.net/bugs/446146
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Confirmed
> Status in “linux” package in Ubuntu: Fix Committed
>
> Bug description:
> I'm using a Huawei E169 USB dongle to connect to a GSM mobile broadband
> network. It used to work out-of-the-box with Jaunty and previous versions of
> Karmic (kernel 2.6.31-11 and previous). However the device doesn't work any
> more with the latest kernel.
>
> Dmesg gives me repatedly this message:
>
> dmesg:
> option: option_instat_callback: error -108
>
> lsusb:
> Bus 005 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB
> Modem
>
>
> My system: Dell XPS M1530, see attached result of "lshw"
>
> This bug apparently affects other people as well:
> http://ubuntuforums.org/showthread.php?p=8070873#post8070873
>

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 446146] Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

On Mon, 2009-10-26 at 09:28 +0000, Seph_VII wrote:
> Iød like to add that the E620 doesn't work either... This needs to work for
> Lucid!!

As I said earlier, if your HW doesn't work with what's in 2.6.31.5
(minus the glitch of having to unplug & replug which I'll try to
investigate when I have some time), then you should file an upstream bug
on kernel.org bugzilla, and make sure you CC Alan Stern and provide
usbmon logs. That's the only way it's going to get fixed.

Cheers,
Ben.

> Nicholas Ipsen
>
>
> On Mon, Oct 26, 2009 at 10:02 AM, Gerard Cunningham <email address hidden>wrote:
>
> > There will be a certain irony if Karmic, hyped as For The Cloud, is
> > released without a way for many users to get online while on the move.
> > Fingers crossed this is resolved. That is all.
> >
> > --
> > Huawei E169 USB dongle not working with kernel 2.6.31-12.40
> > https://bugs.launchpad.net/bugs/446146
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in The Linux Kernel: Confirmed
> > Status in “linux” package in Ubuntu: Fix Committed
> >
> > Bug description:
> > I'm using a Huawei E169 USB dongle to connect to a GSM mobile broadband
> > network. It used to work out-of-the-box with Jaunty and previous versions of
> > Karmic (kernel 2.6.31-11 and previous). However the device doesn't work any
> > more with the latest kernel.
> >
> > Dmesg gives me repatedly this message:
> >
> > dmesg:
> > option: option_instat_callback: error -108
> >
> > lsusb:
> > Bus 005 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB
> > Modem
> >
> >
> > My system: Dell XPS M1530, see attached result of "lshw"
> >
> > This bug apparently affects other people as well:
> > http://ubuntuforums.org/showthread.php?p=8070873#post8070873
> >
>

Revision history for this message
Iiro R-J (irj-iki) wrote : Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

A couple of clarifications for E220:
2.6.31-11 Ubuntu kernel does work directly without a glitch.
Ubuntu kernels -12, -13, -14 and 2.6.31.5 kernel does not work directly. It does not work either after several plug in / out cycles.

As Patrick Cost wrote, I can also make 2.6.31.5 work by:
sudo rmmod usb-storage
sudo modprobe usbserial vendor=0x12d1 product=0x1003

After that the device is working properly.

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Any word on a release date for this patch, or is it roll your own kernel time?

Daniel (daniel-raspone)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Dominique Eckert (dom-eckert) wrote :

In the mean time, why not create a PPA with the patched kernels?

Revision history for this message
Mind Booster Noori (marado-isp) wrote :

Hi Daniel, you changed the status from "Fix Committed" to "Fix Released"... Can you please tell me which package version was released with the fix?

Thanks!

Revision history for this message
FraGe (fragebuntu) wrote :

Hi.

I tried with my wifes E270 right now, and this works like a charm. Can anybody try this and give feedback?

E270 and E220 are normally known as the same modem/hardware, they look different, but seem to be the same - so it's a bit strange, that they behave different in this case.

After switching to my E220 without doing anything more I'll post again.

Revision history for this message
FraGe (fragebuntu) wrote :

nope, it doesn't work then, had to rmmod usb-serial about 20 times and plug/unplug the device too :(

Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Iiro R-J (irj-iki) wrote :

added a separate bug report for E220 in http://bugzilla.kernel.org/show_bug.cgi?id=14499

Revision history for this message
FraGe (fragebuntu) wrote :

ah, perfect, we should talk about this one somewhere else, for example in
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/449394 this report:

Revision history for this message
Graham Beneke (graham-beneke) wrote :

All these Huawei bugs are clearly not going to be patched before the final release.

Who is responsible for adding a 'Known Issues' comment on the Ubuntu homepage for the release?

I suspect there will be plenty of peeved users otherwise. I know of a number of user who would lose their only connectivity due to these bugs.

Revision history for this message
MrAuer (mr-auer) wrote :

Great....
This is the worst one so far - in addition to suspend at times hanging my machine and wlan toggle not working properly on my Eee pcs. Guess what I use for internet connectivity - yup, a Huawei modem.

Regressions, regressions....It worked from Hardy onwards (with wvdial but still).

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

Well... there would be a way to fix all those regressions for release until a proper fix is found
upstream .... which would be to revert the patch that went in 2.6.31.2 that caused them all.

The result would be to go back to 2.6.31.1 state with the modem working but the storage
side of the device not working, which isn't a big deal, since it's bugs in the USB storage
implementation of the devices that seem to be causing this.

This is commit

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d0defb855c8504c49b92bdc0203689ce9b4cf7ba

Cheers,
Ben.

Revision history for this message
Russell Faull (rfaull) wrote :

Has anyone, apart from Ben H, liro R-J (who has a e220) and me, tried the kernel at http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/? Apart from the first time you insert the e169, both modem and usb storage seem to work flawlessly. (I'm using it now.)

I also have the current ubuntu kernel -- 2.6.31-14.48 -- installed and the meta packages so that I know when there is a new kernel in the repos,

Revision history for this message
MrAuer (mr-auer) wrote :

I installed that kernel to fix my wlan problems, but didnt yet try my Huawei with it. I will report back when I have the time to test it - should be today.

Revision history for this message
MrAuer (mr-auer) wrote :

On the Eee pc now - I have the Huawei E220 dongle, I installed the 2.6.31-5 kernel.
The modem worked on first connection, both the USB memory part and the modem showed up - the modem had been configured already previously on Jaunty so no configuration was needed now. It works normally as far as I can tell.

Cant say about E169, I dont have one of those.

Revision history for this message
MrAuer (mr-auer) wrote :

I should add that before, on Intrepid and Jaunty, the modem worked perfectly, but the USB memory part never showed up, which it does now.

Revision history for this message
Marcin Giedz (marcin-giedz) wrote :
Download full text (3.3 KiB)

With kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/, I can see CD and memory part (VFAT) and modem as well, but modem seems to be kind of blocked. I can't do any connection via e169. Anyone knows what I missed?

....
Oct 29 17:23:28 mini0001 modem-manager: (Huawei): GSM modem /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1 claimed port ttyUSB0
Oct 29 17:23:28 mini0001 modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1
Oct 29 17:23:28 mini0001 modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1 as /org/freedesktop/ModemManager/Modems/2
Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): new GSM device (driver: 'option1')
Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): exported as /org/freedesktop/NetworkManager/Devices/6
Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): now managed
Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2 (reason 2)
Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): deactivating device (reason: 2).
Oct 29 17:23:28 mini0001 NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Oct 29 17:23:28 mini0001 NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): device state change: 2 -> 3 (reason 0)
Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB1): re-checking support...
Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB1) opening serial device...
Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB2): re-checking support...
Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB2) opening serial device...
Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB1) closing serial device...
Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB1) opening serial device...
Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB1): probe requested by plugin 'Generic'
Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB2) closing serial device...
Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB2) opening serial device...
Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB2): probe requested by plugin 'Generic'
Oct 29 17:23:35 mini0001 kernel: [ 1017.806404] sd 19:0:0:1: [sdf] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
Oct 29 17:23:35 mini0001 kernel: [ 1017.889379] sd 19:0:0:1: [sdf] Assuming drive cache: write through
Oct 29 17:23:35 mini0001 kernel: [ 1017.973318] sd 19:0:0:1: [sdf] Assuming drive cache: write through
Oct 29 17:23:35 mini0001 kernel: [ 1017.973330] sdf: sdf1
Oct 29 17:23:45 mini0001 modem-manager: (ttyUSB1) closing serial device...
Oct 29 17:23:46 mini0001 NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/0 failed to activate (timeout): (0) Connection was not provided by any settings service
Oct 29 17:23:46 mini0001 modem-manager: (ttyUSB2) closing serial device...
Oct 29 17:23:46 mini0001 modem-manager: mm_modem_base_add_port: assertion `port == NULL' failed
Oct 29 17:23:46 mini0001 modem-manager: do_grab_port: plugin 'Generic' claimed to support tty/ttyUSB2 but couldn't: (-1) (unknown)
Oct 29 17:23:53 mini0001 NetworkManager: <WARN> wait_for_connection_expired(): Connectio...

Read more...

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 446146] Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40
Download full text (3.6 KiB)

On Thu, 2009-10-29 at 16:26 +0000, Marcin Giedz wrote:
> With kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/, I
> can see CD and memory part (VFAT) and modem as well, but modem seems to
> be kind of blocked. I can't do any connection via e169. Anyone knows
> what I missed?

Weird. It looks like its working properly and something inside network
manager goes wrong. Tried popping it out and back in ? Trying multiple
times maybe ? Checking your various NM settings ?

Doesn't look related to the bug at hand.

Cheers,
Ben.

> ....
> Oct 29 17:23:28 mini0001 modem-manager: (Huawei): GSM modem /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1 claimed port ttyUSB0
> Oct 29 17:23:28 mini0001 modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1
> Oct 29 17:23:28 mini0001 modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1 as /org/freedesktop/ModemManager/Modems/2
> Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): new GSM device (driver: 'option1')
> Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): exported as /org/freedesktop/NetworkManager/Devices/6
> Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): now managed
> Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2 (reason 2)
> Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): deactivating device (reason: 2).
> Oct 29 17:23:28 mini0001 NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
> Oct 29 17:23:28 mini0001 NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
> Oct 29 17:23:28 mini0001 NetworkManager: <info> (ttyUSB0): device state change: 2 -> 3 (reason 0)
> Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB1): re-checking support...
> Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB1) opening serial device...
> Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB2): re-checking support...
> Oct 29 17:23:29 mini0001 modem-manager: (ttyUSB2) opening serial device...
> Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB1) closing serial device...
> Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB1) opening serial device...
> Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB1): probe requested by plugin 'Generic'
> Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB2) closing serial device...
> Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB2) opening serial device...
> Oct 29 17:23:34 mini0001 modem-manager: (ttyUSB2): probe requested by plugin 'Generic'
> Oct 29 17:23:35 mini0001 kernel: [ 1017.806404] sd 19:0:0:1: [sdf] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
> Oct 29 17:23:35 mini0001 kernel: [ 1017.889379] sd 19:0:0:1: [sdf] Assuming drive cache: write through
> Oct 29 17:23:35 mini0001 kernel: [ 1017.973318] sd 19:0:0:1: [sdf] Assuming drive cache: write through
> Oct 29 17:23:35 mini0001 kernel: [ 1017.973330] sdf: sdf1
> Oct 29 17:23:45 mini0001 modem-manager: (ttyUSB1) closing serial device...
> Oct 29 17:23:46 mini0001 NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/0 failed to activate (timeout): (0) Connection was not provided by any settings service
> Oct 29 17:23:46 mini0...

Read more...

Revision history for this message
Russell Faull (rfaull) wrote : Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

As expected, the final release kernel for Karmic is 2.6.31-14.48, so no Huawei modem connections for new or existing users (unless they find this bug report and can figure out what to do). A pretty poor outcome, given Ben's patch has been 'committed' for two weeks.

Revision history for this message
Keith Drummond (kd353) wrote :

The E220 problem seems to be persisting with me. If I connect my E220 via my USB hub then I can eventually get online (I have set Network Manager to connect automatically). Usually the connection with switch on/off several times before finally settling. But it is far from stable, it will drop the connection without warning.

When I connect the E220 directly to my laptop I get the following message when I attempt to connect:

"Unable to mount Mobile_Connect

Error mounting: mount exited with exit code 32: mount: /dev/sr1 is not a valid block device"

So this is obviously a regression from 9.04, I will not be updating my other two machines until this is fixed as I rely completely on the E220 for Internet access.

Revision history for this message
Marcin Giedz (marcin-giedz) wrote :

..to Ben,

Yes tried many times, and I don;'t thing a have any strange settings in NM as wired/wifi connection works great. Should I file a new bug for this?

Revision history for this message
Martin (martin-wetterstedt) wrote :

If you don't have access to other kernel version, is there a workaround? Saw something with rmmod and modprobe in the forums, but it did not work for me.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Rusiru Boteju (hogsmate) wrote :

im using Huawei E220 modem to get get connected to internet. I installed Karmic yesterday(30 Oct 2009) the modem is not working i dunno wats wrong i think its something to do with the drivers cos in my laptop when i boot if i got o windows first and then restart immediately after the desktop appears in windows and then i go to ubuntu it works i dunno whats wrong with this. It was the same with my bluetooth connection too but luckily i was able to fix it by this http://rusiruboteju.wordpress.com/2009/08/08/phoenix-bios-and-bluetooth/
I want to fix this too can anyone help me cos this is the only way that im getting connected to internet and plus i hate to go to windows just to make my modem work the kernel version im using is 2.6.31-14-generic all the previous ubuntu versions like 9.04 and 8.10 worked well with this modem why is this not working?
and can anyone please tell me a workaround till this bug is fixed?
and also in the notification area i cant see the network connection notification if i remove it and add it again to the panel it works!
can anyone HELP ME!!

Revision history for this message
d-snake (dsnake) wrote :

I've the same problem with my Huawei Technologies Co., Ltd. E620 USB Modem dongle. With my Nokia N93i I can go online (it use the module cdc_acm). But it's funny. Yesterday I'll get online with the Huawei dongle. Is it clear when a new kernel will come with the updates? My kernel 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Antofka (antofka)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Andrea Chiavazza (andrea-c7a) wrote :

"Fix Released" means that a package that fixes the bug has been released in karmic-updates, and your Update Manager will be able to download and install the update: the problem is solved and we can forget about the bug.
"Fix Committed" means that a patch that fixes the problem has been created and possibly some packages have been built, but these packages have not been approved and have not made their way to the official karmic-update repository yet.
The second case seems to me to be our case.
If we mark this bug as "Fix Released", distribution maintainers will think it's a problem completely solved, forget about it, and not take any further action: an updated package will not be released.
Please don't change the status to "Fix Released" unless you really know what you are doing, especially if you joined launchpad just a few days ago =).
You can keep a bookmark to https://edge.launchpad.net/ubuntu/karmic/+source/linux/ to check when a new kernel package has been released.

Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Russell Faull (rfaull) wrote :

For those interested and with alternate access to the web, kernel in *.32 series at http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32-rc5/ works with my e169 (at first glance, everything else seems ok too).

Revision history for this message
Alexander Skiba (ghostlyrics) wrote :

just one stupid question that is not directly related to the discussion: I had the same problem with the e620 modem and the alternative kernel I installed from this bugreport got it working. But can this be the cause of another usb device (namely a flash drive) not working anymore?

Revision history for this message
madbiologist (me-again) wrote :

@Alexander Skiba - That's a different issue. Please open a new bug and attach the output of lsusb with and without the flash drive plugged in.

Revision history for this message
Franz Altmüller (franz-altm) wrote :

Same problem with the E620:

Details on dmesg-Output - Kernel tries permanently activating the hardware.

Nov 1 10:17:17 franz-laptop kernel: [ 7540.444181] usb 5-1: reset full speed USB device using uhci_hcd and address 10
Nov 1 10:17:17 franz-laptop kernel: [ 7540.589741] option 5-1:1.2: GSM modem (1-port) converter detected
Nov 1 10:17:17 franz-laptop kernel: [ 7540.589892] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov 1 10:17:17 franz-laptop kernel: [ 7540.590202] option 5-1:1.1: GSM modem (1-port) converter detected
Nov 1 10:17:17 franz-laptop kernel: [ 7540.590324] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov 1 10:17:17 franz-laptop kernel: [ 7540.590425] option 5-1:1.0: GSM modem (1-port) converter detected
Nov 1 10:17:17 franz-laptop kernel: [ 7540.590546] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov 1 10:17:17 franz-laptop kernel: [ 7540.609588] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov 1 10:17:17 franz-laptop kernel: [ 7540.609610] option 5-1:1.0: device disconnected
Nov 1 10:17:17 franz-laptop kernel: [ 7540.609686] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov 1 10:17:17 franz-laptop kernel: [ 7540.609705] option 5-1:1.1: device disconnected
Nov 1 10:17:17 franz-laptop kernel: [ 7540.609778] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 1 10:17:17 franz-laptop kernel: [ 7540.609795] option 5-1:1.2: device disconnected

Output of lsusb:
franz@franz-laptop:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Error message:
Error mounting: mount exited with exit code 32: mount: block device /dev/sr1 is write-protected, mounting read-only
mount: /dev/sr1 already mounted or /media/Telekom Austria busy

Revision history for this message
pcirne (pcirne-foruns) wrote :
Download full text (3.7 KiB)

Same issue with E220:

[ 4060.068051] usb 3-1: new full speed USB device using uhci_hcd and address 22
[ 4060.230258] usb 3-1: configuration #1 chosen from 1 choice
[ 4060.237777] scsi134 : SCSI emulation for USB Mass Storage devices
[ 4060.238017] usb-storage: device found at 22
[ 4060.238022] usb-storage: waiting for device to settle before scanning
[ 4060.424127] usb 3-1: USB disconnect, address 22
[ 4061.160061] usb 3-1: new full speed USB device using uhci_hcd and address 23
[ 4061.323258] usb 3-1: configuration #1 chosen from 1 choice
[ 4061.330765] option 3-1:1.0: GSM modem (1-port) converter detected
[ 4061.330850] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 4061.333206] option 3-1:1.1: GSM modem (1-port) converter detected
[ 4061.333274] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 4061.339421] scsi137 : SCSI emulation for USB Mass Storage devices
[ 4061.351221] usb-storage: device found at 23
[ 4061.351225] usb-storage: waiting for device to settle before scanning
[ 4066.350149] usb-storage: device scan complete
[ 4066.354135] scsi 137:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 4066.383094] sr1: scsi-1 drive
[ 4066.383346] sr 137:0:0:0: Attached scsi CD-ROM sr1
[ 4066.383494] sr 137:0:0:0: Attached scsi generic sg2 type 5
[ 4077.753095] sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
[ 4077.753122] sr: Sense Key : No Sense [current]
[ 4077.753131] sr: Add. Sense: No additional sense information
[ 4078.016109] sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
[ 4078.016137] sr: Sense Key : No Sense [current]
[ 4078.016146] sr: Add. Sense: No additional sense information
[ 4078.155063] option: option_instat_callback: error -108
[ 4078.156301] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 4078.156324] option 3-1:1.0: device disconnected
[ 4078.156388] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 4078.156405] option 3-1:1.1: device disconnected
[ 4078.324045] usb 3-1: reset full speed USB device using uhci_hcd and address 23
[ 4078.471254] option 3-1:1.1: GSM modem (1-port) converter detected
[ 4078.471417] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 4078.479115] option 3-1:1.0: GSM modem (1-port) converter detected
[ 4078.479276] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 4078.876079] option: option_instat_callback: error -108
[ 4078.877639] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 4078.877683] option 3-1:1.0: device disconnected
[ 4078.877796] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 4078.877827] option 3-1:1.1: device disconnected
[ 4079.000069] usb 3-1: reset full speed USB device using uhci_hcd and address 23
[ 4079.124035] usb 3-1: device descriptor read/64, error -71
[ 4079.296744] usb 3-1: USB disconnect, address 23

cirne@cirne-laptop:/var/log$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 026: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
...

Read more...

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

As I said multiple times already, the E220 bug (and possibly the E620 bug too) are a different problem (well, they seem to be) since you claim they aren't fixed by the existing patch in 2.6.31.5. Hence, you guys should file a bug report on bugzilla.kernel.org and attach usbmon logs (or attach such logs here and I can forward to BZ.k.o). Make sure to CC me and Alan Stern if you open the bug yourself.

Revision history for this message
Daniel Castro (castromd) wrote :

This is happening to me too, I have the:
Bus 004 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

For now the workaround I using is:
http://ubuntuforums.org/showpost.php?p=8195214&postcount=2

Revision history for this message
ClaudioRJ (cmirandarj) wrote :

My modem: ONDA MSA501HS
Kernel: 2.6.31-14-generic
Ubuntu 9.10 (my desktop OS version, installed as released in 29th Oct)

Same problem: after pluged in, shows it as a pendrive. Don't matter if you eject it, it's not reconized as a modem anymore. In Ubuntu 9.04 (my netbook OS version) still works.

Revision history for this message
Patrick Cost (cbrpaddy) wrote :

Hi Benjamin, have a look at posts #86 and #87, are these what you're looking for ? I see http://bugzilla.kernel.org/show_bug.cgi?id=14499 claims to have fixed the issue in 2.6.31.6.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 446146] Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

On Mon, 2009-11-02 at 09:14 +0000, Patrick Cost wrote:
> Hi Benjamin, have a look at posts #86 and #87, are these what you're
> looking for ? I see http://bugzilla.kernel.org/show_bug.cgi?id=14499
> claims to have fixed the issue in 2.6.31.6.

Ah, there may have been another fix I haven't seen. I'll have a look.
thanks.

Cheers,
Ben.

Revision history for this message
Haldo (haldonebkp) wrote : Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40

Hi, I had the same problem. My modem HUAWEI E169 is detected as a pendrive and not at all as a modem (sometimes it is not even recognised).
While waiting for the official patch, I installed kernel 2.6.32-rc5 and everything works well.

Revision history for this message
hills (hills) wrote :

Andy, when will you release this update?

Revision history for this message
Martin Wildam (mwildam) wrote :

Not sure if that is related or somehow helps (as it seems that bug is already fixed): I have a Huawei E160G HSDPA Modem and I have to boot my laptop having it already attached (WLAN disabled) to get it to work correctly. Otherwise plugging it in when already logged in it mounts the drive on it and connecting does not really work (getting https://bugs.launchpad.net/bugs/452427 and https://bugs.launchpad.net/bugs/404351).

Revision history for this message
MikkoNevalainen (mikko-j-nevalainen) wrote :

Hi!

I have huawei 169E and I have this problem that the machine goes coo-coo on that one message that it displays incessantly:

[23.318813] option: option_instat_callback: error -108

it also reported at one point:

no PSB or ACPI _PSS objects

I see your comments and thank yous but can't find the info to fix things.

So please help

Mikko

Revision history for this message
csantiago (santiago-carlos) wrote :

Hi All,

I saw some comments saying that the E220 problem also occurs with E620. Well, it seems that there are two different E620.

I have a E620 (a PCMCIA card) that it is seen by the kernel as a USB Device:
Bus 006 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

It worked out-of-the-box with no problem, also in live CD. ;-)

However, today I was showing Ubuntu 9.10 to a friend that has a E220 (vendor=0x12d1, product=0x1003) and I wanted to show that Ubuntu works with her USB Internet stick, even before installing it.

Well, bad luck and -1 eventual future ubuntu fan girl.

In fact, with this E220 device, the kernel see a memory device and not a modem.

I didn't try hard to circumvent the problem because Ubuntu was running in live CD and she didn't want to install it .... for now.

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

As Haldo comments above, using kernel 2.6.32-999-generic #200911011000 (2.6.32-rc5) my E169 can connect fine. Some other problems appear with this kernel so using it means: 'experimental'!

Revision history for this message
Dirk Schedler (schedler-sscs) wrote :

Bug affects me too.
My Device:
Bus 002 Device 008: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Can confirm that the workaround from post 110 is working on my system.

The workarounds with the usage of an Ubuntu Kernel from the 9.04 Version posted earlier
is no solution for me as with this the Internet connection is working but heavily graphics error and a not working sound card are the result.

Revision history for this message
Gerard Cunningham (gerard-faduda) wrote :

Using Vodafone Ireland Huawei E620 dongle, Karmic Koala on a Thinkpad T60, the fix at #110 works for me. However, the same fix did not work pre-Karmic when I was on Ubuntu 9.04

summary: - Huawei E169 USB dongle not working with kernel 2.6.31-12.40
+ Several Huawei USB dongle don't work with kernel 2.6.31-12.40
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Wildam (mwildam) wrote : Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40

I have the kernel 2.6.31-14-generic (which should be an up-to-date karmic) and my Huawei E160G needs to be plugged in already before startup of the system to make it work - at least for my last 3 attempts to use that mobile internet modem that was the only way to get it to work (did not try the manual loading of modules).

Andy Whitcroft (apw)
summary: - Several Huawei USB dongle don't work with kernel 2.6.31-12.40
+ Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1
+ update related)
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Please stop changing the status to "Fix Released" unless you really know what you are doing.

As Andrea already wrote on comment 103:
"Fix Released" means that a package that fixes the bug has been released in karmic-updates, and your Update Manager will be able to download and install the update: the problem is solved and we can forget about the bug.
"Fix Committed" means that a patch that fixes the problem has been created and possibly some packages have been built, but these packages have not been approved and have not made their way to the official karmic-update repository yet.
If we mark this bug as "Fix Released", distribution maintainers will think it's a problem completely solved, forget about it, and not take any further action: an updated package will not be released.

Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Rusiru Boteju (hogsmate) wrote :

hey guys this might be a bit stupid but it worked for me
when i log in to ubuntu the modem doesn't work but it says or the notification area says that the network connection is established and available but cant browse or chat or do an installation using apt-get then wat i did was i logged out and logged in again vola it works fine :D i think its the easiest way to overcome this till this bug is fixed.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
mohamed (prog4me-com) wrote :

i still faces this problem on my dell XPS , can you help me ?

Revision history for this message
Joel (joel-bilsborough) wrote :

I also face the same issue. I am running 2.6.31-14-generic #48 in a Toshiba R600.
lsusb shows: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
i also get "error mounting: mount exited with exit code 32: mount: block device /dev/sr1 is write-protected, mount read-only....blah"

dmesg:
option 3-1:1.2: GSM modem (1-port) converter detected
usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
option 3-1:1.1: GSM modem (1-port) converter detected
usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
option 3-1:1.0: GSM modem (1-port) converter detected
usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
option: option_instat_callback: error -108
option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
option 3-1:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 3-1:1.1: device disconnected
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 3-1:1.2: device disconnected
usb 3-1: reset full speed USB device using uhci_hcd and address 3

This repeats. I also get a "notification" that GSM is disconnected...never connected.

9.04 worked well,9.10 not so well.

usb_modeswitch is installed and working as best as I can tell....

Revision history for this message
Martin Wildam (mwildam) wrote :

I don't have the modeswitch installed - should that be installed in general for the mobile internet sticks to make them work correctly?

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote :

I think this bug should at least have a High importance and not medium. This is basically a show stopper for most people.

And, am I right in assuming that when this fix gets approved it will be released to us ASAP?

I'm basically holding back from installing karmic because of this issue.

Revision history for this message
MarcelD (marceldudek1) wrote :

Hi People!
I have Huawei UMTS e800 Express Card and it doesn't work since 2.6.31-12 Kernel.
Neither with the Fix from Andy Whitcroft.
I tried last kernels from kernel.org - 2.6.31.5, also 2.6.32-rc6.
I see Andy's fix in Source Files in that Kernels, but it doesn't help me.

I tried also
sudo rmmod usb-storage
sudo modprobe usbserial vendor=0x12d1 product=0x1001

but :
Error mounting: mount exited with exit code 32: mount: block device /dev/sr1 is write-protected, mounting read-only
mount: /dev/sr1: can't read superblock
Error mounting: mount exitedError mounting: mount exited with exit code 32: mount: block device /dev/sr1 is write-protected, mounting read-only
mount: /dev/sr1: can't read superblock with exit code 32: mount: block device /dev/sr1 is write-protected, mounting read-only
mount: /dev/sr1: can't read superblock
Anyone any Idea?
Thanks!

I found old kernel 2.6.31-11 amd64 to stay "on-line". But this is not pretty..
Thanks, Marcel

Revision history for this message
Pablo Martí (pmarti) wrote :

As craighewetson said, the importance should be bumped to High, there are gazillions of people who depend on a Huawei device to get connectivity. I've got a E220, E620, E870 and a K3520 around and none of them are working. Amazed that this hasn't been solved yet :S

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

It doesn't matter because it's going to be fixed, but It's true that "importance" must be set to "High".

Changed in linux (Ubuntu):
importance: Medium → High
Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

Amazed that this hasn't been solved yet too. This bug is VERY SERIOUS!
These USB 3G dongles are used massively in Spain (and other European countries).
Many people like me are using 3G Internet at home because the ADSL coverage in our country is ridiculous.
Please stop changing to Fix Released, and give it High importance level!

Thank you very much!

Revision history for this message
chidalgo (chidalgo-gmail) wrote :

is a fix is commited, where is it? so i can try it and give feedback.

i second the high importance of resolve this bug. If some help is needed, say it :)

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

Is there a plan on when this fix will be released in Karmic, are we talking
weeks, months?
I think if everyone has an idea of how long it will take it will give us a
warm feel :)

Revision history for this message
Gerard Cunningham (gerard-faduda) wrote :

I have a contract E620 from vodafone, which is now effectively deadweight, and a pay-as-you-go E1550 from Three, which fortunately still works. Applying some of the fixes suggested in these threads fixes my E620 problem, but its an imperfect fix, I can't connect every time, and the fix breaks my 1550. I've had some issues with sound and boot freezes since applying the fix too, but i'm not sure if they're connected. Karmic Koala clean install on an IBM T60 Thinkpad.

After several attempts at workaround, I've decided to wait for Ubuntu to fix this problem, and use my pay-as-you-go back for on-road connectivity. This is a disaster. This year to date, I've helped three people migrate to Ubuntu. I won't be recommending it again for quite some time, and I'm looking at other distros myself.

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

The Huawei dongles are very common here in Sweden! Even bundled with minipc's and laptops.
This bug is fatal for all those upgrading to 9.10 and looses all internet conectivity.

This bug is also very serious when it comes to people finally giving Ubuntu their first try (lots of media
attention in Sweden regarding Win7 vs Ubuntu 9.10 releases). I imagine they won't be impressed when
their laptops are turned into typewriters.

Also, two of my recently Ubuntu'fied friends has just reinstalled XP because of this! Not good...
I don't even dare to think about how many outthere doing the same as we speak.

High importance is an understatement.

Revision history for this message
Marco Bennati (k99brain) wrote :

These usb dongles are very very common also here in Italy.
The importance of this bug should not be only "High" but maybe "Extreme"!

I hope the fix will be released ASAP.
Why not to insert the patched kernel in the -proposed repos, for the moment?

Revision history for this message
Martin Wildam (mwildam) wrote :

Previous comments told about other problems with the current kernel and/or the patch fixes E620 but breaks previously working E1550 - if I got the comment or Gerard Cunningham in #135 right.

Revision history for this message
Gerard Cunningham (gerard-faduda) wrote :

@Martin Wildam, to clarify, the fix mentioned in Comment #110 fixed the E620 connection, but as a result my E1550 stopped working, I experienced other problems around the same time, whih may or may not have been related.

I'd rather not go futzing around with temporary fixes, and will now wait for a solution from Ubuntu. I just hope I don't have to wait too long.

Revision history for this message
Steve Lilleyman (s-launchpad-webenabledsystems-co-uk) wrote :

I am an IT professional. I converted to Ubuntu 2 years ago because of the appalling state of Windows software. I persevered with Ubuntu 6 and 7 and was relieved with 9.04 when it just worked without any intervention. I now rely totally on my E220 dongle and upgraded to 9.10 a few days ago with only minor reservations as my faith in Ubuntu had been strengthened by recent releases.
Now I have no internet connection and have no way to deal with this.
GET A GRIP.

Revision history for this message
jmarcelino (marcelino-lnec) wrote :

I think that, for now, we have to downgrade.

But that is almost unacceptable!
Jaunty was, by far, the best release, yet.
Shame on Canonical

On Thu, Nov 5, 2009 at 9:20 PM, Steve Lilleyman <
<email address hidden>> wrote:

> I am an IT professional. I converted to Ubuntu 2 years ago because of the
> appalling state of Windows software. I persevered with Ubuntu 6 and 7 and
> was relieved with 9.04 when it just worked without any intervention. I now
> rely totally on my E220 dongle and upgraded to 9.10 a few days ago with only
> minor reservations as my faith in Ubuntu had been strengthened by recent
> releases.
> Now I have no internet connection and have no way to deal with this.
> GET A GRIP.
>
> --
> Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1
> update related)
> https://bugs.launchpad.net/bugs/446146
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
João Marcelino
Investigador Principal com Habilitação
Vice-Presidente do Conselho Científico
Chefe do Núcleo de Barragens e Obras de Aterro - Departamento de Geotecnia
LNEC
Av. Brasil 101 - 1700-066- LISBOA

Revision history for this message
Russell Faull (rfaull) wrote :

This problems was entirely preventable because the fix was known two weeks before karmic's release.

However, I'm wondering from comments above (post #129) that the kernel.org version 2.6.31.5 does not work with some modems, if the problem is wider than Ubuntu and affects other distros as well.

I also wonder if, as Ben Herrenschmidt commented earlier, we have multiple problems. My e169 works with Andy's patched kernel and kernel.org kernels after and including 2.6.31.5.

Revision history for this message
hanzz (hans-prueller) wrote :

this is really an embarrassing bug, at least because working usb 3g -data modems are a basic requirement for the new distro for netbooks (ubuntu nbr) -- i switched to ubuntu about three years ago and keep campaigning for it, but with this issue it's really hard to argue.

...on the other hand by all critisicm: we should not forget that we get all this great ubuntu distro for free. for me, I'll turn a blind eye on that on hope for a really quick fix.

Revision history for this message
jmarcelino (marcelino-lnec) wrote :

OK it is free, but one does not expect that a new release is worse then a
older one. I also try very hard to get my co-workers to work in Ubuntu (or
something like it) but this problem is very embarrassing.

On Thu, Nov 5, 2009 at 10:04 PM, hanzz <email address hidden> wrote:

> this is really an embarrassing bug, at least because working usb 3g
> -data modems are a basic requirement for the new distro for netbooks
> (ubuntu nbr) -- i switched to ubuntu about three years ago and keep
> campaigning for it, but with this issue it's really hard to argue.
>
> ...on the other hand by all critisicm: we should not forget that we get
> all this great ubuntu distro for free. for me, I'll turn a blind eye on
> that on hope for a really quick fix.
>
> --
> Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1
> update related)
> https://bugs.launchpad.net/bugs/446146
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Martin Wildam (mwildam) wrote :

OK, I think they know now how important this issue is.

To get constructive again: What can we do to help clearing up the situation and to finally get a complete and comprehensive fix?

Whoever is working on this - what can we do for you to help - as it seems that the proposed fix is not fully working for everybody?

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

On Thu, 2009-11-05 at 22:46 +0000, Martin Wildam wrote:
> OK, I think they know now how important this issue is.
>
> To get constructive again: What can we do to help clearing up the
> situation and to finally get a complete and comprehensive fix?
>
> Whoever is working on this - what can we do for you to help - as it
> seems that the proposed fix is not fully working for everybody?

Well, what you can do is

 - Test if the proposed fix (or 2.6.31.5) works for you, if yes, then
just wait since I expect Canonical to release that update soon

 - If not, please send the usbmon logs I've requested about 3 times so
we can actually track down what the "other" problem might be :-)

As to how to do that usbmon logging, it's very easy:

 cat /sys/kernel/debug/usb/usbmon/0u >log_file.txt

And then plug the modem, wait about a minute for "things" to happen, and
ctrl-C the above command & send us the log file (along with the dmesg
output snapshot -after- the log has been taken).

Cheers,
Ben.

Revision history for this message
Joel (joel-bilsborough) wrote :

Ben,

As requested in #146, I have attached the files you requested. Please let me know if there is more I can do to help.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

On Fri, 2009-11-06 at 00:08 +0000, Joel wrote:
> Ben,
>
> As requested in #146, I have attached the files you requested. Please
> let me know if there is more I can do to help.
>
> ** Attachment added: "usbmon & dmesg output"
> http://launchpadlibrarian.net/35202110/usb3gdongle.tar.gz
>

Yeah, please tell me precisely what modem model it is (and how it shows
up in lsusb). Thanks.

Also what kernel are you running (uname -a will do)

Cheers,
Ben.

Revision history for this message
Joel (joel-bilsborough) wrote :

@Ben,

Sorry, should have included all info in one post.....

The modem is a 3G vodafone jobby from Australia...
lsusb shows: Bus 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
uname -a shows: 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

some more info is in post #126

Let me know if there is more....

Revision history for this message
Joel (joel-bilsborough) wrote :

@Ben,

Back of modem shows Model K3520

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

But do that kernel contain the proposed fix ? Or is this the current stock Karmic kernel ? IE. AFAIK, Ubuntu hasn't released a kernel with the patch so unless you are running Andy's build or 2.6.31.5 -or- manually applied my patch and rebuilt, you are not running with the proposed fix applied.

Have you tried with the 2.6.31.5 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/ as well ?

We basically need to figure out whether a -different- problem is affecting E620 users or simply that people on this thread have been confused as to what kernel contains the fix and what kernels don't

Revision history for this message
Joel (joel-bilsborough) wrote :

Ben,

Thank you for your patience on this, it appears I am one of the confused :-( sorry. I am not running Andy's build nor have I applied your patch :-(

I am running the current stock kernel...
If you can point me in the direction of your patch (and how to apply) I will take this on.
I will then post back and let everyone know :-)

cheers again for your patience.....

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :
Revision history for this message
Russell Faull (rfaull) wrote :

Just for the record:

The Ubuntu kernel 2.6.31-14.48 is the Karmic Koala final iso version and does not work with E169.

The kernel complied by Andy is 2.6.31-13.44 (post #15) and it has Ben's patch applied -- it works for me.

Kernels 2.6.31-5 and later (2.6.32 from kernel.org, for example) have Ben's patch applied but have not been released by Ubuntu as yet. Again, they work for my E169 and Ben's modem, see earlier posts.

If in doubt about the patch, check for Ben's name in the release note with each kernel.

PS. Confusing, too, because E169 (as labelled) is identified as E620 in usb logs and using lsusb.

Revision history for this message
MarcelD (marceldudek1) wrote :

Hi.
I do this Outputs as a Help for fixing the Bug. (cat /sys/kernel/debug/usb/usbmon/0u and also output from /var/log/messages - i did following: plug in modem, wait, unplug, wait, plug in, wait unplug)

I have Huawei e800 Express Card UMTS Modem.
The outputs are from the newest kernel : 2.6.32-rc6 - i did build it for me from kernel.org

For other confused : "fix" it for the time of fixing the bug for you, as i did:
Search in goggle (in other PC, that is on line ) for some precompiled deb Package with Kernel for Example: "2.6.31-11 amd64 deb", transfer it to karmic system, install it with sudo dpkg -i <filename.deb> and after reboot use that downgraded kernel.
If you have not 64bit system then repalce in search the amd64 for i386

I hope it will help someone..
M.

Revision history for this message
Martin Wildam (mwildam) wrote :

I would also like to try the fix as it seems I am the only one here with a 160G. But using an unreleased kernel is something new for me. Do I have to install both the linux-image and linux-headers. And how can I then switch back to the released kernel? Using Grub menu?

Revision history for this message
MarcelD (marceldudek1) wrote :

You need only linux-image. Yes, grub menu is the place, where you choose, what kernel you wish to boot.

You can anytime deinstall this kernel with sudo dpkg -P linux-image-2.6.31-11-generic or something like this. BUT You have to boot in that case to other kernel, if you want to remove that 11!

If you write that deinstall statement , hit <TAB> key after ..2.6.31 System will fill in the rest of the line, if this is unique Package in database.

I plan to wait the fix - so I will install new kernels and fixes as they come. If they not works, i will boot again from GRUB menu into 11, deinstall the newest kernel (because i won't use it and also to gain place in /boot dir)
If it will be fixed in newest kernel/Updates, I deinstall that 11 kernel away..
M.

Revision history for this message
Martin Wildam (mwildam) wrote :

It is very likely that we get an official kernel update anyway: http://www.h-online.com/open/news/item/Hole-in-the-Linux-kernel-allows-root-access-850016.html

Revision history for this message
Peter Baumgartner (mail-pbaumgartner) wrote :

Hi,

had same Problem with Huawai E660 PCMCIA Datacard which my Laptop shows as USB-Device on WinXP. VirtualBox grabs the whole USB Port and forwards it to Ubsudo untu where it works until 9.04.

lsusb:
Bus 002 Device 002: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

When booting with attached USB-Modem, the usb-storage mounts a new drive but UMTS doesn`t work.

--> Attached Modem after reboot --> Everything works! THANKS!

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

Allright, let's try to see more clearly before we got dig further.

First of all, the only valid tests are with either Andy test kernel or 2.6.31.5 since both have my fix.

Then, there's an additional problem that I've seen as well and not debugged yet, which sometimes for me makes the modem not work the first time it's plugged (or if plugged at boot). Yanking it out and back in makes it work fine. This is a -different- issue that the one we've been tracked and it has a simple workaround obviously.

So please, from now, report if and only if you have tested the bug fix kernel -and- tested removing and re-inserting the modem and it still doesn't work. At which point, I need logs. To MarcelID: Have you tried the removal/insertion trick ? Does it help for you with a patched kernel ? If you have and it still doesn't work, then we have at least one set of valid logs to study further and i'll send them to the USB maintainer.

Thanks !

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

Looks like I lost my ability to write proper english tonight... sorry :-)

Revision history for this message
Andy Whitcroft (apw) wrote :

To reiterate, the initial fix for the E169 issue is committed (only). It is not Fix Released, when it _is_ released it will be switched to that state automatically by the launchpad janitor as the packages are put into the archive. Please do not confuse people further by moving it Fix Released. Although there is much talk of other modems on this bug report, the fix tied to this bug number is currently only known for certain to fix E169 modems. When this bug goes Fix Released that will only confirm that _that_ one fix has released.

We need therefore to confirm specifically whether the fixes we are proposing to release fix all of the modem or if more action is required. There are unconfirmed reports that the fix for this bug also fixes the E220 modems and E629 modems. There is also a second fix coming in the 2.6.31.5 update which is reported to help more of these devices. To help confirm these reports and ensure will have all of these covered I have made TWO test kernels:

1) 2.6.31-16.50lp446146apw5 -- this contains both of the fixes above and represents what we are currrently planning on releasing as an update,

2) 2.6.31-16.50lp446146apw10 -- this contains an additional patch revert as suggested by BenH, should the previous kernel not work for you.

This bug has become very confused so we need testing from those who can test, plus very clear testing and reporting on those tests to ensure we are releasing the right fixes. So could those who are able to test these kernels, first test the *apw5* kernel at the URL below, please report your testing on that kernel stating clearly the Huawei model number you are testing with, and attaching the dmesg output to your report:

    http://people.canonical.com/~apw/lp446146-karmic/test1/

If and ONLY if that kernel does not work for you could you then test the second *apw10* kernel and report on that one too, again reporting the Huawei model number you are testing and attaching the dmesg output to your report:

    http://people.canonical.com/~apw/lp446146-karmic/test2/

Changed in linux (Ubuntu Karmic):
assignee: nobody → Andy Whitcroft (apw)
importance: Undecided → High
milestone: none → karmic-updates
status: New → Fix Committed
Revision history for this message
Andy Whitcroft (apw) wrote :

Now that Karmic has opened and Lucid has released we have _two_ tasks on this bug one for each release. The linux (Ubuntu) task represents the updated Lucid kernel, the Karmic sub-task tracks Karmic release status.

Changed in linux (Ubuntu):
milestone: karmic-updates → lucid-alpha-1
Revision history for this message
MarcelD (marceldudek1) wrote :

To Benjamin:
No, the "reinsertion" of Express Card e800 did not help..
Neither with kernel 2.6.31.5 from kernel.org

I'm downloading already yours pw5 kernel. So let's see..
M.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Russell Faull (rfaull) wrote :

Andy, I have test *apw5* with E169 and it works without any need for additional plug / unplug as described earlier by Ben.

Output of dmesg is attached.

Regards,
Russell

Revision history for this message
MarcelD (marceldudek1) wrote :

So, my test was unsuccessful with apw5 and HUAWEI e800 Express card.
/sys/kernel/debug/usb/usbmon/0u and /var/log/messages (in 1 File appended) attached.
I tried reinsertion - unsuccessful.

Will try apw10..
M.

Revision history for this message
MarcelD (marceldudek1) wrote :

I tried apw10, but I cannot install it - there is Error somewhere in deb..

boss@ntb:/data/kernel$ sudo dpkg -i linux-image-2.6.31-16-generic_2.6.31-16.50lp446146apw10_amd64.deb
Selecting previously deselected package linux-image-2.6.31-16-generic.
(Reading database ... 125152 files and directories currently installed.)
Unpacking linux-image-2.6.31-16-generic (from linux-image-2.6.31-16-generic_2.6.31-16.50lp446146apw10_amd64.deb) ...
Done.
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing linux-image-2.6.31-16-generic_2.6.31-16.50lp446146apw10_amd64.deb (--install):
 short read in buffer_copy (backend dpkg-deb during `./lib/modules/2.6.31-16-generic/kernel/fs/xfs/xfs.ko')
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-11-generic
Found initrd image: /boot/initrd.img-2.6.31-11-generic
Found memtest86+ image: /memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
Errors were encountered while processing:
 linux-image-2.6.31-16-generic_2.6.31-16.50lp446146apw10_amd64.deb
boss@ntb:/data/kernel$

M.

Revision history for this message
Russell Faull (rfaull) wrote :

Andy, I tried several boot / reboot, insertion cycles. Confirming all works as expected with apw5 and E169. Is this the same kernel as Martin says will be in 'proposed' within hours?

Revision history for this message
MarcelD (marceldudek1) wrote :

I post Logs with old kernel 2.6.31-11. It's the last kernel, where my E800 works. It may be good for debugging..
M.

Revision history for this message
jvinel (jvinel) wrote :

Hi,

Still not working with apw5 and huawei E220 .

Logs are attached.

J

Revision history for this message
Janne Huovari (janneh) wrote :

Couldn't find new proposed kernel, but I can confirm that test kernel 2.6.31-16.50lp446146apw5_i386 do work with E169. However, the test kernel mount the USB disk 'Mobile Partner' containing windows setup files. That now desirable and differs from behavior from jaunty.

It's also seems that my Fujitsu-Siemens Amilo M1425 fails to wake up from hibernate with test kernel.
Attached log and dmesg files.

Revision history for this message
Patrick Schueller (pschuel) wrote :

I can also confirm that the Huawei E620 modem works with kernel 2.6.31-16-generic #50lp446146apw5. lsusb shows this:

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 001 Device 006: ID 064e:f111 Suyin Corp.
Bus 001 Device 002: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp.
Bus 001 Device 005: ID 2040:7070 Hauppauge Nova-T Stick 3
Bus 001 Device 003: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 08ff:1600 AuthenTec, Inc. AES1600
Bus 006 Device 002: ID 0b05:1751 ASUSTek Computer, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1241:1122 Belkin Typhoon Stream Optical Mouse USB+PS/2
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg output is attached. I also see the additional USB disk appearing as Janne Huovari describes. The modem devices ttyUSB0, ttyUSB1 and ttyUSB2 do not disappear as they did with the original Karmic kernel.

Patrick

Revision history for this message
Patrick Schueller (pschuel) wrote :

P.S.: This is on AMD64

Revision history for this message
Haldo (haldonebkp) wrote :

As soon as I'll find the new proposed kernel, I'll test it.

@Ben, post #160:
As I said in my previous post, I am running kernel 2.6.32-rc5.
The additional problem you noted is present even with this kernel; i.e. sometimes the first time the modem is plugged in, it doesn't work. This happens just sometimes; unplugging and plugging in the modem again solves it.

Revision history for this message
Russell Faull (rfaull) wrote :

Andy, I have tried both apw5 and apw10 and they both work with my e169 -- BUT they both break suspend on my Acer Aspire One. I have not had time to try them on my Dell 6400.

The best working kernel I have is the one you posted at #15. Other later kernels (2.6.32 etc) do not AppAmor correctly.

Revision history for this message
giuseppe (giuerom) wrote :

Same problems with the internet key Huawey 1692 (linux compatible!)

Revision history for this message
Iiro R-J (irj-iki) wrote :

Andy,
It seems that E220 is still broken. Unfortunately I can not currently give you logs about your new kernel version, but I posted three usbmon logs to the kernel bugzilla one week ago as Ben proposed: http://bugzilla.kernel.org/show_bug.cgi?id=14499

1. Ubuntu 2.6.31-11 kernel. E220 inserted and Network manager connection
selected. Fully working internet connection.

2. 2.6.31.5 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/ USB
inserted and after Network manager I waited couple of cycles of automatic
removal of the driver.

3. 2.6.31.5 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/ USB
inserted and commands:
    sudo rmmod usb-storage
    sudo modprobe usbserial vendor=0x12d1 product=0x1003
after selecting the right connection from Network Manager it starts to work.
This method does not work always.

Í hope these helps.

Revision history for this message
Russell Faull (rfaull) wrote :

Andy, I can confirm 2.6.31-16.50lp446146apw5_i386 works (scsi and modem) with e169 on my Dell6400 and suspend also wakes up.

In my earlier post (#176) my AA1 fails to wake from suspend on this kernel.

Regards

Revision history for this message
Sultan Al-Isaiee (foxoman) wrote :

E220 does not work with apw5
but works fine with apw10

Thanks, now waiting for update which it seem to be 2.6.31-15.49

https://launchpad.net/ubuntu/karmic/+source/linux/2.6.31-15.49

Revision history for this message
Russell Faull (rfaull) wrote :

2.6.31-5.49 from link above installed and works with e169 (as described in post #172).

Thanks and regards, Russell

Revision history for this message
Russell Faull (rfaull) wrote :

2.6.31-5.49 breaks resume from suspend on my Acer Aspire One.

Revision history for this message
Phuah Yee Keat (ykphuah) wrote :

I have Huawei E150E
lsusb shows
Bus 002 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

I installed this
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31.5/

But I am not sure what the rest meant by worked. For my case, with the above kernel, the stick consistently became a usb-storage (while previously its always a half baked stage).

I tried rmmod usb-storage and modprobe usbserial, but still NetworkManager couldn't see anything.

Attaching my usbmon and dmesg

Revision history for this message
sirvinc (richard-graupner) wrote :

Tryed to install the *apw5* kernel, but could not start ubuntu after that. System stayed in text modus, screen flashed and I could not log on (lenovo T61, Nvidia Quadro NVS 140M).
lusb: Bus 005 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Revision history for this message
d-snake (dsnake) wrote :

Yiepi! With the awp5 Kernel my E620 works! I didn't tested the awp10. Here are some logs while plug in the device and an overview of the hardware

Revision history for this message
tiger99 (tiger-sardius) wrote :
Download full text (5.1 KiB)

I can confirm that E620 now works correctly, i.e I can go online and browse etc, using Vodafone Mobile Connect in Kubuntu Karmic on AMD64 with the 2.6.31-15-generic kernel.

Plugged in and out, and went on and off line several times, it worked at every attempt. And, it reverted correctly to ethernet or wifi afterwards.

But I am using wicd, not network-manager!

There may be a slight anomaly, as it seems to occupy ttyUSB0, 1 and 2. Should it do that?

Acer Aspire 7520 (AMD Athlon X2, Nvidia Gforce 7000M, with 2xSATA drives and non-standard Broadcom wireless card.

uname -a (machine ID redacted):
Linux ********** 2.6.31-15-generic #49-Ubuntu SMP Fri Nov 6 09:55:13 UTC 2009 x86_64 GNU/Linux

lspci:
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:12.0 VGA compatible controller: nVidia Corporation C67 [GeForce 7000M / nForce 610M] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:04.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
01:04.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
01:04.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
01:04.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
05:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

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

dmesg (tail):
  653.410135] usb 4-1: new full speed USB device using ohci_hcd and address 6
[ 653.644632] usb 4-1: configuration #1 chosen from 1 choice
[ 653.649214] scsi10 : SCSI emulation for USB Mass Storage devices
[ 653.649858] usb-storage: device found at 6
[ 653.649864] usb-storage: waiting for device to settle before scanning
[ 653.71...

Read more...

Revision history for this message
tiger99 (tiger-sardius) wrote :

In view of the many complaints and much distress above from people who depend on these modems, much more so than myself, can we now please have the updated kernel in the repositories as quickly as possible? And, also in an updated Karmic, quickly?

Most people will not be able to mess about with kernel installation themselves.

Thanks.

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Huawei E220 modem.

lsusb:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I have tested both 2.6.31-16.50lp446146apw5 and 2.6.31-16.50lp446146apw10, and attached the logs (usbmon and dmesg).

Results:
apw5 - exactly the same response as release kernel.
apw10 - works, BUT modem must be physically unplugged and reconnected. Everything seems to work, but it will not connect to the network if it was plugged in when the system booted. After unplugging, and reconnecting, it works fine (adding this post connected over the modem, using apw10).

Thanks!
Justin

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Can only seem to add one attachment per comment?

Here is the next log...

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Next log...

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Doh. resent the apw5 log. Try again...

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Last one.

Revision history for this message
coenie_beyers (coeniebeyers) wrote :

I have a huawei e220 modem i would like to use, but i have no idea how to do the fixes that are proposed, like tiger99 said in comment #187.

Anyone knows a usefull/good link to somewhere where i can learn how to install a kernel diff?

If the update is already in the repositories, what package should i search for?

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

You can download the deb files and double click on them, the package
installer will install them.
Just make sure you install i386 one if you are running 32bit.

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote :

Remember to restart :)

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Just reverted from apw10 to 2.6.31-11.

E220 works well in apw10, but the computer (Intel Littlefalls 2 integrated mb/cpu) dies after around 30 minutes. The screen blanks, and the computer stops responding to keyboard, mouse and ACPI events, BUT it is still running (networking up, and logging to /var/log/messages).

I get the following errors in /var/log/messages:
Nov 7 20:54:09 mediapc kernel: [ 2280.864065] i915/3 D c08165c0 0 295 2 0x00000000
Nov 7 20:54:09 mediapc kernel: [ 2280.864076] f6559f04 00000046 00000000 c08165c0 f69cc168 c08165c0 1574e75d 000001e8
Nov 7 20:54:09 mediapc kernel: [ 2280.864091] c08165c0 c08165c0 f69cc168 c08165c0 1574d741 000001e8 c08165c0 f55601c0
Nov 7 20:54:09 mediapc kernel: [ 2280.864105] f69cbed0 f69a6c14 f69a6c18 ffffffff f6559f30 c056fe56 f708cb60 f69a6c1c
Nov 7 20:54:09 mediapc kernel: [ 2280.864119] Call Trace:
Nov 7 20:54:09 mediapc kernel: [ 2280.864137] [<c056fe56>] __mutex_lock_slowpath+0xc6/0x130
Nov 7 20:54:09 mediapc kernel: [ 2280.864145] [<c056fd70>] mutex_lock+0x20/0x40
Nov 7 20:54:09 mediapc kernel: [ 2280.864203] [<f824ec0a>] i915_gem_retire_work_handler+0x2a/0x70 [i915]
Nov 7 20:54:09 mediapc kernel: [ 2280.864214] [<c0157a3e>] run_workqueue+0x6e/0x140
Nov 7 20:54:09 mediapc kernel: [ 2280.864246] [<f824ebe0>] ? i915_gem_retire_work_handler+0x0/0x70 [i915]
Nov 7 20:54:09 mediapc kernel: [ 2280.864255] [<c0157b98>] worker_thread+0x88/0xe0
Nov 7 20:54:09 mediapc kernel: [ 2280.864264] [<c015c240>] ? autoremove_wake_function+0x0/0x40
Nov 7 20:54:09 mediapc kernel: [ 2280.864272] [<c0157b10>] ? worker_thread+0x0/0xe0
Nov 7 20:54:09 mediapc kernel: [ 2280.864279] [<c015bf4c>] kthread+0x7c/0x90
Nov 7 20:54:09 mediapc kernel: [ 2280.864286] [<c015bed0>] ? kthread+0x0/0x90
Nov 7 20:54:09 mediapc kernel: [ 2280.864295] [<c0104007>] kernel_thread_helper+0x7/0x10

Revision history for this message
Haldo (haldonebkp) wrote :

Hi everyone.
I installed kernel 2.6.31-15.49 from the repositories. Now my E169 works!
Nevertheless, it is still present the little problem of posts #160 and #175, so sometimes it is necessary to unplug and plug again the modem before the system detects it.

If you need any sort of log, just ask.

Revision history for this message
Patrick Schueller (pschuel) wrote :

2.6.31-15-generic #49-Ubuntu SMP Fri Nov 6 09:55:13 UTC 2009 x86_64 GNU/Linux from Karmic proposed repo works with E620 here

patrick@linuxps:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 08ff:1600 AuthenTec, Inc. AES1600
Bus 006 Device 002: ID 0b05:1751 ASUSTek Computer, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 001 Device 006: ID 064e:f111 Suyin Corp.
Bus 001 Device 005: ID 2040:7070 Hauppauge Nova-T Stick 3
Bus 001 Device 003: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp.
Bus 001 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1241:1122 Belkin Typhoon Stream Optical Mouse USB+PS/2
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg attached

Patrick

Revision history for this message
coenie_beyers (coeniebeyers) wrote :

Hi,

I tried the "rmmod usb-storage" and "modprobe usbserial vendor=0x12d1 product=0x1003" fix before I tried to install a new kernel, and that did not work. After I could not find any linux2.6.31-15.49.deb (read comment #193) files anywhere (Although I think I just don't know where launchpad.net has hidden them, hehe, and I googled for it aswel), I thought of putting the "rmm...." fix into /etc/rc.local (so that it would do all that during startup) and that worked fine on kernel "2.6.31-14" which I think is under the normal repositories. This fix worked on two laptops (dell and a hp).

I can give a step by step how-to for any relative newby (like me) if someone has the same problem.

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

On Sat, 2009-11-07 at 19:39 +0000, Justin Schoeman wrote:
> Just reverted from apw10 to 2.6.31-11.
>
> E220 works well in apw10, but the computer (Intel Littlefalls 2
> integrated mb/cpu) dies after around 30 minutes. The screen blanks, and
> the computer stops responding to keyboard, mouse and ACPI events, BUT it
> is still running (networking up, and logging to /var/log/messages).

You should create a new bug report for that one. Also, I would suggest
you paste the -entire- log :-) (or at least the missing lines before
what you pasted) and add informations about the HW setup.

Cheers,
Ben.

> I get the following errors in /var/log/messages:
> Nov 7 20:54:09 mediapc kernel: [ 2280.864065] i915/3 D c08165c0 0 295 2 0x00000000
> Nov 7 20:54:09 mediapc kernel: [ 2280.864076] f6559f04 00000046 00000000 c08165c0 f69cc168 c08165c0 1574e75d 000001e8
> Nov 7 20:54:09 mediapc kernel: [ 2280.864091] c08165c0 c08165c0 f69cc168 c08165c0 1574d741 000001e8 c08165c0 f55601c0
> Nov 7 20:54:09 mediapc kernel: [ 2280.864105] f69cbed0 f69a6c14 f69a6c18 ffffffff f6559f30 c056fe56 f708cb60 f69a6c1c
> Nov 7 20:54:09 mediapc kernel: [ 2280.864119] Call Trace:
> Nov 7 20:54:09 mediapc kernel: [ 2280.864137] [<c056fe56>] __mutex_lock_slowpath+0xc6/0x130
> Nov 7 20:54:09 mediapc kernel: [ 2280.864145] [<c056fd70>] mutex_lock+0x20/0x40
> Nov 7 20:54:09 mediapc kernel: [ 2280.864203] [<f824ec0a>] i915_gem_retire_work_handler+0x2a/0x70 [i915]
> Nov 7 20:54:09 mediapc kernel: [ 2280.864214] [<c0157a3e>] run_workqueue+0x6e/0x140
> Nov 7 20:54:09 mediapc kernel: [ 2280.864246] [<f824ebe0>] ? i915_gem_retire_work_handler+0x0/0x70 [i915]
> Nov 7 20:54:09 mediapc kernel: [ 2280.864255] [<c0157b98>] worker_thread+0x88/0xe0
> Nov 7 20:54:09 mediapc kernel: [ 2280.864264] [<c015c240>] ? autoremove_wake_function+0x0/0x40
> Nov 7 20:54:09 mediapc kernel: [ 2280.864272] [<c0157b10>] ? worker_thread+0x0/0xe0
> Nov 7 20:54:09 mediapc kernel: [ 2280.864279] [<c015bf4c>] kthread+0x7c/0x90
> Nov 7 20:54:09 mediapc kernel: [ 2280.864286] [<c015bed0>] ? kthread+0x0/0x90
> Nov 7 20:54:09 mediapc kernel: [ 2280.864295] [<c0104007>] kernel_thread_helper+0x7/0x10
>

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote :

On Sat, 2009-11-07 at 15:53 +0000, Justin Schoeman wrote:
> Next log...
>
> ** Attachment added: "usbmon-apw5.bz2"
> http://launchpadlibrarian.net/35317459/usbmon-apw5.bz2

Thanks. I've referenced these from the kernel bugzilla entry

http://bugzilla.kernel.org/show_bug.cgi?id=14499

Where hopefully the kernel USB folks will follow up

Cheers,
Ben.

Revision history for this message
Russell Faull (rfaull) wrote :

The kernel meta-packages (linux, linux-generic etc) do not seem to trigger an upgrade to *-15.49 although the new packages are shown in Synaptic after a reload in the what's new in repository section. If this is widespread, it does not seem normal behavior and will make it harder for novice users to upgrade. Running apt-get update and apt-get upgrade has similar results.

Are others experiencing this?

Revision history for this message
Patrick Schueller (pschuel) wrote :

Russell Faull wrote:

> The kernel meta-packages (linux, linux-generic etc) do not seem to trigger an upgrade to *-15.49 although the
> new packages are shown in Synaptic after a reload in the what's new in repository section. If this is
> widespread, it does not seem normal behavior and will make it harder for novice users to upgrade. Running
> apt-get update and apt-get upgrade has similar results.

> Are others experiencing this?

Yes, I had the same issue. apt-get dist-upgrade did not pull these packages in. I only got aware that the packages are actually in the repo after I manually installed the kernel debs from https://launchpad.net/ubuntu/karmic/+source/linux/2.6.31-15.49 but forgot one of the kernel header files. apt-get dist-upgrade suggested that I execute "apt-get -f install". And voilà, when I did this, apt-get pulled the missing deb from the -proposed repo. To make sure everything fit together I removed the manually installed kernel and installed the packages with apt-get using their full names, which worked.

Patrick

Revision history for this message
Russell Faull (rfaull) wrote :

@Patrick. Have you tried to remove kernel *-14? When I do with *-15 installed, Synaptic wants to remove the associated meta-package as well. (To remove the meta-package, would mean any future kernel upgrades would not be triggered automatically.)

With previous kernel upgrades, the earlier kernel can be removed and the meta-package is associated with the latest kernel. (apt-get -f install had no effect.)

Later, I uninstalled *-15 and it showed in Synaptic as an available package but, again, not as 'upgradeable'. Strange!

Revision history for this message
MrAuer (mr-auer) wrote :

This really should have been fixed before release. Lots of people are having a difficult time because of this issue.
Ive just been trying to tell, over IRC, how to get the kernel 2.6.31-15 installed when you have no network connection as the Huawei modem was the sole way to connect.

Now she has it installed, Huawei e160 modem, but Network manager does not automatically see the modem, nor does it ask for the ISP info automatically. She tells me NM sees that there is some modem, but does not configure it correctly, nor does it bring up a connection. On Jaunty all this happened automatically.

I have a e220, this had problems also - NM did not automatically configure it, I needed to add the connection manually, and even then it did not tell me I have a Huawei connected until AFTER I had configured the connection (entered the ISP info and so on), and after that I had to tell NM to Auto-connect or it would not connect.

There is still something fishy going on. Im in a bit of a hurry now, Ill try to see about logs later. I cannot get to her logs, she lives across the country and has no net conn on the machine now (with the e160)

Revision history for this message
MrAuer (mr-auer) wrote :

My lsusb:
Bus 002 Device 006: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

My connection now works, with the caveats above - ie. NM did not automatically detect it the first time, it did not show up in Mobile broadband devices list before creating a profile for it - with Generic device, then clicking Autoconnect on, at which point it did detect the Huawei and did connect.

My friend with the e160 is not reporting success yet, though I cannot know if she is trying to do the configuring correctly via NM.

Revision history for this message
Dave Hall (skwashd) wrote :

Tested apw5 on a dell d830 using amd64 with e160, e169g and e220 all seem fine. I haven't noticed any other regressions caused by the fix in the last 24hrs.

Revision history for this message
Andrea Chiavazza (andrea-c7a) wrote :

I think the problem is simply that the meta-packages depend on the latest package from karmic-updates, but not on the latest released package from karmic-proposed. If they depended on the latest proposed package, this would cause a headache to people that don't have karmic-proposed enabled. So there is probably no bug whatsoever, this is just the way it should be. Can someone confirm this ?

Revision history for this message
Steve Langasek (vorlon) wrote :

New metapackages are also published in -proposed as part of a kernel SRU, but they generally lag behind the upload of the kernel itself. The updated metapackages should be available soon.

Revision history for this message
Russell Faull (rfaull) wrote :

Thanks, Steve. I'll sleep on it and see what Monday brings as far as the meta-package issue goes.

I still believe the new kernel *-15 causes new regression with suspend/resume and possibly hibernation ----:) But, hey, the modem works, I can live with no suspend.

Revision history for this message
baeza (baeza) wrote :

Activating 'karmic-proposed' and 'karmic-backports' I installed 2.26.31-15 kernel automacally. Now my E169 works perfectly. I can read in-built CD-data and use the SD-storage with a 16 Gb Micro-SD card ... and 3G modem works perfectly. But kernel.log (dmesg) shows an error:

modem-manager[1067]: segfault at 7ffffff7 ip b777d943 sp bffe4284 error 4 in libdbus-1.so.3.4.0[b7756000+37000]

In spite of this, everything seems to work perfectly.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Tommitel (scavenger80)
Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Joel (joel-bilsborough) wrote :

Sorry for the late reply...I my modem and SD now work with new download :-) cheers to all...nice one Ben...

Revision history for this message
Carl Englund (englundc) wrote :

My Huawei E169 works now too! Activated proposed and installed only headers and image. I am however seeing errors in dmesg at boot that were not there before! Attaching dmesg output.?field.comment=My Huawei E169 works now too! Activated proposed and installed only headers and image. I am however seeing errors in dmesg at boot that were not there before! Attaching dmesg output.

Revision history for this message
Carl Englund (englundc) wrote :

My Huawei E169 works now too! Activated proposed and installed only headers and image. I am however seeing errors in dmesg at boot that were not there before! Attaching dmesg output.

Revision history for this message
Fábio Silva (fabiogsilva) wrote :

Still no success with my Huawei E220 and the new 2.6.31-15 image.

Revision history for this message
mohamed (prog4me-com) wrote :

finally the usb modem working fine , just i have upgrade to last kernel

thank you

Revision history for this message
tiger99 (tiger-sardius) wrote :

I would suggest that the kernel is probably now fixed, but a number of people are still having trouble with Network Manager.

My recommendation is to install wicd, which will uninstall NM, to see if that fixes it. You can always reverse it later.

Also, use Vodafone Mobile Connect, https://forge.betavine.net/frs/?group_id=12. It does actually work with any ISP, not just Vodafone. It has the big advantage of providing a usage monitor, amongst other things. If it seems not to work, be aware that it sometimes pops up its initial configuration window behind the main one, and once you find it, there should not be any problem setting it up. You will need your PIN of course, typically 0000.

You would need to install ozerocdoff, usb-modeswitch and then vodafone-mobile-connect (try the latest svn version). The debs will install singly with Gdebi, but whatever package manager you use will offer to update usb-modeswitch to a later version, which seems to be ok to allow.

I am thinking that if sufficient people try this, it should help to locate the source of the remaining problems, and/or get those people working again, even if it is only a temporary fix. It works for me, or I would not suggest it.

Revision history for this message
tiger99 (tiger-sardius) wrote :

Further to that, could Vodafone Mobile Connect be added to the repositories, and preferably the next CD image, as it is GPL? It would make it easier for inexperienced users, and more convenient for everyone.

Revision history for this message
Martin Wildam (mwildam) wrote :

Here are my test results with the Huawei E160G:

Test 1: Current officially released kernel
I have clicked 3 times manually on Network Manager->(Mobile Broadband) Drei and nothing helped.

The log1a is after about 5 minutes after suddenly (didn't expect it anymore) the connection has been established.

Test 2: apw5 Kernel
I have clicked 2 times manually on Network Manager->(Mobile Broadband) Drei and nothing helped.
In the logs log2 is with WLAN additionally enabled, log2a is without.

Test 3: apw10 Kernel
On the first attempt plugging the mobile internet stick nothing happened (log3).
On the second attempt (log3a) it worked.
I notice that the drive does not get mounted as in Test 1 (and unfortunately I don't remember how it was on test2).

Test 4: Most recent development kernel (2.6.32-020632rc6)
log4 is my first attempt. The drive from the stick gets mounted. After clicking manually on the Network Manager->(Mobile Broadband) Drei it works.
Second attempt fails - I can't get it to work any more even if clicking several times manually to connect.

Test 5: Most recent development kernel (2.6.32-020632rc6) - After another reboot
I plug in the stick and wait until the message is displayed that GSM is disconnected. I click on 'Drei'.
It does not work either (log5).
Second attempt without success (log5a). BTW: Drive from the stick gets mounted.
Third attempt without success (log5b). BTW: Drive from the stick gets mounted. I try unmount and then reconnect without success.
Fourth attempt (log5c) using other USB port - message that disconnected comes quite fast, then drive gets mounted - no success.
Fifth attempt (log5d)
Sixth attempt (log5e) logged in a separate session before login - anyway did not work with the modem plugged in before login.

Test 6: Back on apw10 Kernel
It works only the first time I connect the stick!
Each further attempt (I did a few times) it does not work any more (log6).

What I notice is that in general the animated icon of network manager hangs with the tooltip "Preparing mobile broadband connection 'Drei'" after I plugged in the.

==> However, the apw10 kernel seems the only one I can get a connection at least the first time - did not try more often. I remember that on Jaunty with some older kernel I sometimes had to plugin the stick also a few times until it worked.

==> Anyway, my opinion is that the last released kernel in Jaunty was the one where it worked best for me.

Revision history for this message
Martin Wildam (mwildam) wrote :

Ah, btw: The apw10 kernel - I did verify that - does not map the drive from the stick.
So if that gets not mapped it is a pretty good sign that it works (same behavior was also on Jaunty where it worked fine).

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Russell Faull (rfaull) wrote :

@Martin, have you tried 2.6.31-15 #49 from the 'proposed' repos?

Revision history for this message
mfbatzap (fudgy-geek) wrote :

hey guys,

It seems that my E169 works by just starting Ubuntu with the dongle inserted into the USB port. NM detects it and I am able to connect to the network flawlessly.

Got the idea from: http://tech.firdooze.com/2009/11/09/work-around-for-ubuntu-910-karmic-koala-huawei-modem-problem/

Revision history for this message
Martin Wildam (mwildam) wrote :

I also mentioned that in comment #116 (but I can understand if you didn't read through all of them ;-) ).

BUT: With the kernel 2.6.32-020632rc6 this does not work either - so there is a further regression there.

Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

With proposed kernel, my E220 still doesn't works :(

Bus 001 Device 009: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

After upgrade from Ubuntu 9.04 to 9.10 my modem Hauwei stops working on the newest kernel (2.6.31-15).

After run Ubuntu 9.10 Karmic Koala with old kernel 2.6.28-13 (from Ubuntu Jaunty) all works perfectly.
So the problem still exists in the kernel.

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

This bug will probably never have an end if its not changed to explicitly
mention the Huawei devices that it addresses.
If other devices are mentioned they can be logged as separate bugs.

Example:
E220
E169
E620

Revision history for this message
Martin Wildam (mwildam) wrote :

I also (with the Huawei E160G) had quite no problems on Jaunty but after upgrading to Karmic problems began (I have to plug the modem in before starting the machine). Isn't it possible to re-introduce the code from the older kernel related to that to the newest kernel? - Or: I wonder what has been changed that breaks down so many modems.

Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

Can't wait much more, I'm going to install Jaunty and use it until fix arrives :(

Revision history for this message
TomasHnyk (sup) wrote :

The kernel in proposed works for me, but the device besides working as a modem also appears as a connected CD and USBstorage (it did not do so before) - do other also experience this?

Revision history for this message
lanzen (lanzen) wrote :

Huawei E169g
12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
2.6.31-15-generic

At this very moment I am connected, but I'm still having a hard time to get through. I feel it's a bit too early to say whether this bug is solved or not.

As a matter of fact I managed to connect even with the previous kernel (2.6.31-14-generic) while , it seems, others couldn't,
but it was really difficult. I am using kubuntu and I don't know if this as helped me out, though I don't see why it should have.

This modem, that as someone has already remembered has a sd slot and is partially seen as an autorun CD, used to work always in intrepid (NM 0,7), stared having some uncertainties in jaunty, did ok in alpha karmic and failed miserably on RC.

Revision history for this message
lizzardlives (lizzardlives) wrote : RE: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

Hi experienced same issue of 9.10 not seeing the E220 as a device at all. Can i ask you, if i want to revert to 9.04 since apparently that version is ok w Huawei mobile/storage :) devices will i loose all data etc?

> Date: Tue, 10 Nov 2009 10:51:01 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)
>
> The kernel in proposed works for me, but the device besides working as a
> modem also appears as a connected CD and USBstorage (it did not do so
> before) - do other also experience this?
>
> --
> Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)
> https://bugs.launchpad.net/bugs/446146
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Confirmed
> Status in “linux” package in Ubuntu: Fix Committed
> Status in “linux” source package in Karmic: Fix Committed
>
> Bug description:
> I'm using a Huawei E169 USB dongle to connect to a GSM mobile broadband network. It used to work out-of-the-box with Jaunty and previous versions of Karmic (kernel 2.6.31-11 and previous). However the device doesn't work any more with the latest kernel.
>
> Dmesg gives me repatedly this message:
>
> dmesg:
> option: option_instat_callback: error -108
>
> lsusb:
> Bus 005 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
>
>
> My system: Dell XPS M1530, see attached result of "lshw"
>
> This bug apparently affects other people as well: http://ubuntuforums.org/showthread.php?p=8070873#post8070873

_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop

Revision history for this message
Cyclops (rms) wrote :

The update currently in karmic-proposed works for me. Huzza!

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)
  • syslog Edit (8.9 KiB, application/octet-stream; name=syslog)

Doesn't work on a collegue's netbook remix (after doing the updates)
see syslog for details.

Revision history for this message
Andreas Schneider (ubuntu-riverrun) wrote :

Not working with proposed kernel and E220. This should never have been released. Will abandon Ubuntu for now. Pity.

Revision history for this message
Graham Beneke (graham-beneke) wrote :

Could we please move discussions of the E220 bug to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/449394 since I am quite sure it is an independent bug that has not yet been identified.

Revision history for this message
Martin Wildam (mwildam) wrote :

@Andreas Schneider: You are funny. - It is a Kernel problem. Fedora 12 (coming next week) will also have one of the newer kernels - so what do you expect?

Not knowing the source code (and my C coding is a very good while back) I imagine that there are two options: Converting back that portion of the code that was released with Jaunty or finding out where the (remaining) problem is.

Revision history for this message
CassieMoondust (cassie-lx) wrote :

I have tested my E220 with the proposed kernel and it does not work.

Revision history for this message
PABB (piotr-biela) wrote :
Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

Attention E220 owners!

Go there:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/449394

Seems there's a working solution for this bug....

Revision history for this message
red_foto (red-foto) wrote :

HUAWEI E750

Revision history for this message
red_foto (red-foto) wrote :

pls, d'ont forget the HUAWEI E1750 modem!

without succes.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

using lucid 10.04 with E220
Linux BluBUG 2.6.32-2-generic #2-Ubuntu SMP Sat Oct 31 17:06:33 UTC 2009 x86_64 GNU/Linux

Bus 002 Device 003: ID 05e3:0503 Genesys Logic, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 001 Device 005: ID 13fe:1f00 Kingston Technology Company Inc. DataTraveler 2.0 4GB Flash Drive / Patriot Xporter 32GB (PEF32GUSB) Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 014: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

appending
       cat /sys/kernel/debug/usb/usbmon/0u >log_file.txt
asked by Benjamin

its a 40MB file. hope this doesnt time out

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

On Thu, 2009-11-12 at 09:44 +0000, BUGabundo wrote:
> appending
> cat /sys/kernel/debug/usb/usbmon/0u >log_file.txt
> asked by Benjamin
>
> its a 40MB file. hope this doesnt time out
>
> ** Attachment added: "log_file.txt"
> http://launchpadlibrarian.net/35569322/log_file.txt

Thanks, but I think we already have a relevant log from a E220, it
appears to be bugs in the modem FW that Linux can't quite cope with
properly at this stage. It looks like updating the modem FW may fix it
though I've asked my contact at Huawei to provide more infos as to
whether there is an "official" source for those firmwares and whether
there is some kind of Linux based updater instead of Windows XP...

Cheers,
Ben.

Revision history for this message
Justin Schoeman (justin-schoeman) wrote :

Hi Ben,

I can confirm what was suspected on the kernel mailing list - that it is a userspace app that is actually triggering the reset. Killing udevd, or blacklisting the device in udevd breaks the loop. I just haven't managed to figure out a way to only blacklist one function of the device though. Should be a trivial fix though, if the rule can be made to work.

Justin

Revision history for this message
wwwclaes (tillclaes) wrote :

I live in Sweden and use a Huawei E169. I have tried all of the suggestions above, I am currently using the proposed kernel as confirmed by uname:

Linux hp6730b 2.6.31-15-generic #49-Ubuntu SMP Fri Nov 6 09:55:13 UTC 2009 x86_64 GNU/Linux

I somehow managed to get one connection working yesterday, but I can't really reproduce the hoops I went through to connect again. Apart from that, I'm up to hundreds of failed attempts. Right now, after a boot the E169 is recognized as a CD again and no mention of it in the Network Manager. Trying safe removal and rmmod/modprobe results in other errors.

As from tomorrow, I will loose access to a wireless connection again. Any ideas how I can fix this? Is is completely safe to, for instance, downgrade the kernel to a working one from Jaunty? From a programmers perspective it feels a bit shaky to downgrade a central part of the system and keep everything else. If safe, how can I do this as simple as possible - ie download and install it?

Thanks,
Claes

Stefan Bader (smb)
description: updated
Revision history for this message
CassieMoondust (cassie-lx) wrote :
Download full text (3.2 KiB)

I have discoverd that i have a huawei e160 (Medion Mobile S4011 Web Stick) instead of an e220/e270.

Lsusb shows :

Bus 002 Device 006: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

dmesg shows:
[ 76.622509] usb 2-4: new high speed USB device using ehci_hcd and address 5
[ 76.832581] usb 2-4: configuration #1 chosen from 1 choice
[ 76.861526] scsi8 : SCSI emulation for USB Mass Storage devices
[ 76.872533] usb-storage: device found at 5
[ 76.872533] usb-storage: waiting for device to settle before scanning
[ 76.872575] usb 2-4: USB disconnect, address 5
[ 84.132515] usb 2-4: new high speed USB device using ehci_hcd and address 6
[ 84.293917] usb 2-4: configuration #1 chosen from 1 choice
[ 84.313787] scsi11 : SCSI emulation for USB Mass Storage devices
[ 84.320206] usb-storage: device found at 6
[ 84.320208] usb-storage: waiting for device to settle before scanning
[ 84.330022] scsi12 : SCSI emulation for USB Mass Storage devices
[ 84.341268] usb-storage: device found at 6
[ 84.341270] usb-storage: waiting for device to settle before scanning
[ 84.347220] USB Serial support registered for GSM modem (1-port)
[ 84.347258] option 2-4:1.0: GSM modem (1-port) converter detected
[ 84.347318] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB1
[ 84.347323] option 2-4:1.1: GSM modem (1-port) converter detected
[ 84.347349] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB2
[ 84.347358] usbcore: registered new interface driver option
[ 84.347359] option: v0.7.2:USB Driver for GSM modems
[ 89.326981] usb-storage: device scan complete
[ 89.340019] scsi 11:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 89.361258] usb-storage: device scan complete
[ 89.370022] scsi 12:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
[ 89.543458] sr1: scsi-1 drive
[ 89.543535] sr 11:0:0:0: Attached scsi CD-ROM sr1
[ 89.543582] sr 11:0:0:0: Attached scsi generic sg8 type 5
[ 89.543662] sd 12:0:0:0: Attached scsi generic sg9 type 0
[ 89.570045] sd 12:0:0:0: [sdh] Attached SCSI removable disk
[ 104.133757] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 104.193756] ISOFS: changing to secondary root
[ 162.821430] PPP BSD Compression module registered
[ 162.851186] PPP Deflate Compression module registered

In Windows it shows up as huawei 3G and in the driver diagnostic tab the stick answers it is an e160.

It seems there is no new firmware from medion for this stick and flashing with firmware of another provider ends with a question for the right password. The last try i made is to disable the pin in the connectionmanager from Medion, because the manager ask me for the puk1 AND the pin. I think linux asks for the correct pin too many times and after this the huawei ask for the puk, too!

Fortunately this works with the main-kernel (2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux)!!!!

Disabling the pin seems to be a workaraound for users with an e160 huawei web stick. Can someone confirm this? Perhaps it is a problem with the pin / puk management ? I have tried so often and i a...

Read more...

Revision history for this message
Martin Wildam (mwildam) wrote :

Holy sh** - I discovered (re-reading some of the earlier comments and then doing an lsusb) that my E160G shows up as E220/E270 on the lsusb command. - So what is more correct - what is written on the stick or what lsusb shows?

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

I have installed kernel 2.6.31-16.50lp446146apw5 from comment:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/446146/comments/162

(directly link: http://people.canonical.com/~apw/lp446146-karmic/test1/linux-image-2.6.31-16-generic_2.6.31-16.50lp446146apw5_i386.deb)

my Hauwei E220 works perfectly !!!!

Thank you Andy.

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Here you have an output of the dmesg command for Hauwei E220 modem.

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Here you have an output of the dmesg command for Hauwei E220 modem after successful connect to network.

Kernel:
http://people.canonical.com/~apw/lp446146-karmic/test1/linux-image-2.6.31-16-generic_2.6.31-16.50lp446146apw5_i386.deb

Revision history for this message
Martin Wildam (mwildam) wrote :

I have updated the firmware of my E160G which shows up as E220 in lsusb which was a somehow little strange experience (details here: https://bugs.launchpad.net/linux/+bug/449394/comments/37)
However, it seems now that I have firmware version 11.604.21.00.156.B409 (even if the last portion of this short number is not displayed in the Data Manager software on Windows) and this seems to work now also with the currently released kernel of Karmic (2.6.31-14-generic #48-Ubuntu) - so my problems seem to be solved either without the fix.

I will test with the other kernels (including most recent) this weekend.

I only still notice mounting of the drive which I don't bother whether it's mounted or not.

Revision history for this message
Dinesh Cyanam (dineshcyanam) wrote :

No luck with Huawei EC1260 with the *apw5* kernel going to try the *apw10* kernel

Revision history for this message
Dinesh Cyanam (dineshcyanam) wrote :

Nope no luck with *apw10* either using my Huawei EC1260 modem. Should I report a bug specifically for this model?

Also, *apw10* didn't detect my USB modem. Had to do a modprobe.

Here is the lsusb output:
Bus 002 Device 006: ID 12d1:140b Huawei Technologies Co., Ltd.

More Info about EC1260: https://wiki.ubuntu.com/NetworkManager/Hardware/3G#Mobile%20Broadband%20cards and search for EC1260

Revision history for this message
ventillo (p-wenta) wrote :

Hi,

I have a Huawei E169 dongle in PlayMobile Poland and since the 2.6.31-15-generic is out in karmic-proposed the problem is solved for me. Everything works ok. The modem is visible in system as: Bus 003 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem. Thanks for the fix release.

Revision history for this message
Martin Wildam (mwildam) wrote :

I can confirm that the E160G (which is showing up as E220/E270 in lsusb) is working after firmware update through all kernels (apw5, apw10 and 2.6.32.rc6). Interestingly: While previously I had to plug the modem stick in before starting my Dell E-5500 now I have to plug in it after log in.

Another note: Three - at least here in Austria - seems to have some DNS issues. After connecting, Skype got online for instance while DNS did not work for about an hour today (and I already thought the modem is not working any more). Manually setting DNS servers to use in Network Manager in IPv4 tab should help in those cases.

So probably for further tests of a patch I am not a good candidate any more. ;-)

Revision history for this message
Portable-Jim (christian-chess-geek) wrote :

A patch somewhere along the line between linux-image-generic 2.6.31.14.27 (the current kernel I am picking up) and linux-image-generic 2.6.31.15.28 (the kernel in ubuntu-proposed).

Using the "normal" kernel (2.6.31.14.27), /var/log/messages was getting ~10 lines per second of errors identical to GeorgeVita at post #7 ( https://bugs.launchpad.net/ubuntu/+source/linux/+bug/446146/comments/7 )
I upgraded to the proposed kernel and it worked, nothing else (like rmmod, modprobe, or the non-repo kernel) was needed.

What works:
-- Internet connection
-- Internal drive (the one with windows drivers, etc.)
-- Micro SD card reader

I can see installing a proposed update may cause problems later, at least until the version (or a newer one) arrives in the "normal" repos/updates, as any upgrade to the kernel will downgrade to the update.
However, if it works, it good with at least few people.
(Please comment if there is something dreadfully wrong with installing from the proposed section as a band-aid solution)

System specs:
Asus Eee pc 900
Ubuntu Karmic i386 (32-bit)
Virgin Broadband Internet dongle
--- HUWAEI Mobile Connect Model E169 HSDPA USB stick (as reported by the bottom of the stick)
--- Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem (as reported by lsusb)

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Mine (E1692) still doesn't work with the latest proposed kernel and the firmware update; it gets properly detected only about 1 time in a 100.
$ uname -a
Linux 1101ha 2.6.31-15-lpia #50-Ubuntu SMP Tue Nov 10 14:53:03 UTC 2009 i686 GNU/Linux

Bus 001 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd.

The rare times it worked, the product id changed to 140c.
I've tried updating usb-modeswitch, removing it again and letting mode-modeswitc set up the modem, everything. Still no go.

Revision history for this message
Russell Faull (rfaull) wrote :

Hey Portable-Jim

Where did you get those kernel versions from?

The official iso release of karmic was 2.6.31-14.48. The current
proposed' release is 2.6.31-15.50.

Try upgrading -- all should work with *-15.50.

I'm also on Vodaphone (aust) with a E169. Everything works with
'proposed kernel (*-15.50)

Cheers
Russell

On Sat, 2009-11-14 at 04:38 +0000, Portable-Jim wrote:

> A patch somewhere along the line between linux-image-generic
> 2.6.31.14.27 (the current kernel I am picking up) and linux-image-
> generic 2.6.31.15.28 (the kernel in ubuntu-proposed).
>
> Using the "normal" kernel (2.6.31.14.27), /var/log/messages was getting ~10 lines per second of errors identical to GeorgeVita at post #7 ( https://bugs.launchpad.net/ubuntu/+source/linux/+bug/446146/comments/7 )
> I upgraded to the proposed kernel and it worked, nothing else (like rmmod, modprobe, or the non-repo kernel) was needed.
>
> What works:
> -- Internet connection
> -- Internal drive (the one with windows drivers, etc.)
> -- Micro SD card reader
>
> I can see installing a proposed update may cause problems later, at least until the version (or a newer one) arrives in the "normal" repos/updates, as any upgrade to the kernel will downgrade to the update.
> However, if it works, it good with at least few people.
> (Please comment if there is something dreadfully wrong with installing from the proposed section as a band-aid solution)
>
> System specs:
> Asus Eee pc 900
> Ubuntu Karmic i386 (32-bit)
> Virgin Broadband Internet dongle
> --- HUWAEI Mobile Connect Model E169 HSDPA USB stick (as reported by the bottom of the stick)
> --- Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem (as reported by lsusb)
>

Revision history for this message
Damjan Jovanovic (damjan-jov) wrote :
Download full text (3.4 KiB)

I found out what's wrong! My Huawei E220 now works, NO kernel changes, NO firmware upgrades!

(Summary: kill all devkit-* processes before plugging in the 3G card, wait a bit, click on the Network Manager system tray icon, and your "Mobile Broadband" device will be there).

Firstly a big thank you to Justin Schoeman who got me looking in the right place, that is, a userspace application that "resets" the device.

I got the kernel source a while back, to try out a different patch (http://marc.info/?l=linux-usb&m=125540979118724&w=2) which didn't help. So to test Justin's theory I thought I'd see if there's a way to log what userspace apps do to USB devices using the /proc interface, and found that drivers/usb/core/devio.c indeed has an option to log this. Ubuntu's /lib/modules doesn't have a usb/core subdirectory, so I guessed it's compiled into the kernel and read Documentation/kernel-parameters.txt and found the usbcore.usbfs_snoop parameter that turns it on in the kernel. I then booted the kernel with usbcore.usbfs_snoop=1, waited a bit, plugged in the E220 and got this in dmesg:

[ 160.464034] usb 3-2: new full speed USB device using uhci_hcd and address 2
[ 160.625215] usb 3-2: configuration #1 chosen from 1 choice
[ 160.653405] usb usb1: opened by process 1706: devkit-power-da
[ 160.653416] usb usb1: usbdev_ioctl: CONNECTINFO
[ 160.653451] usb usb1: opened by process 1706: devkit-power-da
[ 160.653456] usb usb1: usbdev_ioctl: IOCTL

That evil devkit-power-daemon interferes many times throughout the log, eventually crashing the device. Justin was wrong about the reset, there is no visible userspace reset, but something else - some IOCTL maybe - crashes it.

I then rebooted, did a "ps fax|grep devicekit":
 1635 ? S 0:00 /usr/lib/devicekit-power/devkit-power-daemon
 1888 ? S 0:00 /usr/lib/devicekit-disks/devkit-disks-daemon

then sent them both to hell where they belong:

sudo kill 1635
sudo kill 1888

then plugged in the E220.

I noticed the dmesg was much cleaner. Eventually I got the CDROM interface and could browse and open the files for the first time ever. But the biggest surprise was when I clicked on the Network Manager icon in the system tray AND SAW THE "Mobile Broadband" DEVICE!

It connected and I'm now online writing this.

***

Since I found the problem, I think that gives me the right to complain a bit. I am really not impressed by how poorly and slowly this bug has been handled by the Ubuntu developers. Even Mark Shuttleworth's home country is badly bitten by this bug. You wasted time making the system tray in 9.10 look black and white like it is on MacOS and the login screen look more like Vista's, while 3G, Bluetooth, WiFi and IR crashed and burned, cutting users off from not only your own Ubuntu One service, but their only route to get updates to fix things - a working Internet connection! And if you aren't going to personally test hardware before a release, at least listen to your users complaining on bug reports and delay the release or provide some temporary workaround. When people leave Linux, they generally don't come back, and you have few enough users as it is.

With Google's Chrome OS...

Read more...

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

I'm using 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux and the huaway keeps on monting and unmouting.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

@Damjan - sorry, that didn't help here. Will try booting with "usbcore.usbfs_snoop=1" and see what it shows.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Nov 14 18:42:10 1101ha-jbs kernel: [ 388.729579] usb 1-2: usbdev_ioctl: REAPURBDELAY

I get the log filled with that; the only accesses I get is from modem_modeswitc, which should switch the key into modem mode. So it is still a kernel/usb problem, at least with the Huawei E1692

Revision history for this message
Richard de Rivaz (richard-mdr) wrote :

Hi Russell

'Try upgrading -- all should work with *-15.50.'

Just to confirm that Huawei K3520 (Vodafone) now works with the current proposed kernel.

Regards

Revision history for this message
Martin Wildam (mwildam) wrote :

I can't find a matching kernel at http://kernel.ubuntu.com/~kernel-ppa/mainline/
Is there another location where to find kernels?

Revision history for this message
Russell Faull (rfaull) wrote :

Martin, see post #165 for details of how to enable 'Proposed' in Synaptic. After update, you should have kernel 2.6.31-15.50

Revision history for this message
Bruno Cunha (brunoscunha) wrote :
Download full text (3.9 KiB)

Installed 2.6.31-15-generic and still no luck. Has the behavior. Device mounting and un mounting

[ 115.634818] usb-storage: waiting for device to settle before scanning
[ 115.634827] usbcore: registered new interface driver usb-storage
[ 115.634836] USB Mass Storage support registered.
[ 115.724143] usb 5-1: USB disconnect, address 2
[ 116.456093] usb 5-1: new full speed USB device using uhci_hcd and address 3
[ 116.613072] usb 5-1: configuration #1 chosen from 1 choice
[ 116.643572] scsi7 : SCSI emulation for USB Mass Storage devices
[ 116.645417] usb-storage: device found at 3
[ 116.645424] usb-storage: waiting for device to settle before scanning
[ 116.679037] usbcore: registered new interface driver usbserial
[ 116.679073] USB Serial support registered for generic
[ 116.679181] usbcore: registered new interface driver usbserial_generic
[ 116.679186] usbserial: USB Serial Driver core
[ 116.687154] USB Serial support registered for GSM modem (1-port)
[ 116.687270] option 5-1:1.0: GSM modem (1-port) converter detected
[ 116.687446] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 116.687471] option 5-1:1.1: GSM modem (1-port) converter detected
[ 116.687597] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 116.687638] usbcore: registered new interface driver option
[ 116.687643] option: v0.7.2:USB Driver for GSM modems
[ 121.645539] usb-storage: device scan complete
[ 121.648473] scsi 7:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 121.672185] sr0: scsi-1 drive
[ 121.672193] Uniform CD-ROM driver Revision: 3.20
[ 121.672455] sr 7:0:0:0: Attached scsi CD-ROM sr0
[ 121.672599] sr 7:0:0:0: Attached scsi generic sg1 type 5
[ 133.644438] sr0: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
[ 133.644470] sr: Sense Key : No Sense [current]
[ 133.644480] sr: Add. Sense: No additional sense information
[ 133.843516] sr0: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
[ 133.843548] sr: Sense Key : No Sense [current]
[ 133.843558] sr: Add. Sense: No additional sense information
[ 133.935503] option: option_instat_callback: error -108
[ 133.935652] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 133.935677] option 5-1:1.0: device disconnected
[ 133.935756] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 133.935777] option 5-1:1.1: device disconnected
[ 134.044090] usb 5-1: reset full speed USB device using uhci_hcd and address 3
[ 134.186965] option 5-1:1.1: GSM modem (1-port) converter detected
[ 134.187133] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 134.191282] option 5-1:1.0: GSM modem (1-port) converter detected
[ 134.191453] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 134.588857] option: option_instat_callback: error -108
[ 134.590198] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 134.590245] option 5-1:1.0: device disconnected
[ 134.590406] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 134.590445] option 5-1:1.1: device d...

Read more...

Revision history for this message
ihenders (ian-henderson) wrote :

I'm also up and running on proposed kernel 2.6.31-15-generic

Huawei K3520 (Vodafone UK)

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

How does this 'proposed' scenario work? If the 2.6.31-15-generic is in proposed now,
will it evenually be moved to general updates any time soon, or can that take months?

Revision history for this message
Suyog (suyog) wrote :

I am trying on proposed kernel 2.6.31-15-generic but same issue continues with Huawei Modem EC1260.

I cant connect via Network Manager but connects well via wvdial or gnome-ppp. But thats now what I want as Many applications just refuse to work with connection via wvdial/ppp as they think there is no connection.
Getting each to connect is again pain.

I am really surprised how so called "upgrade" can break very good user experience on Internet connection, I think that was motto of Intrepid Ibex.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

I thought I had reported this yesterday, but obviously I forgot to press "post".
There is a aparent race in udev rules. I started by commenting out the line for my modem (Huawei E1692, 1d21:1446) in "/lib/udev/rules.d/61-option-modem-modeswitch.rules", installing usb-modeswitch, but it still didn't work, as the rules for it where in " /etc/udev/rules.d/usb_modeswitch.rules". If I enter a rule for my modem in 10-hsdpa.rules in the same directory, as by this walkthrough (http://forum.ubuntu-it.org/index.php?topic=330714.msg2558430#msg2558430), now my modem gets switched to the proper mode and works every time. Maybe the next step is removing usb-modeswitch, re-enabling modem-modeswitc, and trying to give it a higher priority in udev rules. For now I am a little afraid to break everything again.

PS: I had also upgraded the firmware of my modem, but if anyone has a link to the Tim Italia firmware for the E1692 I'll try reflashing it back to see if it still works.

Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

My E156G still doesn't works with proposed kernel.
lsusb shows it as a E220/E270, but I can't update the firmware with the E220 update tool, it fails showing that the device was not found.

Still using 9.04.......

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Ok, definitively a race condition on udev, at least with the E1592, but also a modem_modeswitc problem, as it won't reliably switch the key into modem mode. The only way I can get it to switch to modem mode is with usb_modeswitch 1.0.5 (the one in karmic repositories is 1.0.2) and with a 10-hsdpa.rules file in /etc/udev/rules.d
modem_modeswitc will switch it into modem mode once only. After that, the key gets into a state that if I remove it and reinsert it only usb_modeswitch can switch it again.

Revision history for this message
Martin Wildam (mwildam) wrote :

@Murdock: Don't use the E220 update tool - use the one applicable for your modem type (I did so for the E160G searching at the site of my provider - Three in Austria in my case).

Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

@Matin Wildam

My provider doesn't offer any type of drivers/firmware support. I didn't find any upgrade tool for my E156G on the internet.
Please, can you send me your E160G upgrade tool just to test at mjrackham at gmail dot com? Thank you

Revision history for this message
Pärnäsen Korjaamo (matiasgerlich) wrote :

Has anyone tested these USB dongles with Hardy Heron (normal uppdates, not backports etc...)?

-Huawei R1552
-Huawei E 1762
-ZTE MF636+
-Nokia CS-15

Which one would the the best choice? (Telia-Sonera /Sweden, Finland ...)

Tony Wood (twood)
Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
madbiologist (me-again) wrote :

Hi Tony Wood, you changed the status from "Fix Committed" to "Fix Released"... Can you please tell me which package version was released with the fix?

Thanks!

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Please don't change manually the bug status to "Fix Released".
It will be changed automatically at the right time.

Changed in linux (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Björn Schreiweis (bjoern-schreiweis) wrote :

since I am using the proposed kernel I have problems using usb-storage devices like my external usb-hdd.

Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
Andrew Frank (frank-geoinfo) wrote :

i loaded the new kernel in karmic proposed with synaptic and have since good connection using a huawei dongle.
good work! and a pitty it did not make it into the distribution (nor the updates till now)

andrew

Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote :

Hi all!

Any update with E156G firmware.

I couldn't find it yet!

Thanks,
^_Pepe_^

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

Is the fixed kernel in official updates now, or still in proposed?
(asking since it has been "released" and then "recommitted" several times in this thread already)

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

In the end, the only way I got my E1692 to work reliably (every time) was to install the huawei mobile partner for linux that came with my key. After a reboot, it even started creating the ttyUSB* with the names that the huawei software expects (why a reboot to enable udev to follow NAME or SYMLINK rules, when RUN rules work without it?).
Too bad that the firmware update from Huawei for the E169* doesn't include the linux client. It has a working hwactivator, and a nice application - now all I need to do is to get it to use my speakers and mic to do voice calls, as it seems to support them.

So, the problem definitively isn't only kernel related. If it were, I'd have the same problem with all udev rules and all modeswitch softwares. What I've seen here instead is that modem_modeswitc never works (maybe because its udev rules are 60-*), usb-modeswitch works if I launch it by hand once and I have its rules as 10-*, and Huawei's software always works, and its rules are 10-*.

Revision history for this message
Andre (ajx) wrote :

the karmic-proposed kernel gets the Huawei dongle working again, although it still gets mounted on plug-in. On Intrepid and Jaunty the stick's usb-storage was ignored and it just functioned as UMTS modem.
(Could it be possible that the proposed Kernel increases the boot speed on a Dell Mini 10v a lot, maybe half the time until the desktop appears. )

Revision history for this message
Martin (martin-wetterstedt) wrote :

I have updated to 2.6.31-15-generic (karmic-proposed) and the modem with ID 12d1:1001 E620 (with e169 printed on it) does not work. In syslog, modem-manager writes: Registration state changed: 5 and then next line Got failure code 3: No carrier. It is working on XP and older Ubuntu.

Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

I tried, just to test, to update my E156G dongle with the E160G firmware update tool with no luck.
Still waiting for a firmware for E156G and/or a kernel patch, whatever comes first.

Note: It works nice with ubuntu 9.04 and factory firmware.

Lars (home-lbm)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Andrea Chiavazza (andrea-c7a) wrote :

@Richard Wikberg
Keep monitoring this link to know what's in -proposed and what's in -released:
https://edge.launchpad.net/ubuntu/karmic/+source/linux/

Revision history for this message
madbiologist (me-again) wrote :

For those looking for E156G firmware, I have found an unofficial site. Use at your own risk:

The (currently) last post in the thread at http://www.dc-unlocker.com/forum/showthread.php?t=308 made by artakamiryan on 2009-07-21 contains some links to this firmware. Before using, check what firmware version you currently have. One way to do this is to:

- Boot with a kernel where the modem works (ie, you -do- get a /dev/ttyUSB0
created)
 - open it with minicom
 - type the AT command "ati" <return>
 - tell us the modem response

You will get something like:

ati
Manufacturer: huawei
Model: E169
Revision: 11.314.17.00.261
IMEI: 358109021939159
+GCAP: +CGSM,+DS,+ES

or

Manufacturer: huawei
Model: E220
Revision: 11.110.05.00.00
IMEI: 358191017694576
+GCAP: +CGSM,+DS,+ES

a later E220 version is

Manufacturer: huawei
Model: E220
Revision: 11.117.09.01.56
IMEI: 358954001901277
+GCAP: +CGSM,+DS,+ES

Plese note that this is unofficial firmware provided by a third party. I have not tested it. It may in fact be for a completely different huawei model. It could even be a trojan, or contain a virus. USE AT YOUR OWN RISK.

Revision history for this message
Robben (rj-grg) wrote :

Updated to 2.6.31-15-generic (karmic-proposed) and the E169 shows connection in the network-manager. Was working alright at first update yesterday night but today it is showing problems again. It shows as connected through the network-manager but doesn't actually get connected ( I can't surf internet or either ping through terminal). Anyways i found a work-around on ubuntu forums- establishing connection through PPPD. The internet works correctly through it!

3G modem connected using only one terminal command (pppd).

$ sudo pppd ttyUSB0 460800 nodetach defaultroute noipdefault noauth lock usepeerdns connect 'chat "" "at" "" "at" "OK" "at&f" "OK" "atz" "OK" "at+cgdcont=1,'IP','gint.b-online.gr'" OK "atdt*99***1#" CONNECT' user web password web

Link: http://ubuntuforums.org/showpost.php?p=7790046&postcount=54

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

I just lost another ubuntu friend. He reinstalled XP (!) on his laptop, cursing about linux
along the way. I don't think that this "bug" has got the attention it deserves? It's fatal.

Revision history for this message
Andre (ajx) wrote :

Have to revoke my #284 comment. It's not working stable. In 8 of 10 times it stil fails. UMTS ist critical on Netbooks. I could help my friend around this bug in Ubuntu by installing Mobile-Connect from Betavine (vodafone) which works with all mobile networks. The package can be downloaded from here: http://www.betavine.net/bvportal/resources/datacards/os/ubuntu

Revision history for this message
Stuart (stuart-ward) wrote :

I agree with Richard in #290 In Jaunty all these modems JFW without installing anything. It was awesome I demonstrated to several people showing the E169 working on the live disk. It should JFW with Karmic.

Revision history for this message
Dovel (dov01) wrote :

In regards to comment #291. I actually have found the e169 to work. Yesterday after I upgraded to 2.6.31-15. I was so shocked as I had tested it after the upgrade and a couple of boots. My friend just plugged it in and it worked. It got a bad connection and I reconnected it. It worked. Then strangely something else that has not worked also worked. The laptop battery ran flat and it went into hibernation - and I was able to wake it up again successfully. It hasn't done that since I upgraded to Karmic. It won't do it though unless I've used the e169 during that session. If I haven't used the e169, it won't wake up from hibernation.

Possibly a bit of useless info, but strange correlation. I'm running a Dell Inspiron 1501.

Revision history for this message
jameschuk8@gmail.com (jameschuk8) wrote :

I a new user in ubuntu. I was so happy when I use version 9.04 because it support my huawei usb e220 modem very well.
However it can not use after I update to version 9.10. And what do you mean "Change to usb storage"?

Changed in linux (Ubuntu):
status: Fix Committed → New
Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

ftw are you doing? there is a fix, but there is not in actual updates

Changed in linux (Ubuntu):
status: New → Fix Committed
Revision history for this message
madbiologist (me-again) wrote :

@jameschuk8 - The E220 has a different bug which is fixed for most people by updating the modem's firmware. See bug #449394.

Regarding your final question - if you are referring to the opening comment "Fix: Change to USB storage, which lets the device fallback to a shorter sense format. This patch went into 2.6.31.5 ("usb-storage: Workaround devices with bogus sense size").", here are the details from the 2.6.31.5 kernel changelog for that patch:

commit 670add0a279e39e13a66876389c64d4f7dcf0379
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Tue Oct 13 15:53:47 2009 +1100

    usb-storage: Workaround devices with bogus sense size

    commit b8430e1b82b7e514d76a88eb70a7d8831d50df1e upstream.

    usb-storage: Workaround devices with bogus sense size

    Some devices, such as Huawei E169, advertise more than the standard
    amount of sense data, causing us to set US_FL_SANE_SENSE, assuming
    they support it. However, they subsequently fail the request sense
    with that size.

    This works around it generically. When a sense request fails due to
    a device returning an error, US_FL_SANE_SENSE was set, and that sense
    request used a larger sense size, we retry with a smaller size before
    giving up.

    Based on an original patch by Ben Efros <ben at pc-doctor.com>

    Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
    Acked-by: Alan Stern <stern at rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

Revision history for this message
parxier (vasily-ivanov) wrote :

Updated to 2.6.31-15-generic (karmic-proposed). Now Huawei modem K3520 (Vodafone Prepaid, Australia) works fine again! I'm back online!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.31-15.50

---------------
linux (2.6.31-15.50) karmic-proposed; urgency=low

  [ Kees Cook ]

  * SAUCE: Fix nx_enable reporting
    - LP: #454285

linux (2.6.31-15.49) karmic-proposed; urgency=low

  [ Benjamin Herrenschmidt ]

  * [Upstream] (drop after 2.6.31) usb-storage: Workaround devices with
    bogus sense size
    - LP: #446146

  [ John Johansen ]

  * SAUCE: AppArmor: AppArmor wrongly reports allow perms as denied
    - LP: #453335
  * SAUCE: AppArmor: Policy load and replacement can fail to alloc mem
    - LP: #458299
  * SAUCE: AppArmor: AppArmor fails to audit change_hat correctly
    - LP: #462824
  * SAUCE: AppArmor: AppArmor disallows truncate of deleted files.
    - LP: #451375

  [ Kees Cook ]

  * SAUCE: [x86] fix report of cs-limit nx-emulation
    - LP: #454285

  [ Scott James Remnant ]

  * Revert "SAUCE: trace: add trace_event for the open() syscall"
  * SAUCE: trace: add trace events for open(), exec() and uselib()
    - LP: #462111

  [ Stefan Bader ]

  * SAUCE: Fix sub-flavour script to not stop on missing directories
    - LP: #453073

  [ Tim Gardner ]

  * [Upstream] (drop after 2.6.31) Input: synaptics - add another Protege
    M300 to rate blacklist
    - LP: #433801

  [ Upstream Kernel Changes ]

  * PM: Make warning in suspend_test_finish() less likely to happen
    - LP: #464552
 -- Stefan Bader <email address hidden> Tue, 10 Nov 2009 14:31:52 +0100

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote :

Hi all.

No luck here with a Huawei E156G. Today I've installed 2.6.31-15.50 from proposed, and I could connect 1 of 20 attemps. Others dmesg says "option: option_instat_callback: error -108".

In all cases, I have to umount cdrom with Windows driver.

I can add some logs if needed.

E156G is presented by lsusb as:

Bus 002 Device 011: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

Regards

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

2.6.31-15.50 is now in the "real" karmic-updates.

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

lsusb reports my E169 HSDPA usb stick as:
"ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem".

using 2.6.31-15.50 it now shows up in network manager as:
"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Huawei" (what's with the ÿ?)

But refuses to connect to the service provider...

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Hi.
It works for Hauwei E220.
Thanks.

Don't forget about removing old mobile connection and create the new one.

Revision history for this message
Daniel Castro (castromd) wrote :

Update Manager popped up yesterday with several updates, kernel update included.
My E620 now works like it should. Thanks!

Revision history for this message
Martin (martin-wetterstedt) wrote :

Just curious; for me it still does not work with the latest kernel (2.6.31-15-generic) and e169. Is this considered confirmed behaviour, and if so, should the status not be changed from "fix commited" to something else?. Or should I file this bug somewhere else? Are there any e169 users for whom it works out of the box now?? Are developers thinking they solved the problem already?

Revision history for this message
Pablo Martí (pmarti) wrote :

With the last update some of the cards that I have around work better now (E620, E272, K3520). Having said that, my E870 still does not work ("option_instat_callback: error -108" all over dmesg) and my E220 shows an erratic behaviour, it mostly works, but from time to time a popup complaining that it cannot mount /dev/sr0 shows up.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Also for me it doesn't work with a E1692 (product id 1446 before switch, 140c after). I can only get it to work if I edit /lib/udev/rules.d/61-option-modem-modeswitch.rules and comment out the line supposed to detect this model, and then install TIM Italy's branded Huawei Modem Manager, that came in the pseudo-cd drive in the usb key. Like that it always works, reliably. The only thing that I couldn't get to work yet were voice calls. I can make or answer them, but no way to play them on the speakers or use the mic.

Revision history for this message
Marc (marclopez-deactivatedaccount) wrote :

I updated the firmware of my e156g dongle...STILL NOT WORKING
Then I updated the kernel to 2.6.31-15.50....STILL NOT WORKING

Revision history for this message
Mac (macjonesnz) wrote :

Old kernel 2.6.31-14 did not work for me (was mounting as a CD ROM / USB memory stick only)

After aptitude update / upgrade today (26 Nov 2009).

New Kernel 2.6.31-15

Works fine, all as it was before in 9.04.

device id is 12d1:1001 Huawei E620 USB Modem

Thanks - fixed for me !

Revision history for this message
ktalinu (ktalinu) wrote :

My E169 work now with 2.6.31-15-50 kernel. Tested on two machines with Karmic fresh install. You must delete the old connection and create new one.

Revision history for this message
Martin Wildam (mwildam) wrote :

Even here everything fine with my E160G that shows up as E220/E270 in lsusb.
I even think that it is now faster - but this can be due to the fact that I did now use the address only and manually entered the DNS.
And I also created a new mobile broadband entry (even for my last tests I wrote earlier).

I would like to thank everyone who was working on this (either as developer or tester) to get this work again.

For those where it still does not work after kernel upgrade and creating the entry in mobile broadband for new there should maybe a new issue created (maybe with linking back to this issue).

Revision history for this message
Erik Öhrn (loidor) wrote :

I still have issues with my E169 (which shows up as E620 with lsusb) after kernel update.

The modem is recognized at startup, but I can't connect to anything. I see my ISP, am able to click it, and nothing more.

After unplugging/plugging it back in I am able to connect, but have to click on my ISP twice.

Usually, it disconnects shortly after, and I have to repeat the unplug business. Usually I have to repeat this step about three times before getting a steady connection.

So, as asked before: Should this even be posted here, or should we (I and Martin, right now) file a new report about this?

Revision history for this message
Franz Altmüller (franz-altm) wrote :

now working well with kernel 2.6.31.15.
thanks

Revision history for this message
Kim spence-Jones (ksj) wrote :

Hmm. No joy with 2.6.31.15 either with E220. In fact a whole bunch of bugs...

* I have the "disconnects almost immediately, after connection initiaetd from network manger" behavior.

* I also have a mode where the E220 light goes out completely, and the device disappears from lsusb. This seems to be a crashed-modem state, and only unplugging/replugging the modem recovers life.

* Also, if you leave the modem plugged in but not connected, you can get a dialog box repeatedly popping up saying "Unable to mount MOBILE_CONNECT /n Error mounting: mount exited with exit code 1: helper failed with /n mount:block device /dev/sr0 is write protected, mounting read-only /n mount: /dev/sr0 is not a valid block device", associated with a few more green flashes of the modem light than usual. (not sure if this always happens.)

* Sometimes when I try to connect, it pops up a dialog with "A password is required to connect to 'T-mobile' /n HUAWEI technologies HUAWEI mobile" and a password entry field. And sometimes it doesn't need this. But even if you enter the correct password at this point, it doesn't seem to help. [this behavior existed in 8.10 too, and was usually cured by system restart ]

* Behavior seems to be different depending on whether the modem is present at boot time or not.

Can someone indicate which modem software upgrade is considered good? [I upgraded a while ago, and the version I installed worked flawlessly with 8.10.]

In case it's relevant, I'm a T-Mobile user in the UK. And I used the menu option for "Connection Information" (right-click over networking icon) to delete t-mobile entry, then rebooted and inserted new entry using T-mobile defaults. (The old entry had manual DNS servers, but the default auto-IPv4 settings didn't seem to make any difference, at least during the short connection attempt). Still doing the almost-immediate disconnect thing.

Revision history for this message
totya (totya) wrote :

On my HSDPA USB stick the model number is Huawei K3520.

From Linux it looks like an E620 USB modem:

Bus 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Linux kernel 2.6.31-15.50

Now my USB stick works as a charm. I can connect to the internet anytime anywhere without problem.

Thanks for the fix!

Revision history for this message
Andrew Stevens (andrew-stevens) wrote :

Resultsfor my Vodafone Germany branded Huawei E270.

2.6.31-15.50 - no joy GSM modem converter disconnects leaving E270 in a confused state.Strangely unplugging and replugging works.

'apw5' - as for 15.50

'apw10' - Hurray this one works perfectly.

Revision history for this message
jbatista (jmnbatista) wrote :
Download full text (10.1 KiB)

I've decided to name this distribution, 9.10, the "9-out-of-10". Many things seem to work so far (haven't tested them all yet, I can tell some of the buttons seem not to respond, but it goes beyond this Bug report).

Anyway, here's my report with a Vodafone Portugal equipment.

- Netbook: Eee PC 1000H (Intel Atom N270 @1.60GHz processor, 1GB RAM, 160Gb disk, Bluetooth, SD reader, 1.3M webcam).
- Dongle: Huawei K3520 (see lsusb below), reads as a E620.

Installed the Ubuntu Netbook Remix ISO from CD (using an external USB DVD drive) with kernel 2.6.31-14-generic (2.6.31-14.48), and had the reported problem.
Following the instructions presented for bug #446146 , I
1) downloaded the linux-image .deb from my still-installed Windoze partition ;-) (after all I paid for it when I bought the netbook!) from karmic-updates by hand (browser),
2) rebooted and mounted the partition
3) installed the .deb file linux-image-2.6.31-15-generic (2.6.31-15.50), see e.g. http://packages.ubuntu.com/karmic-updates/linux-image-2.6.31-15-generic
4) rebooted with the new kernel.

The only change I had to make in Network Manager was to change the connection's IPv4 connection method to "only automatic addressed (ppp)" and enter the primary and secondary DNS servers' IPs.

Relevant output from "lsusb":
---->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8----
Bus 002 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x12d1 Huawei Technologies Co., Ltd.
  idProduct 0x1001 E620 USB Modem
  bcdDevice 0.00
  iManufacturer 1
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 108
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 3
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0010 1x 16 bytes
        bInterval 128
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttribut...

Revision history for this message
Russell Faull (rfaull) wrote :

Sadly, after persisting with Network Manager's inconsistent connections, I am taking Tiger99's advice (post #217) and using Betavine and wicd to get reliable, first-time connection.

I say sadly, because I want Ubuntu to work ootb. But this has been an up c**k from the beta version of Karmic.

Sadly, too, because it seems that nobody from Canonical is paying attention to users. Why else would there be over 300 (many angry) posts on this bug -- and growing?

Revision history for this message
Omer Akram (om26er) wrote :

i suggest that if any one is still having this bug can they plz try to install a later kernel by their self and see if that change the situation plz.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

With the backports kernel, and the E1692 (productID 1446, switches to 140C when in modem mode), it still doesn't work. I have to install the TIM Italy provided software and udev rules, and disable the detection in "/lib/udev/rules.d/61-option-modem-modeswitch.rules" to be able to use the modem.

Revision history for this message
Carl Mäkinen (carlsster) wrote :

I can use my E169 mobile Internet again after the kernel update – thank you for the fix dear Linux and Ubuntu developers!

However, my experience is that this feature does not run as smooth as in 9.04 and I would like to ask if anyone else have the same feeling. There are three areas where I have problems:
- It feels like it takes longer time to connect in 9.10 (could it be perceived as slower to connect due to the removal of the two green “status indicators” in 9.04 network-manager applet?).
- The network-manager applet often fails to connect (the circle spins for while before I get the disconnected notification box).
- I can't reconnect if I have had the computer in sleep (suspended).

So, is this only me being a reactionist (ahh, the good old days of 9.04) or is it something that could be worth looking in to?

Revision history for this message
Russell Faull (rfaull) wrote :

Carl, I have the same issues of unreliable connections, even with
2.6.31-15.50 and E169 -- NM icons spins then fails to connects, this can
happen several times before the network is established, but always
happens at least once after a reboot (see post #73 for kernel
developer's similar experience). It usually connects after suspend,
though.

See Tiger99's post at #217 for an alternative to NM. This works
reliable for me and indicates to me that the problems are not just
kernel/device related (the earlier problem with kernel 2.6.31-14.48 is
solved with upgrade to *-15.50.) but also related to Network Manager
and/or Modem Manager.

It would be interesting if others could confirm this experience.

On Fri, 2009-12-04 at 21:05 +0000, Carl Mäkinen wrote:

> I can use my E169 mobile Internet again after the kernel update – thank
> you for the fix dear Linux and Ubuntu developers!
>
> However, my experience is that this feature does not run as smooth as in 9.04 and I would like to ask if anyone else have the same feeling. There are three areas where I have problems:
> - It feels like it takes longer time to connect in 9.10 (could it be perceived as slower to connect due to the removal of the two green “status indicators” in 9.04 network-manager applet?).
> - The network-manager applet often fails to connect (the circle spins for while before I get the disconnected notification box).
> - I can't reconnect if I have had the computer in sleep (suspended).
>
> So, is this only me being a reactionist (ahh, the good old days of 9.04)
> or is it something that could be worth looking in to?
>

Revision history for this message
Dan Williams (dcbw) wrote :

I believe the "19d2" (ZTE) entry in /lib/udev/rules.d/61-option-modem-modeswitch.rules is interfering with the device's normal modeswitch and usb_storage recognition. That entry was added to udev incorrectly and has since been reverted when it was found to cause problems. If people ahve problems getting their ZTE device recognized, make sure you ahve that latest kernel update and also remove that line from /lib/udev/rules.d/61-option-modem-modeswitch.rules.

Revision history for this message
ktalinu (ktalinu) wrote :

I upgraded today from 2.6.31-15.50 to 2.6.31-16.52 and my E169 stop working. My connection no longer appear in network-manager list. :-(

Revision history for this message
ktalinu (ktalinu) wrote :

Sorry for the last post. After I reboot in 2.6.31-15 and again in 2.6.31.16 is working. Let's see after another reboot :-)

Revision history for this message
Bruno Cunha (brunoscunha) wrote :
Download full text (11.6 KiB)

After installing the 2.6.31.16 the E220 still does not work. Keeps on mounting and unmounting
bruno@bruno-laptop:~$ sudo tail -f /var/log/syslog
[sudo] password for bruno:
Dec 7 11:28:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:28:09 bruno-laptop wpa_supplicant[1157]: WPS-AP-AVAILABLE
Dec 7 11:28:15 bruno-laptop kernel: [ 5750.381140] usb 2-6: USB disconnect, address 9
Dec 7 11:28:22 bruno-laptop kernel: [ 5757.164136] usb 2-6: new high speed USB device using ehci_hcd and address 12
Dec 7 11:28:22 bruno-laptop kernel: [ 5757.301024] usb 2-6: configuration #1 chosen from 3 choices
Dec 7 11:29:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:29:09 bruno-laptop wpa_supplicant[1157]: WPS-AP-AVAILABLE
Dec 7 11:30:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:30:09 bruno-laptop wpa_supplicant[1157]: WPS-AP-AVAILABLE
Dec 7 11:31:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:32:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
^C
bruno@bruno-laptop:~$ sudo tail -f /var/log/syslog
Dec 7 11:28:09 bruno-laptop wpa_supplicant[1157]: WPS-AP-AVAILABLE
Dec 7 11:28:15 bruno-laptop kernel: [ 5750.381140] usb 2-6: USB disconnect, address 9
Dec 7 11:28:22 bruno-laptop kernel: [ 5757.164136] usb 2-6: new high speed USB device using ehci_hcd and address 12
Dec 7 11:28:22 bruno-laptop kernel: [ 5757.301024] usb 2-6: configuration #1 chosen from 3 choices
Dec 7 11:29:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:29:09 bruno-laptop wpa_supplicant[1157]: WPS-AP-AVAILABLE
Dec 7 11:30:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:30:09 bruno-laptop wpa_supplicant[1157]: WPS-AP-AVAILABLE
Dec 7 11:31:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:32:09 bruno-laptop wpa_supplicant[1157]: CTRL-EVENT-SCAN-RESULTS
Dec 7 11:32:54 bruno-laptop kernel: [ 6028.956120] usb 5-1: new full speed USB device using uhci_hcd and address 16
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.115382] usb 5-1: configuration #1 chosen from 1 choice
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.120227] scsi45 : SCSI emulation for USB Mass Storage devices
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.120594] usb-storage: device found at 16
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.120600] usb-storage: waiting for device to settle before scanning
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.152079] usbcore: deregistering interface driver option
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.152150] USB Serial deregistering driver GSM modem (1-port)
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.168086] usbcore: deregistering interface driver usbserial_generic
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.168152] USB Serial deregistering driver generic
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.168196] usbcore: deregistering interface driver usbserial
Dec 7 11:32:54 bruno-laptop kernel: [ 6029.468153] usb 5-1: USB disconnect, address 16
Dec 7 11:32:55 bruno-laptop kernel: [ 6029.712129] usb 5-1: new full speed USB device using uhci_hcd and address 17
Dec 7 11:32:55 bruno-laptop kernel: [ 60...

Revision history for this message
Phuah Yee Keat (ykphuah) wrote :

My E160E is running perfectly with the kernel from karmic-updates.

My broadband provider released some firmware upgrades as well, those of you whose modem are not working can give it a try:
http://www.digi.com.my/internet/broadband/userguide.html

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

@ktalinu It's working, but sometimes disconnects with no apparent reason, but at least now it connects and I'm able to surf the net

Revision history for this message
Alessandro Tagliapietra (tagliapietra.alessandro) wrote :

With the lastest 2.6.31-16.52 my e169 is not working again, same -108 error.

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

9.10 feels more and more like one step forward and two steps back.
Supposedly being the version to compete with Win7, these never ending
network/modem/kernel bugs has got catastrophic proportions.

The problem is that most people do not post bug reports. Since they lost
internet conectivity, they lost faith in ubuntu completely and then reinstalled
whatever OS instead.

Xmas traveling holidays coming up,
and I have a brand new netbook without 3G connection.
Go figure,

Revision history for this message
ClaudioRJ (cmirandarj) wrote :

I know that this post is about Huawei USB dongle only, but as I read Richard Wikberg's post, I must agree with him. My ONDA modem MSA501HS still not working with 9.10 (it works fine in 9.04), and my USB connections seems strange in my desktop computer (where I installed Karmic). It says that I have a web cam attached, but I do not have; my pendrive appears in 9.04 as a... pendrive!, in Karmic appears as a MP3 player.

So, in my netbook, wich I depend on for working in daily basis, I will not install Karmic. And people around here, as I'm a Ubuntu fan and propagandist, keep still laughing about this bug and defending Windows 7 as The Solution. But Jaunty still installed and running smoothly.

I'm affraid I'm not able to test new implementations on the fly, as you people sugest here, 'cause I'm beginner in Linux. So, in this case, I preffer to wait for kernel's update through Update Manager.

Revision history for this message
Martin Wildam (mwildam) wrote :

I need to say something positive here: There have been two kernel updates in Karmic since release as far as I noticed.
Already the first kernel update solved my remaining mobile internet issues. I completely agree that especially a bug in Internet connection is an extremely serious one, but: In Ubuntu mobile internet still works better than everywhere else (except Linux Mint which is Ubuntu based where it also worked very fine the last time I tried - version 8 not tested yet). Last week I compared to Fedora 12 and although it worked in general, I had issues when trying to reconnect or had to plug in twice - don't remember. Before coming to Ubuntu I was on Fedora and a main reason to switch was the mobile internet not working on Fedora 11.

So I find Ubuntu one of the best distributions out there and I would like to thank all who helped out here very much. I never ever have been so near to development and able to contribute with testing and hints.

That there are still issues with some models of Huawei is really sad, but I am sure that providing detailed informations and logfiles will help out a lot - and probably there should be a new issue opened for the remaining problems because for a large number of people the updates provided so far did help.

tags: added: karmic
Revision history for this message
sly (slyboots1) wrote :

for me same like in post from Bruno #325. Still disconnecting with my E220 using Ubuntu Karmic Koala

Revision history for this message
ANIMESH (animeshmeher) wrote :

I have huawei EC168C. ( was directed to this post, my bug was marked dublicate)
Its still not working .:-(
But surprisingly works with Gnome-ppp.:-)

If you like any detail i can post.

For starter : syslog shows this:
Dec 8 19:36:48 animesh-laptop modem-manager: (ttyUSB0) opening serial device...
Dec 8 19:36:48 animesh-laptop modem-manager: (ttyUSB2) opening serial device...
Dec 8 19:36:53 animesh-laptop modem-manager: EVDO signal quality: 99
Dec 8 19:36:53 animesh-laptop modem-manager: EVDO signal quality: 99
Dec 8 19:37:49 animesh-laptop NetworkManager: <WARN> stage1_prepare_done(): CDMA modem connection failed: No service
Dec 8 19:37:49 animesh-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 0)
Dec 8 19:37:49 animesh-laptop NetworkManager: <info> Marking connection 'Reliance Netconnect connection' invalid.
Dec 8 19:37:49 animesh-laptop NetworkManager: <info> Activation (ttyUSB0) failed.
Dec 8 19:37:49 animesh-laptop NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Dec 8 19:37:49 animesh-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Dec 8 19:37:49 animesh-laptop modem-manager: (ttyUSB2) closing serial device...
Dec 8 19:37:49 animesh-laptop modem-manager: (ttyUSB0) closing serial device...

Using Gnome-ppp to connect syslog is:

Dec 8 19:39:32 animesh-laptop pppd[3589]: pppd 2.4.5 started by root, uid 0
Dec 8 19:39:32 animesh-laptop NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 8 19:39:32 animesh-laptop NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Dec 8 19:39:32 animesh-laptop pppd[3589]: Using interface ppp0
Dec 8 19:39:32 animesh-laptop pppd[3589]: Connect: ppp0 <--> /dev/ttyUSB2
Dec 8 19:39:35 animesh-laptop pppd[3589]: PAP authentication succeeded
Dec 8 19:39:38 animesh-laptop pppd[3589]: Cannot determine ethernet address for proxy ARP
Dec 8 19:39:38 animesh-laptop pppd[3589]: local IP address 115.240.85.114
Dec 8 19:39:38 animesh-laptop pppd[3589]: remote IP address 220.224.141.129
Dec 8 19:39:38 animesh-laptop pppd[3589]: primary DNS address 202.138.97.193
Dec 8 19:39:38 animesh-laptop pppd[3589]: secondary DNS address 202.138.96.2

Which kernels i should use and should i upgrade any network manager:

Revision history for this message
ANIMESH (animeshmeher) wrote :

IT writes prepering internet connection and stops

It was working with 9.04.

I have tried almost all the kernel updates and network manager trunk build without much reprise . help needed thanks.

Revision history for this message
ANIMESH (animeshmeher) wrote :

lsusb detects as :
Bus 005 Device 005: ID 12d1:1412 Huawei Technologies Co., Ltd.
Any other information ill happily provide.

This will be a problem with all reliance network connection here in india.
A friend of mine also reports the same.

Model : huawei EC168C
Kernel:linux-headers-2.6.31-02063101

Revision history for this message
Bruno Cunha (brunoscunha) wrote :
Download full text (39.9 KiB)

With the latest updates E220 stopped working again.
lsusb stated the following
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 046d:c062 Logitech, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 046d:c062 Logitech, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
bruno@bruno-laptop:~$ dmesg | more
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.31-16-generic (buildd@vernadsky) (gcc version 4
.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #52-Ubuntu SMP Thu Dec 3 22:00:22 UTC 2009 (Ubunt
u 2.6.31-16.52-generic)
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000005f7b0000 (usable)
[ 0.000000] BIOS-e820: 000000005f7b0000 - 000000005f7c5400 (reserved)
[ 0.000000] BIOS-e820: 000000005f7c5400 - 000000005f7e7fb8 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000005f7e7fb8 - 0000000060000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fed20000 - 00000000fed9a000 (reserved)
[ 0.000000] BIOS-e820: 00000000feda0000 - 00000000fedc0000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffb00000 - 00000000ffc00000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[ 0.000000] DMI 2.4 present.
[ 0.000000] last_pfn = 0...

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

It's very unstable. Sometimes I'm able to connect, sometimes it's just keeps on mounting and unmounting, and sometimes I'm able to connect and just after that it unmounts.
I can't just keep my fingers crossed hoping it does not unmount, like yesterday the connection was stablen.

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

Don't know exactly what I did but finally it's working. Karmic is not recognizing the E220 (shows up on desktop). Lets hope tomorrow it's still working without having to plugin plugout endlessly.

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

I meant karmic is now recognizing the E220

Revision history for this message
Martin (martin-wetterstedt) wrote :

The problem persist for me (#285) even with the latest karmic proposed. This bug is definitely not solved! As I wrote before I am happy to send some logs if you specify what is needed. Long time without internet access at home...

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

@Martin
Try to remove existing internet connection, and add a new one.
Try also another mobile internet connection program.

Revision history for this message
Bartosz Kosiorek (gang65) wrote :
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Please try application Gnome-ppp and try if it connect:
http://packages.ubuntu.com/karmic/gnome-ppp

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

@ Bartosz no luck with the workaround you suggested. Even with todays update still the same

Revision history for this message
Omer Akram (om26er) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

plz try the latest kernel from
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/
and then tell if it works or not and also try it at your own risk.

Revision history for this message
tiger99 (tiger-sardius) wrote :

Unfortunately the latest fix has broken vodafone-mobile-connect, which now fails to run if the E620 is plugged in, just showing on the taskbar for a few seconds and then exiting. With the E620 plugged in, network manager can make a connection, but I really need vmc as it allows usage monitoring, etc. With the E620 removed, vmc will get as far as opening its configuration window, but of course there is nothing there to configure.

I have reinstalled vmc, ozerocdoff and usb-modeswitch many times, and every available version, with no effect.

Revision history for this message
tiger99 (tiger-sardius) wrote :

Additionally, I tried with either wicd or network manager installed, that makes no difference to the problem with vmc. I prefer wicd, but for testing in a basic configuration, network manager is probably best as it is what most people use by default.

Revision history for this message
tiger99 (tiger-sardius) wrote :

Got some information which may help to debug this. I ran vmc from the terminal, not the GUI, and captured the stderr output to a file, attached.

Revision history for this message
tiger99 (tiger-sardius) wrote :

I should add that with the dongle out, and the GUI working as normally as it can, there is no output at all to stderr.

Revision history for this message
tiger99 (tiger-sardius) wrote :

The very latest kernel 2.6.32-020632-generic #020632 SMP Thu Dec 3 10:09:58 UTC 2009 x86_64 GNU/Linux makes no difference.

Revision history for this message
tiger99 (tiger-sardius) wrote :

I have also posted this to Betavine as it may, although unlikely, be a problem with VMC.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Not only Vodafone Mobile Connect, but now Alice Modem Manager (a branded version of Huawei's software) is no longer able to connect. I still need it to switch the key into modem mode (from productId 1446 to 140C), but then have to dial using Kppp, and lose the connection management features.
So, now the situation is half broken either way; without the modem manager, the modem isn't switched into the "proper" mode, neither usb_modeswitch or modem_modeswitc work; with the modem manager installed, I now have to switch to kpp to dial, after the update to kernel 2.6.31-16

Revision history for this message
Phuah Yee Keat (ykphuah) wrote :

tiger99, try removing your ~/.vmc2, it worked for me.

After I did the kernel upgrade, vmc always either quits automatically, or nothing happens when I click "Connect", it took me a long while to realize its configuration problem. After I removed .vmc2, and reconfigure the APN, I am using it now. :)

Revision history for this message
madbiologist (me-again) wrote :

@tiger99 - The issue you describe in comment #346 is a completely different issue to this bug. You need to file a new bug. This bug is fixed, and the fix has been released.

Also, when filing the new bug, please attach the output of lsusb and be more specific about which "latest fix" broke vodafone-mobile-connect - are you referring to 2.6.31-15.50 or 2.6.31-16.52? Please also attach the contents of dmesg.

@Richard Wikberg - who said that Ubuntu 9.10 is the version to compete with Win7? I haven't seen anyone on ubuntu.com or wiki.ubuntu.com or launchpad say that - if you have please point me to the appropriate page. Of course various tech info/review sites and media sites may claim this, but Canonical have not, to my knowledge.

Revision history for this message
madbiologist (me-again) wrote :

@ Jose Bernardo - that's a different bug. Please file a new bug, or try Phuah Yee Keat's fix.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Ok, 2.16.31-16 breaking Huawei's branded connection utilities is a different bug. But this one isn't fixed! At least for some of our Huawei usb keys! For my E1692, which worked perfectly in 2.6.28, it still isn't fixed - read the comments I've left before, I can't use it "as is" with karmic, I need to install Huawei's tool and UDEV scripts, and disable the corresponding line for modem-modeswic in /lib/udev/rules.d/61-option-modemswitch
It was working before, and it still isn't - even if it is fixed now for those Huawey modems which product id is 0x1001. For mine, with productID 0x1446, it never, never switches to 0x140C if I don't use Huawei tools. This wasn't needed on Jaunty. So, for me this bug isn't fixed yet.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Ah, and I've already done a firmware update. Not the one from Phuah Yee Keat (my modem is different), but one from a german site - the E169 firmware applies for my E1692 too, even if the productID is different (and stays different after the upgrade). Surprise - the firmware update changed nothing in the behaviour with karmic, still broken.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

How I made my E220 works.

-Upgrade firmware
-sudo rmmod usb_storage
-sudo modprobe usbserial
-Delete old 3g connection
-Make a new one

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

@madbiologist - I don't think the "officials" releases new Ubuntu versions with the intention not to compete with Win? It's not hard to understand that various tech/review/media sites, as well as leading computer magazines, will assume that the latest Ubuntu release is the competitor to the latest Win release. If not, what's the purpose of 9.10? Is it just some sort of public beta for developers, until the "real" 10.4 LTS is released?

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

@madbiologist - here you have a bug report about Microsoft market share. It is connected with MS windows. So don't tell me that Windows don't compete with Ubuntu.

https://bugs.launchpad.net/ubuntu/+bug/1

jugpole (jugpole)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Martin Pitt (pitti)
Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Removing the Huawei udev rules, and running modem-modeswic by hand, this is what I get with today's 2.6.31-16 (#53):

sudo /lib/udev/modem-modeswitch -v 0x12d1 -p 0x1446 -t option-zerocd -d
D: Found mass storage device:
D: Endpoints: 2
D: Class: 0x8
D: SubClass: 0x6
D: Protocol: 0x50
D: Found modem mass storage device '009'
D: 009: REZERO command sent.
$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009: ID 12d1:1446 Huawei Technologies Co., Ltd.
Bus 001 Device 004: ID 058f:6335 Alcor Micro Corp. SD/MMC Card Reader
Bus 001 Device 003: ID 13d3:5071 IMC Networks
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Revision history for this message
tiger99 (tiger-sardius) wrote :
Download full text (4.0 KiB)

Phuah Yee Keat, thank you very much, it worked, although there is a remaining problem discussed below which does not prevent it from working now.

madbiologist, I very respectfully disagree that it is a new bug, it seems to be a regression caused by this bug fix, because it did work correctly some time ago, before this bug first appeared. I never posted a dmesg, lsusb etc, because they were all perfectly normal. But because some more information is now available, I will post them now. Because VMC is now usable I can confirm that the wrong device ID is being reported somehow as a K3520 to VMC, while lsusb correctly shows E620.

The relevant part of the uname -a output is 2.6.32-020632-generic #020632 SMP Thu Dec 3 10:09:58 UTC 2009 x86_64 GNU/Linux

lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

which is correct!

relevant part of dmesg:

[ 3605.392569] usb 4-1: new full speed USB device using ohci_hcd and address 8
[ 3605.622343] usb 4-1: configuration #1 chosen from 1 choice
[ 3605.628244] scsi21 : SCSI emulation for USB Mass Storage devices
[ 3605.628852] usb-storage: device found at 8
[ 3605.628859] usb-storage: waiting for device to settle before scanning
[ 3605.690069] usbcore: deregistering interface driver option
[ 3605.690196] USB Serial deregistering driver GSM modem (1-port)
[ 3605.720850] usbcore: deregistering interface driver usbserial_generic
[ 3605.720995] USB Serial deregistering driver generic
[ 3605.721052] usbcore: deregistering interface driver usbserial
[ 3605.792598] usb 4-1: USB disconnect, address 8
[ 3605.992436] usbcore: registered new interface driver usbserial
[ 3605.993361] USB Serial support registered for generic
[ 3606.252725] usbcore: registered new interface driver usbserial_generic
[ 3606.252736] usbserial: USB Serial Driver core
[ 3606.261873] USB Serial support registered for GSM modem (1-port)
[ 3606.262056] usbcore: registered new interface driver option
[ 3606.262062] option: v0.7.2:USB Driver for GSM modems
[ 3606.590087] usb 4-1: new full speed USB device using ohci_hcd and address 9
[ 3606.821405] usb 4-1: configuration #1 chosen from 1 choice
[ 3606.827675] option 4-1:1.0: GSM modem (1-port) converter detected
[ 3606.827973] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 3606.841188] option 4-1:1.1: GSM modem (1-port) converter detected
[ 3606.841454] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 3606.857970] option 4-1:1.2: GSM modem (1-port) converter detected
[ 3606.858255] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 3606.880895] scsi25 : SCSI emulation for USB Mass Storage devices
[ 3606.890283] usb-storage: device found at 9
[ 3606.890296] usb-storage: waiting for device to settle before scanning
[ 3611.892234] usb-storage: device scan complete
[ 3611.896168] scsi 25:0:0:0: CD-ROM ...

Read more...

Revision history for this message
tiger99 (tiger-sardius) wrote :

One more thing, the contents of vmc.cfg:

[profile]
last_device = 4817/4097/K3520
updater =
name = HuaweiK3520-3Gpreferred

[sms]
validity = maximum

[preferences]
exit_without_confirmation = no
close_minimizes = no
max_traffic = 10
mail = xdg-email
traffic_threshold = 10
usage_notification = no
manage_secrets = yes
show_icon = yes
manage_keyring = no
browser = xdg-open

Martin Pitt (pitti)
Changed in linux (Ubuntu Karmic):
status: Fix Released → In Progress
status: In Progress → Fix Committed
tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
madbiologist (me-again) wrote :

Can anyone still having problems with an E220/E270 please try the 2.6.31-17.54 kernel in Karmic-proposed. It pulls in the Linux 2.6.31.6 kernel from upstream, which contains a patch with the following description:

commit e4613c5f3a957475b1f5b011e7833cc2b57b6ed4
Author: Ronnie Furuskog <rofu7 at hotmail.com>
Date: Mon Sep 21 21:20:55 2009 +0200

    USB: option: Patch for Huawei Mobile Broadband E270+ Modem

    commit 0ee3a33a0481c8f5c9edb7a5a02f3c76496d9551 upstream.

    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

I actually read bug #1 some time ago, and I agree with it. The comments get a bit repetitive after a while, but the initial bug report is well written, as are some of the early comments.

However I think the notion of competition is pointless and foolish, not to mention counterproductive. To quote, "War - what is it good for? Absolutely nothing!" Noted thinker, author and speaker Edward de Bono talks about the concept of parallel thinking and the benefits to productivity. There is a bit of a summary at http://en.wikipedia.org/wiki/Parallel_thinking , although the way I heard him describe it was more along the lines of "Instead of each party focusing on the things they dislike/disagree with in the other party's ideas/proposals, they look for, focus on and mention the positive things they see in the other party's ideas/proposals, leading to dramatic breakthroughs in solving problems".

To go further, rather than a war, what we need is an outbreak of peace. This is commonly a consequence of an outbreak of love. Instead of being in competition with Windows, I see Ubuntu more as an alternative choice for computer users. As with all alternative choices in life there are pros and cons that need to weighed up when making a choice of operating system. At the moment we still have a bit of a con regarding some Huawei USB modems (although not as bad as previously). I am hopeful that the kernel currently in Karmic-proposed will fix this. However as we all know, Ubuntu and other Linux distributions have many pros.

With love from the home of the Koala to the kernel developers and all the people who have posted in this bug report, from the mad (as in crazy) biologist.

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

bruno@bruno-laptop:~$ uname -a
Linux bruno-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

bruno@bruno-laptop:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 008: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 007 Device 002: ID 046d:c062 Logitech, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

As soon as karmic detects E220 I try to connect and it just unmounts. Then mounts again and so on...

Revision history for this message
Russell Faull (rfaull) wrote :

Latest kernel (2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux) seems to make no improvement to the reliability of connection with my e169. I get maybe 40-50% first-time connections.

But I did find the information on this helpful (http://forums.debian.net/viewtopic.php?f=7&t=47200).

Basically, if your modem does not connect, do ls -la /dev/ttyU*. If that reports no such file or directlory, load the usb-serial module with sudo modprobe usbserial vendor=0x12d1 product=0x1001 (change the product=* to suit your modem).

ls -la /dev/ttyU* should now report at least /dev/ttyUSB0 and Network Manager will connect. (If you use wicd and wvdial/gnome-ppp, manually start connection.)

You may still have problems with DNS (it seems connected but won't reach a web address), if so, disconnect any wireless networks and restart your mobile broadband. For me It help to have the DNS addresses listed under the IPv4 settings tab.

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

These are the erros I get after trying to connect

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

I found this temp fix
Run the following command at the console, prior to plugging in the modem to the USB slot;

watch -n1 sudo rmmod usb-storage

This would remove the usb_storage module, and would make the device not detected as a USB storage device. From here I can connect to the internet using the Network Manager's Mobile Broadband as I normally would.

p/s: Do take note that this would make the system to not be able to detect any USB storage devices such as your thumb drives, till the rmmod command is killed.
It's working fine with me until a definitive fix is found

Revision history for this message
Michael Rüttgers (mruettgers) wrote :

Bruno wrote:
> watch -n1 sudo rmmod usb-storage

In recent kernel versions you could also try to use the usb_storage module parameter quirks:

sudo rmmod usb_storage && sudo modprobe usb_storage quirks=12d1:1446:i

This prevents just your Huawei Modem from beeing detected as a storage device (in my case the E1762).

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

@Michael: your "quirks" suggestion is not enough (unfortunately) for my E1692 (which has the same productid as your E1762 - 0x1446). modem-modeswitc doesn't seem able to switch it into "proper" mode, the porductID stays at 0x1446 instead of changing to 0x140C, as it does when I use Huawei's tools. Still, it seems like a step in the proper direction.

Revision history for this message
Michael Rüttgers (mruettgers) wrote :

@Jose:
After some further investigation, I now have a working E1762-Modem using kernel 2.6.31-16-server (Karmic).

This seems to work without using the quirks-parameter for me.
Maybe udev calls usb_modeswitch early enough to be able to switch the device into proper mode, but I'm not sure about this.

I performed the following steps:

1.) Add some modem specific settings to /etc/usb_modeswitch.conf (Install the package usb_modeswitch before, if not already done):

#HUAWEI E1762
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProduct= 0x140c
MessageContent="55534243000000000000000000000011060000000000000000000000000000"
CheckSuccess=5

2.) Create a file /etc/udev/rules.d/15-huawei-e1762.rules with the following content:

SUBSYSTEM="usb"
SYSFS{idProduct}=="1446",
SYSFS{idVendor}=="12d1",
RUN+="/usr/sbin/usb_modeswitch"

-----------

These two steps made the modem basically working for me, and you should get something like the following in your kernel log after restarting udev and plugging in your Huawei stick, if it works for you, too:

kernel: [ 78.175152] USB Serial support registered for GSM modem (1-port)
kernel: [ 78.175198] option 1-1.4:1.0: GSM modem (1-port) converter detected
kernel: [ 78.175272] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB0
kernel: [ 78.175279] option 1-1.4:1.1: GSM modem (1-port) converter detected
kernel: [ 78.175319] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
kernel: [ 78.175326] option 1-1.4:1.2: GSM modem (1-port) converter detected

Then I got another problem with the modemmanger resulting in the following looping messages (/var/log/daemon.log):

modem-manager: (Huawei): (ttyUSB1) deferring support check
modem-manager: (ttyUSB2): re-checking support...
modem-manager: (Huawei): (ttyUSB2) deferring support check
modem-manager: (ttyUSB3): re-checking support...
modem-manager: (Huawei): (ttyUSB3) deferring support check
...

This seems to be caused by a bug reported here:
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/410634

The solution was to use the network-manager and modemmanager packages build from trunk:
https://edge.launchpad.net/~network-manager/+archive/trunk

-----------

Now I was able to use the stick in the gnome network-manager to connect to Vodafone (Germany).

The last issue I had was the fact, that I had to define the DNS servers myself in the network-manager, because the resolv.conf file was not updated (they work for me with the Bildmobil Speedstick):

139.7.30.125, 139.7.30.126

I hope this helps.

Revision history for this message
Michael Rüttgers (mruettgers) wrote :

In addition to my previous post:
I had the wrong bookmark for the network-manager related bug.
This is the correct one, but using trunk builds does still fix the problem:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/411724

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Thanks! Without the quirks parameter for usb_storage, and with the trunk network manager, I managed to connect automatically using kubuntu karmic at last! Maybe it is time to open a new bug for modem-modeswitc now?

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

@ Michael Rüttgers Yes but it makes it work, and what I need until it's fixed. So far it was the only temp fix that worked for me.

Revision history for this message
mahela007 (mahela007) wrote :

Just to confirm that this bug / issue affects me as well on karmic. I use the Huawei E156G modem. Didn't seem to have any problems on Ubuntu 8.10 live CD.
As good as all the fixes listed in the comments are, they are not suitable for the normal end user , especially one who has just migrated to Linux / Ubuntu. The fix should be added in the karmic updates.. (I appreciate the work being done here on recognizing and attempting to fix the problem)

Revision history for this message
madbiologist (me-again) wrote :

@mahela00 - You may be interested in comment #288

Revision history for this message
mahela007 (mahela007) wrote :

Thanks.. But I just bought this modem and I'm not very proficient with this stuff. I forgot to mention my kernel version in post #377. Its 2.6.31-14-generic.

Revision history for this message
Ridingshark (n-lender) wrote :

Hello,

i am using Huwei E220 and had the same problem when upgrading to Keramic.
The "linux-headers-2.6.31-16_2.6.31-16.50lp446146apw10_all.deb" solved my problem, worked flawlessly.

some time ago i got the update message for kernel 2.6.31-16. (think 55). Installed and error came back.
Why is this fix not included in the newest kernel? when will this be expected to happen, as i cannot upgrade the kernel before this is solved.

Thanks a lot and regards
Ridingshark

Revision history for this message
Michael Rüttgers (mruettgers) wrote :

@mahela00:
The Bug reported here should be fixed since kernel-2.6.31-15.49, as noticed in the ubuntu changelog:
-------------------------------------------------
linux (2.6.31-15.49) karmic-proposed; urgency=low
  [ Benjamin Herrenschmidt ]
  * [Upstream] (drop after 2.6.31) usb-storage: Workaround devices with
    bogus sense size
    - LP: #446146
-------------------------------------------------

So you could try to upgrade your kernel to 2.6.31-16.

The issues left seem to be related to the flip-flop behaviour of the Huawai modems.
For me the only thing that worked was using usb_modeswitch called by udev in-time.
Neither calling usb_modeswitch manually after plugging the stick in nor the use of modem-modeswitch did work for me.

In your case I would first try to upgrade your kernel and then I would give usb_modeswitch a try.

Revision history for this message
ANIMESH (animeshmeher) wrote :

it still not working with updated kernel .

It work with network manager 0.7.1 stoped with 0.8 .
Mine is huwei ec168c.

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Incomplete
Changed in linux (Ubuntu Karmic):
status: Incomplete → Fix Committed
Revision history for this message
Andrew Stevens (andrew-stevens) wrote :

Confirm: stock kernel 2.6.31-16.53 does not fix the issue for (my) Huawei E270.

A custom kernel that includes the patch

diff --git a/drivers/usb/storage/initializers.c b/drivers/usb/storage/initializers.c
index 105d900..ec17c96 100644
--- a/drivers/usb/storage/initializers.c
+++ b/drivers/usb/storage/initializers.c
@@ -102,5 +102,5 @@ int usb_stor_huawei_e220_init(struct us_data *us)
                                      USB_TYPE_STANDARD | USB_RECIP_DEVICE,
                                      0x01, 0x0, NULL, 0x0, 1000);
        US_DEBUGP("Huawei mode set result is %d\n", result);
- return 0;
+ return (result ? 0 : -ENODEV);
 }

which differentiated the 'apw10' test kernel from 'apw5 works correctly.

Needless to say I'm holding on to that patch like grim death ;-)

Revision history for this message
mahela007 (mahela007) wrote :

Here's another thread in the Ubuntu forums relating to this bug....
http://ubuntuforums.org/showthread.php?p=8525264#post8525264

Post # 9 may be of significance...

Revision history for this message
mahela007 (mahela007) wrote :

Just found a workaround... worked 3 out of 3 times which is a much better record than before.
Here's what I did.

Booted Ubuntu with the modem plugged in.
Right Clicked the icon representing my modem on the desktop (because nautilius mounted it as a storage device) and clicked eject.

Then, I unplugged and re plugged the modem.

Waited for a few seconds (approx 15-30) and then clicked connects in the network manager applet.
applet version is 0.7.996
Kernel is default Karmic kernel (no updates)

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

@ mahela00 I think with the temp fix i found I found you don't have to wait 15 to 30 min. I just have to connect E220 and run
watch -n1 sudo rmmod usb-storage.
So far it's working like a charm.

Revision history for this message
mahela007 (mahela007) wrote :

12 - 30 seconds.. not minutes... I'll check out your fix..

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

I believe this bug is actually fixed, however many many bugs were marked incorrectly as duplicate. If it works using gnome-ppp like my ec 1260, and doesn't work through network/modem manager, that means it's a bug in network/modem manager... right?

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

@ Bryan Quigley I believe not. It's the way karmic recognizes the usb device. As a standard device or as a usb dongle

Revision history for this message
ANIMESH (animeshmeher) wrote :

Any of you who has ec168c I can confirm it is a network manager bug not a kernel bug.

with opensuse 11.2 which uses kernel 2.6.31.... and NM 0.7.1 . its connets.
if some of you can degrade the network manager then try this solution.

unfortunately i dont know how to degrade the network manager. (tried and failed:-(. too many dependencies.)

Revision history for this message
ANIMESH (animeshmeher) wrote :

@ bryan
for many cases like mine huwaie ec168c its a case of network manager.

Revision history for this message
girts (girtsz) wrote :

I want to know when this bug is planned to fix because I want to use Ubuntu 9.10, but this bug make for me big problem?
Is there planned to create latest iso images after this bug will be fixed?
I think that there is super important to create new iso images for all Kubuntu, Ubuntu...

Revision history for this message
girts (girtsz) wrote :

Please give Ubuntu users working solution how to use HUAWEI and other USB modems which don't work in Ubuntu 9.10 and 10.04 Alpha 1!!!!!!
I already plan to go away from Linux to Windows and I think that there will be thousands of people which will do the same!
Sorry, but situation is very bad!!!

Revision history for this message
Bruno Cunha (brunoscunha) wrote :

Well I would only get back to windows as a last resort. Lets wait and see. So far with the temp fix I found, the E220 it's working.

tags: added: regression-release
removed: regression-potential
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (11.9 KiB)

This bug was fixed in the package linux - 2.6.31-17.54

---------------
linux (2.6.31-17.54) karmic-proposed; urgency=low

  [ John Johansen ]

  * SAUCE: AppArmor: Fix oops after profile removal
    - LP: #475619
  * SAUCE: AppArmor: Fix Oops when in apparmor_bprm_set_creds
    - LP: #437258
  * SAUCE: AppArmor: Fix cap audit_caching preemption disabling
    - LP: #479102
  * SAUCE: AppArmor: Fix refcounting bug causing leak of creds
    - LP: #479115
  * SAUCE: AppArmor: Fix oops there is no tracer and doing unsafe
    transition.
    - LP: #480112

  [ Leann Ogasawara ]

  * Revert "[Upstream] (drop after 2.6.31) usb-storage: Workaround devices
    with bogus sense size"
    - LP: #461556
  * Revert "[Upstream] (drop after 2.6.31) Input: synaptics - add another
    Protege M300 to rate blacklist"
    - LP: #480144

  [ Tim Gardner ]

  * [Config] udeb: Add squashfs to fs-core-modules
    - LP: #352615

  [ Upstream Kernel Changes ]

  * Revert "e1000e: swap max hw supported frame size between 82574 and
    82583"
    - LP: #461556
  * Revert "drm/i915: Fix FDI M/N setting according with correct color
    depth"
    - LP: #480144
  * Revert "agp/intel: Add B43 chipset support"
    - LP: #480144
  * Revert "drm/i915: add B43 chipset support"
    - LP: #480144
  * Revert "ACPI: Attach the ACPI device to the ACPI handle as early as
    possible"
    - LP: #327499, #480144
  * SCSI: Retry ADD_TO_MLQUEUE return value for EH commands
    - LP: #461556
  * SCSI: Fix protection scsi_data_buffer leak
    - LP: #461556
  * SCSI: sg: Free data buffers after calling blk_rq_unmap_user
    - LP: #461556
  * ARM: pxa: workaround errata #37 by not using half turbo switching
    - LP: #461556
  * tracing/filters: Fix memory leak when setting a filter
    - LP: #461556
  * x86/paravirt: Use normal calling sequences for irq enable/disable
    - LP: #461556
  * USB: ftdi_sio: remove tty->low_latency
    - LP: #461556
  * USB: ftdi_sio: remove unused rx_byte counter
    - LP: #461556
  * USB: ftdi_sio: clean up read completion handler
    - LP: #461556
  * USB: ftdi_sio: re-implement read processing
    - LP: #461556
  * USB: pl2303: fix error characters not being reported to ldisc
    - LP: #461556
  * USB: digi_acceleport: Fix broken unthrottle.
    - LP: #461556
  * USB: serial: don't call release without attach
    - LP: #461556
  * USB: option: Toshiba G450 device id
    - LP: #461556
  * USB: ipaq: fix oops when device is plugged in
    - LP: #461556
  * USB: cp210x: Add support for the DW700 UART
    - LP: #461556
  * USB: Fix throttling in generic usbserial driver
    - LP: #461556
  * USB: storage: When a device returns no sense data, call it a Hardware
    Error
    - LP: #400652, #461556
  * arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0
    - LP: #461556
  * intel-iommu: Cope with broken HP DC7900 BIOS
    - LP: #461556
  * futex: Detect mismatched requeue targets
    - LP: #461556
  * futex: Fix wakeup race by setting TASK_INTERRUPTIBLE before queue_me()
    - LP: #461556
  * tpm-fixup-pcrs-sysfs-file-update
    - LP: #461556
  * TPM: fix pcrread
    - LP: #461556
  * Bluetooth: Disconnect HIDRAW devices on disconnect
    - LP...

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
girts (girtsz) wrote :

Thank You Ubuntu community for fix and sorry about recent bad comments and I want to ask to remove them.
I also tested 2.6.32 in Mandriva 2010 GNOME One and also see that HUAWEI modem works.

Many thanks for all!!!!!

Revision history for this message
girts (girtsz) wrote :

PLEASE RELEASE NEW ISO IMAGES FOR UBUNTU, KUBUNTU, XUBUNTU... 9.10 RELEASES AS HUAWEI USB DEVICES PROBLEM IS FIXED!!!!!

THANKS.
GIRTS

Revision history for this message
Martin Wildam (mwildam) wrote :

Are there respins produced for *buntu in general? Didn't noticed that - at least not for Jaunty...

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

Fixed as in "device recognised" by the kernel maybe, but that's only half of the problem solved.

My E169 HSDPA still refuses to connect to the service provider (3)... it seemes to try to dial,
but then just says "disconected". Looks like it's a network manager bug to me!

Works perfect on my Win-computers.
Plug it in... connect... voila!

Revision history for this message
girts (girtsz) wrote :

Fix don't work!!!!
Please remove status as Fixed. Problem is not fixed!!!!

Please test kernel 2.6.32.2 which I think contains fix for this problem. I tested kernel 2.6.32.2 on Mandriva 2010 One Gnome and problem was solved!!!!

Revision history for this message
werasm (werasm) wrote :

After updating the Kernel today (8/01/2010)...

On inserting the modem, it is now detected by the network manager.

I then get the following error:

Jan 8 13:33:40 werasmus-desktop kernel: [ 7267.805905] sr1: scsi-1 drive
Jan 8 13:33:40 werasmus-desktop kernel: [ 7267.806119] sr 723:0:0:0: Attached scsi generic sg2 type 5
Jan 8 13:33:51 werasmus-desktop kernel: [ 7278.340687] sr: Sense Key : Hardware Error [current]
Jan 8 13:33:51 werasmus-desktop kernel: [ 7278.340692] sr: Add. Sense: No additional sense information
Jan 8 13:33:51 werasmus-desktop pppd[8658]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Jan 8 13:33:51 werasmus-desktop pppd[8658]: pppd 2.4.5 started by root, uid 0
Jan 8 13:33:51 werasmus-desktop pppd[8658]: Using interface ppp0
Jan 8 13:33:51 werasmus-desktop pppd[8658]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 8 13:33:51 werasmus-desktop pppd[8658]: CHAP authentication succeeded
Jan 8 13:33:51 werasmus-desktop pppd[8658]: CHAP authentication succeeded
Jan 8 13:34:12 werasmus-desktop pppd[8658]: Terminating on signal 15
Jan 8 13:34:12 werasmus-desktop pppd[8658]: Connection terminated.
Jan 8 13:34:13 werasmus-desktop pppd[8658]: Exit.

After a while I also get an error message popping up with the following error:

Unable to mount 20070604_150651

Error mounting: mount exited with exit code 32: mount: /dev/sr1 is not a valid block device.

Kind regards,

Werner

Revision history for this message
John D Sheehan (john-d-sheehan) wrote :

Problem persists in this kernel update (2.6.31-17) for the huawei e220 modem.
Kernel seems to recognise it as a storage device, then as a modem, then as a
storage device ...

I have attached the output of /var/log/messages

Lucky for me I still have kernel 2.6.31-11 with which the modem works hanging
about, otherwise I would be screwed.

Revision history for this message
mahela007 (mahela007) wrote :

I can confirm that the problem still exists in the 2.6.31-17-generic kernel version. I'm using a huawei e156g modem. As I have said in my previous posts, it does connect sometimes but when it does not, about 3 or 4 attempts at reconnecting are required for it to connect properly.

Revision history for this message
mahela007 (mahela007) wrote :

I think the status should be changed from released to committed.

Revision history for this message
sly (slyboots1) wrote :

After upgrade to new kernel 2.6.31-18-generic problem still exist with my Huawei E220.

Revision history for this message
SP (samipp) wrote :

I have had all possible kernels available thru update, also propposed ones. The latest being 2.6.31-18-generic. I have E220 and none of them works unless I start without dongle connected to USB and write few lines to kill few daemons before plugging it to USB. All versions of kernel have worked after typing:

sudo killall devkit-power-daemon
sudo killall devkit-disks-daemon

The problem still exists.

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

Nasty regression. Not fixed. Please change the status, or this will continue forever.

Released kernel does not solve the Huawei / Network manager / Dial problems.

Should we have sticked with 9.04 and waited for 10.04 instead?

mahela007 (mahela007)
Changed in linux (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
baeza (baeza) wrote :

The original bug for E169 (lsusb: E620) is fixed with kernel 2.6.31-15 and newers. Should the rest of Huawei modems have different bug reports?

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

The E169 is recognized by the kernel.
But it still refuses to dial/connect to the serviceprovder...

See comments #301 and #399.

Revision history for this message
Russell Faull (rfaull) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

Richard, it's recognised by the kernel in about 30% of insertions on my
two computers. In those 30%, checking ls -la /dev/ttyU* return no file
or directory. After sudo modprobe usbserial vendor=0x12d1
product=0x1001, network-manager connects without any prompting. This
still seems a kernel problem to me.

Regards
Russell

On Tue, 2010-01-12 at 21:35 +0000, Richard Wikberg wrote:

> The E169 is recognized by the kernel.
> But it still refuses to dial/connect to the serviceprovder...
>
> See comments #301 and #399.
>

Revision history for this message
Russell Faull (rfaull) wrote :

Further to last post, connecting with wvdial has about the same success rate for me as connecting with network-manager. The problem for me is that insertion of the modem does not reliably create /dev/ttyU0. Repeated insertions will eventually trigger /dev/ttyU0. Using sudo modprobe usbserial vendor=0x12d1 product=0x1001 always works.

Revision history for this message
Russell Faull (rfaull) wrote :

Oops, in post #410, I meant the E169 modem is recognised by the kernel in 70% of insertions, with 30% failing.

Revision history for this message
baeza (baeza) wrote :

I don't have this kind of problems. After a ten insertions test, I get 100% success rate of modem detection. Automatic connection to ISP is 60% and in the rest (40%) I can connect choosing the ISP from the contextual menu of Network Manager (ver.0.7.996). Kernel log messages don't show problems.

Revision history for this message
Martin Wildam (mwildam) wrote :

I don't have an overview now who initially had problems and who remains still with problems. Maybe the fix solved a majority of the cases and the remaining people have other additional causes that need an additional fix. Is there somehow a possibility to create a statistic of who initially had problems and some of the previous kernel updates solved it and who still has problems?

Revision history for this message
mahela007 (mahela007) wrote :

I for one still have the problem and am looking forward to a fix. Maybe someone could start a thread in Ubuntu forum with a poll and ask everyone here to vote if the fix worked or not..

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Mark (mark-wege) wrote :

I have a eeepc1005HAG/HGO with an *internal* Huawei which also identifies itself as 620-model
lsusb:
Bus 001 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

I have kernel 2.6.31-18-generic #55-Ubuntu running. With Windows everything works fine, but with Kubuntu it does not work. I tried Knetworkmanager, Gnome Network-Manager and umtsmon. The provider configuration I use is the same as on another system with an pcmcia-3G-modem, so I know it works. I will attach the logfiles of my attempts. The problem seems to be some kind of time-out, which appears after only a very little time. While googling for the problem, I found a similar description of a problem with an internal 3g-modem on an Asus Laptop. Unfortunately I can not find that site again after my browser crashed. The user wrote that he found out that the internal modem was partly deactivated and could be activated by using the hotkeys for doing that. Unfortunately that solution did not work for me, since hotkeys only partly work on my eeepc. But may be that is the reason? May be the others, who still have problems could specify if they have an internal or external 3G-modem.

Revision history for this message
Mark (mark-wege) wrote :
Revision history for this message
girts (girtsz) wrote :

PLEASE RELEASE NEW ISO IMAGES AFTER PROBLEM IS FIXED!!!!!!!!!!

Revision history for this message
Richard Wikberg (richard-wikberg) wrote :

Why do people keep changing he status of this bug to "fix released"? It's not fixed yet.

As I said before, this is a much bigger issue than most people think. It is catastrophic
to loose internet connectivity on your laptop/netbook. It's a dead end for most newcomers.

I survive because of a wireless lan at home, and an almost stubborn wish for a bugfix...
Please don't make me go back to Win, just because of my Huawei 3G dongle?

What about those who reinstalled/upgraded their working 3g ubuntu installations?
They aren't even here reporting bugs, because they left Ubuntu. Permanently.

Revision history for this message
girts (girtsz) wrote :

THERE SOME IS SO LAZY TO TEST 9.10 WITH 2.6.32.2 KERNEL WHICH ON MANDRIVA 2010 SOLVED PROBLEM!!!!!
IS THERE SO DIFFICULT TO TEST WITH 2.6.32.2 KERNEL?????

WHAT IS GOING ON????

Revision history for this message
SP (samipp) wrote :

Everything worked well with 9.04. I upgraded to 9.10 after I thought problem was solved. I am new to Linux and it bothers me really to chnge my working setup to nonworking. I have Fujitsu-Siemens desktop (about 5 years old) with E220 dongle by Vodafone. I've upgraded firmware to latest one available. I am new to Linux/Ubuntu so I only get kernels via system update and don't experiment with other system kernels. I am hoping that the problem would be solved very rapidly. Some said that newcomers go back to Windows because of this problem and I can believe that. It is as much true that some people lost their net connection and cannot tell about their problem due to that reason.

Maybe I should switch to working system, 9.04 or Mandriva 2010? Mark S. tells us he wants Ubuntu experience to be better than OSX, I can tell this kind of problem gives a whole different experience.

Revision history for this message
girts (girtsz) wrote :

There is link where is available latest kernels for Debian/Ubuntu:
http://blog.robertalks.com/
Maybe this will help for lots of Ubuntu 9.10 users. I am sorry I don't test them yet!

Changed in linux (Ubuntu Karmic):
status: Fix Released → Confirmed
Revision history for this message
David Fraser (davidf) wrote :

Note that the fix messages are only for Lucid, not for Karmic. This is assigned to Andy Whitcroft, who last commented on this in November - perhaps we could have a comment on whether the Lucid fix is definitive, and if we can expect a karmic backport?

If not, we need some analysis of:
 * Which machines are fixed/broken
 * If they are running Lucid or Karmic
 * Which kernels they are using
 * Which modems they are using
 * What symptoms they experience
 * If the modprobe usb_storage trick works

I'm using a Huawei E220 and this is still broken for me on kernel 2.6.31-17 on karmic (as the status reflects). The ttyUSB devices are created then torn down every few seconds. I can get a connection, but the connection immediately drops when the device is destroyed.

Revision history for this message
David Fraser (davidf) wrote :

Also note that of the two upstream bug reports, http://bugzilla.kernel.org/show_bug.cgi?id=14499 is for the E220 and is not fixed yet, so this is not entirely fixed, even in the latest kernel on Lucid - should we split this into two bugs or what?

Revision history for this message
Gergely SZABÓ (netbakter) wrote :

I am willing to test * ANY * proposed solutions with my E220 for the next two weeks. Please let me know what to test and how.

Revision history for this message
mime (michael+launchpad-mimeit) wrote :

The problem also occurs on my system:

$ uname -a
Linux rhnb4119 2.6.31-18-generic #55-Ubuntu SMP Fri Jan 8 14:54:52 UTC 2010 x86_64 GNU/Linux
# from proposed

$ sudo lsusb | grep Modem
Bus 005 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
# first generation o2 Surf-Stick

$ aptitude show network-manager-gnome | grep Version
Version: 0.8~rc2-0ubuntu2~nmt2~karmic
# from network-manager ppa

I have to say I am very disapointed, that this bug isn't fixed after over 3 months!
This could be easily a reason for people to change away from Ubuntu!

→ So, How can I help?

Revision history for this message
Martin Wildam (mwildam) wrote :

I either don't have problems on Ubuntu 10.04 Alpha 2. Only thing is the DNS servers: I need to set them manually - automatic setting the servers does not work (at least here in Austria with Three does not). Same also for 9.10 - and I also heard of those problems from somebody else on provider A1.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

@Martin
That's is another issue.
Open a new bug against mobile-broadband-provider info reporting the problem and and don't forget to specify providers affected.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

@Martin
I meant "mobile-broadband-provider-info".

Revision history for this message
Martin Wildam (mwildam) wrote :

Thanks for the hint, I will do that. My main message however should have been, that with the current kernel in 10.04 Alpha 2 mobile internet for me works in general. - This was my first test on the 10.04 Alpha 2 because I heard, that it is going to use some older packages in general because of stability concerns so my fear was that mobile internet then might not work again.

Revision history for this message
neuromancer (neuromancer) wrote :

@martin
Have you restarted Ubuntu after adding the mobile connection?
In my situation all has worked for a while (2 or 3 times) but after a system restart now the mobile connection (vodafone) doesn't work and in dmesg it return
Terminating on signal 15
Connection terminated.
Exit.

Ubuntu Karmic 9.10 kernel 2.6.31-18-generic

Revision history for this message
Martin Wildam (mwildam) wrote :

@neuromancer: On my karmic machine I did plenty of restarts in the meantime - that is my production machine. On Lucid Alpha 2 I think I also did a restart and tested again then, but I am not 100 % sure - will try that again when I can (test machine is at home).

Revision history for this message
karlrt (karlrt) wrote :

@martin
@all with DNS problems

this: https://bugs.launchpad.net/ubuntu/+source/mobile-broadband-provider-info/+bug/498110 is the bug for the dns problems, so far i only see people with "three" as provider having this. For austrian drei-users, there is also a small bug here (still needs to be confirmed): https://bugs.launchpad.net/ubuntu/+source/mobile-broadband-provider-info/+bug/449484

Revision history for this message
viking777 (viking-f2s) wrote :

I am using kernel 2.6.31.17 now and I have also tested lucid kernel 2.6.32.4 as well. Neither of these kernels solve the Huawei E220 'loop' bug. I have a 2.6.32 kernel on Sidux and that does work with the E220, but only if you use usb-modeswitch as well (version 1.0.7 in my case). Usb-modeswitch makes no difference to Karmic, I haven't tried it on Lucid.

All of these modems still work perfectly on the .26, to .28 kernels, usually directly from the kernel without any assistance from 'modeswitch'.

Revision history for this message
Nightstrike2009 (damoshark2007) wrote :

I am using an Hauwei K3565 Rev2 Modem (Vodafone Mobile Connect - Western Europe Model) in 9.10 (Hard drive install) this didn't connect to the internet despite hardware wizard launching and appearing to connect, firefox could not load any pages up.

I have used Ubuntu 10.4 Alpha 2 and the same bug has happened again (Though this time was unter virtualisation with "Virtual Box".

I hope this bug i cleared up by the time Ubuntu 10.4LTS is launched as I will deter a lot of new users and current ones from using ubuntu especially if present in an LTS version. :-(

Revision history for this message
madbiologist (me-again) wrote :

@Nightstrike2009 - It sounds like you are experiencing a different bug. Please type lsusb in a terminal (while the modem is plugged in) and check if the id codes match those in the original description for this bug. If not, you should open a new bug report, particularly if the contents of your dmesg file do not match those in comment 7 of this bug.

If you open a new bug, please attach the output of lsusb and the contents of your dmesg file. Please also include which kernel version you are using, both in 9.10 and in 10.04 Alpha 2. You can find your kernel version by typing uname -srm in a terminal.

Revision history for this message
David Fraser (davidf) wrote :

@madbiologist: I have been trying to track this for the E220. My lsusb reads:
Bus 006 Device 007: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
dmesg repeatedly shows option: option_instat_callback: error -108
So since this is the same error, and the upstream bug is still linked to this report, should this be treated as the same bug or not?
It's unclear what needs to be done to clear this up for the E220 and whether anyone is working on this or it's being treated as solved because it's a different modem.

Also of interest is that the same modem works successfully on a friend's machine with the same kernel on karmic (2.6.31.17.30)

Revision history for this message
madbiologist (me-again) wrote :

@David Fraser - The launchpad bug report for the E220 is at bug #449394 and is probably a better place to work on this. Bug 446146 became too long and confusing a long time ago, even before the fix for the E169 (E620) was released.

The E220 bug report contains a link to an E220 firmware in comment 10. After upgrading their modem's firmware to the version available at this link, many people reported their E220s were now working. If you have a Vodafone branded modem you may want to use the firmware linked to in comment 24 of that bug instead. You may also need a 2.6.31-15 or later kernel, but you mentioned you are using 2.6.31-17 so you should be fine in that regard. There a few other workarounds/tricks among the various comments too. Also see comment 31 in that bug.

Unfortunately the upstream bug at http://bugzilla.kernel.org/show_bug.cgi?id=14499 which you referred to seems to have stalled, although perhaps that is due to the success of the firmware updates. It seems that Huawei's original firmware was not fully compliant with the USB specification set by the USB Implementers Forum (USB-IF). There is short page on the USB-IF at http://en.wikipedia.org/wiki/USB_Implementers_Forum if you interested.

>Also of interest is that the same modem works successfully on a friend's machine with the same kernel on karmic (2.6.31.17.30)

That is very interesting. When you say "the same modem", do you mean your E220, or does your friend also have an E220? The answer to that question should probably go into bug #449394. If it's your E220 behaving differently on the two different E220 machines, please include the output of dmesg from both machines along with your answer.

Revision history for this message
David Fraser (davidf) wrote :

@madbiologist: Brilliant, thanks for pointing me to the other bug. I've delinked this from the E220 upstream bug and added a comment to the description saying this bug does not apply to E220.
And yes, it was exactly the same modem (but I'll address that in the other bug)

description: updated
Revision history for this message
SP (samipp) wrote :

Updated my Huawei E220 FW to 11.117.10.02.00, now my 9.10 with kernel 2.6.31-17 shows modem first as a USB-drive. Ejected drive (not unmount) and it started to show as a modem like it should. Then just chose from NetworkManager Enable Mobile Network and opened my connection. "Zadamn" I am on internet with my Karmic. Just took me three months to get correct info to get on line. Thanks for everybody for their input. I highly recommend to upgrade FW to latest one you can find.

Big Thanks to madbiologist! You understood to write right instructions enabling me to solve this issue.

Revision history for this message
SP (samipp) wrote :

Works the same way with 2.6.31-18

Startup->
Eject Vodafone USB-drive
NetworkManager->Choose Network provider

Connection made!

Revision history for this message
madbiologist (me-again) wrote :

@Richard Wikberg - I'm sorry to hear that you are still having problems with your Huawei E169 (E620).

Could you please post the contents of your dmesg file here, along with the kernel version you are now using?

Please also include the output of lsusb, so that we don't have to scroll back to find it.

Does the sudo modprobe usbserial vendor=0x12d1 product=0x1001 workaround work for you? Note that after applying this workaround you may also need to manually set the DNS addresses.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Richard Wikberg,
       Additionally I am interested in whether or not you see your Huawei showing up as a usb drive. There have been reports that unmounting this enabled usage in the network manager.

I'd be interested in your testing in this regard.

-JFo

Revision history for this message
Ruben (rubenseclipse) wrote :

What is the official workaround if one installs from the Ubuntu 9.10 CD?

I have found so many different approaches on the net and it becomes overwhelmingly confusing. Worse still after trying a few of the recommendations that don't work one cannot know what is original in the config and what is old etc. if one is a new user.

This would be helpful for people who don't have access to other connections where something like running online updates becomes impossible without getting the E220 to work.

Having an official workaround would be great for users who can implement it and run update to get the latest fix.
Also if the official workaround is published here at least one can direct others with the same problem correctly.

Revision history for this message
David Fraser (davidf) wrote :

@Ruben (re #445) - The remaining bug with Huawei E220/E270 is bug #449394, not this bug, although your question is relevant to both

Revision history for this message
sly (slyboots1) wrote :

After upgrade to new kernel 2.6.31-19-generic problem still exist with my Huawei E220.

Revision history for this message
madbiologist (me-again) wrote :

@sly - That information would be more relevant and more useful to bug #449394. In that bug you will find some links to E220 firmware which have worked for many people - see my comment #439 in this (446146) bug.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Karmic):
status: Confirmed → Fix Released
Martin Pitt (pitti)
Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Changed in linux (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Bruno Cunha (brunoscunha) wrote :

With the latest kernel I still have to use sudo rmmod usb-storage to make the E220 work. This time I connected it, after 30 secs it shows up on the network devices. I try to connect, it connects, the connection drops and the E220 disappears from network devices.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Declined for all releases. Changed to Fix Released as the commit to fix Huawei Technologies Co., Ltd. E620 USB Modem from upstream is in the code for Lucid.

-JFo

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Also, If your hardware is not the same as the model mentioned above, it is likely that you are encountering a problem that is different from the one reported here. Please open a new bug and collect all apport logs for that particular issue.

Thanks!

-JFo

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Reopening karmic task. It's only in -proposed and needs verification. It'll be closed when it goes to -updates.

Changed in linux (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
madbiologist (me-again) wrote :

@SP - You might not need to eject the USB-drive anymore on Ubuntu 10.04 "Lucid Lynx". A new version (1.1.0-2) of usb-modeswitch was added to the Lucid repositories 5 days ago. I can't find the page anymore, but I read that this version has added support for several Huawei modems.

Revision history for this message
mahela007 (mahela007) wrote :

The issue doesn't seem to be their on the newest kernel version. 2.6.31-20. I successfully connected twice now.. I'll post back when I know more..

Revision history for this message
Suyog (suyog) wrote :

has this been fixed in latest Alpha release of 10.04? I am yet not able to connect to internet with Huawei EC1260 modem.
Really frustrating to see. why cant you just test and fix 3G modem issues? I am back on 9.04 where everything worked so well.
I am using Reliance Netconnect Broadband+ in India.

Revision history for this message
Suyog (suyog) wrote :

can you confirm if Huawei EC1260 works in latest Lucid Lynx build?

Revision history for this message
madbiologist (me-again) wrote :

@Suyog - You said "why can't you just test and fix 3G modem issues". The answer is that neither Canonical or the kernel developers at www.kernel.org have the money or time to purchase and test all of the different 3G modems on the market in all of the different countries in the world. However the good news is that Ubuntu is a community-based project. Ubuntu 10.04 "Lucid Lynx" is currently in it's testing phase, if you wish to participate you can download a Live CD of alpha 3 and try it with your EC1260 modem. If it does not work please open a new bug report and attach the contents of your dmesg file, and also include the output of lsusb and uname -srm

Revision history for this message
Roman Bolshakov (roolebo) wrote :

Yeah. I've tested e1550 just now and it's working. I can connect to MTS Russia successfully.

Revision history for this message
Martin Wildam (mwildam) wrote :

Just now means you tested with the most recent kernal update published a very few days ago?

Revision history for this message
mahela007 (mahela007) wrote :

The bug hasn't been fixed in kernel 2.6.31-20.

Revision history for this message
Roman Bolshakov (roolebo) wrote :

@Martin Wildam: Here is need explained answer, so let me describe my short story. I bought my first 3g modem in the last December. Network Manager detected it without any problems. Then I used it often for a couple of week.

It started to work anyhow after some time. Sometimes it was detected after reboot, sometimes on specific usb port. The modem even was not always detectable.

Then I didn't use it more than a month. I checked it recently, now the modem is detected from any USB port.

Revision history for this message
Carl Englund (englundc) wrote :

Using a fully updated Karmic (amd64) and kernel 2.6.31-20, I'm having lots of trouble getting my E169 to connect to the network, and often it only stays connected for a minute or two.

Revision history for this message
Martin Wildam (mwildam) wrote :

@Carl: Are you sure it is a E169? - Does it show up as such on the lsusb command?

@Roman:
I had no problems under 9.04 with my E160G. Then problems began with 9.10. However, I noticed that my E160G showed up as E220/E270 on the lsusb command. Some of them were similar to your problems. If varied for me depending on the kernel I tested. I also applied a firmware upgrade for my modem which improved the situation for me but not completely solve problems. However, with some of the last kernel updates officially released (I am currently using "2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686 GNU/Linux") my problems seem to be completely gone even if I still can see the icon on the desktop (that never appeared on 9.04).

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Well, my E1692 still doesn't work. It never gets switched to "modem mode", so the output of lsusb is:
Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)

It should show 140C instead of 1446 if it had switched modes correctly. This on karmic x86_64, with kernel 2.6.31-20-generic. On my netbook, with 2.6.31-20-lpia, I put my own udev rules, and am using Huawei's HWActivator to switch it into modem mode. Like that it works.

Revision history for this message
Martin Wildam (mwildam) wrote :

@Jose:
Can you please file a separate bug (if you didn't already) for E1692 / E1552 with that description. And please post a link to the new bug for all those who want to follow that.

Revision history for this message
girts (girtsz) wrote :

Important!!!!!

People please update modem firmware and software on them. After I updated with latest HUAWEI E220 modem firmware and software from my provider all started working fine!!!!
I believe that I have found problem and this is modem firmware problem!!!!!!
Please check firmwares and software's in your provider home pages!!
I have downloaded my ISP LMT latest firmware and latest firmware added 7.2Mb/s bandwidth and solved problem which as all see is still but bug is not in Linux distributions, kernels!!!!

girts (girtsz)
Changed in linux (Ubuntu Karmic):
status: Fix Committed → Invalid
Steve Langasek (vorlon)
Changed in linux (Ubuntu Karmic):
status: Invalid → Fix Committed
Revision history for this message
Martin Wildam (mwildam) wrote : Re: [Bug 446146] Re: Several Huawei USB dongle don't work with kernel 2.6.31-12.40 (2.6.31.1 update related)

On Thu, Mar 18, 2010 at 19:58, girts <email address hidden> wrote:
> Important!!!!!
> People please update modem firmware and software on them. After I updated with latest HUAWEI
> E220 modem firmware and software from my provider all started working fine!!!!

I can confirm this - had the same experience - but:
1. I needed to get my modem and software installed on a Windows box.
No firmware update option from within Linux. So it took me a while to
get to a Windows box that I could install that stuff on.

2. The Windows driver Software seemed to work even with the old buggy
version. So somehow I guess that there must be a possibility for a
workaround.

Of course, updating the firmware should be the first choice.
--
Martin Wildam

Home: http://sites.google.com/site/mwildam/
Life Hack Blog: http://1-2-solved.blogspot.com
IT Blog: http://it-tactics.blogspot.com

Revision history for this message
Martin Wildam (mwildam) wrote :

I have extra bought a second different modem (besides for backup also to help testing) FYI: Again issues on 10.4 beta 2. While my E220 and (the new fresh bought) E620 (in lsusb, officially it's the E1552) work on 9.10, on 10.04 beta 2 the latter (E620 / E1552) does not work - see https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/561051 . This is getting annoying.

Revision history for this message
Nicholas Christian Langkjær Ipsen (ncli) wrote :

Get a Huawei E5, it doesn't need a driver, just a working WiFi connection.
That's what I did.

Nicholas Ipsen

Revision history for this message
girts (girtsz) wrote :

Martin Wildam wrote on 2010-04-11:

Martin ask your ISP to give you latest firmware and software updates for modems. I don't trust firmwares which are available for download under HUAWEI site.

If you upgrade firmware and software then under Vista and 7 you must see your modem and there must be possible to see all files under modem. If you cannot see files in Vista, 7 then filesystem is broken and there will be problems in Ubuntu 9.10 and other distributions where was seen problem with HUAWEI modems.

Revision history for this message
Martin Wildam (mwildam) wrote :

@girts: I can try that (if the support member I get is able to do so - I have faced really stupid people there already). - Anyway, both modems I have (different providers and different modem) work on Ubuntu 9.10. So that they don't work on 10.04 is definitely a regression. And BTW: Do you assume that the normal user will upgrade firmwares? BTW: In VirtualBox it does not work (even the USB enabled version can't cope with the Huawei-Modem) and I need to get to a real Windows PC where I can install on - possible but not in near reach.

Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Martin Pitt (pitti)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
effetto (effetto-deactivatedaccount) wrote :

This bug is alive.

Upgraded from Jaunty.
Modem: E1750, Italy, 3 (H3G)
Kernel: 2.6.31-21-generic
Network-manager: vanilla Karmic (0.799...) and 0.8 from PPA

lsusb returns:
Bus 001 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

I omit the dmesg for brevity.

Revision history for this message
Martin Wildam (mwildam) wrote :

@effetto: Do you have usb-modeswitch installed?
Lucid + all updates + usb-modeswitch (although fresh installation) solved the problem for me in a 1552 case. Please see also Bug #561051

Andy Whitcroft (apw)
Changed in linux (Ubuntu Karmic):
assignee: Andy Whitcroft (apw) → nobody
Revision history for this message
panoet (panoet-h) wrote :

I'm running Ubuntu Lucid, and this bug still happens on my E220. Has Ubuntu going to fix this?

Revision history for this message
madbiologist (me-again) wrote :

panoet - You've commented in the wrong bug. The bug for the Huawei E220 is bug #449394. In that bug you will find some links to E220 firmware which have worked for many people - see my comment #439 in this (446146) bug. Also see comments #466 and #467 this (446146) bug.

BDenis (borenko)
description: updated
Changed in linux:
importance: Unknown → Medium
Revision history for this message
Leann Ogasawara (leannogasawara) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie karmic. The bug task representing the karmic nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Won't Fix
Revision history for this message
bing_bing13 (wonderful87643) wrote :

HUAWEI SD Storage USB Device driver manufacturer is (Standard disk drives) and developed by Microsoft in the database contains 20 versions of the HUAWEI SD Storage USB Device matches the hardware GenDisk.HUAWEI SD Storage USB Device compatible with 2 hardwares driver contains 1 binary files, You can Download the latest drivers for your HUAWEI SD Storage USB Device.http://www.binarydb.com/driver/HUAWEI-SD-Storage-USB-Device-635.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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