huawei e161 3.5g usb modem not working

Bug #414458 reported by yahhayu on 2009-08-16
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Low
Unassigned

Bug Description

Huawei e161 3.5g usb modem has two feature,mass storage and modem.But the default identity ubuntu give is usb-storage.In ubuntu 9.04(2.8.11-13),I usb command:"rmmod usb-storage"and then "modprobe usbserial vendor=0x12d1 product=0x1446".
Then I get "/dev/ttyUSB0" and "/dev/tty/USB1".And then....not working...wvidialconf...no modem founded...install usb-modeswitch package...not working again.So?Help....

kernel-janitor (kernel-janitor) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue.

If this bug really is a bug in the linux-meta package you can move it back to linux-meta and set the Status to Confirmed, or contact us on the #ubuntu-kernel channel on the FreeNode IRC server. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Sebastian (fritsch-sebastian) wrote :

As described in http://forum.ubuntuusers.de/topic/huawei-e161-wird-nicht-als-usb-modem-erkannt/#post-2184715, the following was an excellent solution for Ubuntu 9.04.

1) install package udev-extras
2) add file /etc/udev/rules.d/15-huawei-e1550.rules containing

SUBSYSTEM=="usb",
SYSFS{idProduct}=="1446",
SYSFS{idVendor}=="12d1",
RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"

Next you can add a standard mobile broadband connection and connect as expected.

Jeremy Foshee (jeremyfoshee) wrote :

Hi yahhayu,

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

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

apport-collect -p linux 414458

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

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Andrew Liu (andrewliu33) wrote :

This is how I make it worksin Ubuntu 10.04 Beta 2

1. apt-get install udev
2. add this to /lib/udev/rules.d/61-option-modem-modeswitch.rules
    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"

The problem here is that id 12d1:1446 is not on the modem-modeswitch list. It was on the list in 9.10, however, it disappeared in 10.04.

aexl (aexl) wrote :

i can confirm that #4 patch of andrew liu works in the following sense:

# before applying the patch:
$ lsusb
Bus 001 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd.

# after applying the patch and re-insert:
$ lsusb
Bus 001 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

further research to come.

Jonathan Davies (jpds) on 2010-06-07
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Jonathan Davies (jpds) wrote :

echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | sudo tee /etc/udev/rules.d/45-huawei1550.rules

Fixes the issue on a system.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Peter Antoniac (pan1nx) wrote :

Another simple fix, for those that don't want to change the udev rules (because they might be fixed on the next update) is to use those commands:

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

Hope it helps until a more standard update is coming...

Peter Antoniac (pan1nx) wrote :

Ah, you need to change the product id to fit your modem. For me, although is e160e is 12d1:1003 when I use lsusb. Good luck...

Changed in linux (Ubuntu):
importance: Undecided → Low

Had the issue on Ubuntu 11.10. The fix in post #6 solved the issue.

yahhayu, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

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

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

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers