Huawei E122 USB Stick not recognized in Ubuntu 16.04

Bug #1607001 reported by Wolf Rogner
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Medium
Unassigned
usb-modeswitch (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The Huawei Mobile HSPA USB Modem E122 is does not connect and is not recognized in Ubuntu 16.04:

Jul 27 19:18:48 mbr kernel: [144550.021251] usb 3-1: new high-speed USB device n
umber 17 using xhci_hcd
Jul 27 19:18:48 mbr kernel: [144550.149990] usb 3-1: New USB device found, idVen
dor=12d1, idProduct=1446
Jul 27 19:18:48 mbr kernel: [144550.150007] usb 3-1: New USB device strings: Mfr
=1, Product=7, SerialNumber=0
Jul 27 19:18:48 mbr kernel: [144550.150010] usb 3-1: Product: Huawei Mobile
Jul 27 19:18:48 mbr kernel: [144550.150013] usb 3-1: Manufacturer: HUA WEI
Jul 27 19:18:48 mbr kernel: [144550.150219] usb 3-1: ep 0x83 - rounding interval
 to 128 microframes, ep desc says 255 microframes
Jul 27 19:18:48 mbr kernel: [144550.150228] usb 3-1: ep 0x3 - rounding interval
to 128 microframes, ep desc says 255 microframes
Jul 27 19:18:48 mbr kernel: [144550.150235] usb 3-1: ep 0x82 - rounding interval
 to 128 microframes, ep desc says 255 microframes
Jul 27 19:18:48 mbr kernel: [144550.150242] usb 3-1: ep 0x2 - rounding interval
to 128 microframes, ep desc says 255 microframes
Jul 27 19:18:48 mbr kernel: [144550.150612] usb-storage 3-1:1.0: USB Mass Storage device detected
Jul 27 19:18:48 mbr kernel: [144550.150895] scsi host28: usb-storage 3-1:1.0
Jul 27 19:18:48 mbr kernel: [144550.151334] usb-storage 3-1:1.1: USB Mass Storage device detected
Jul 27 19:18:48 mbr kernel: [144550.151578] scsi host29: usb-storage 3-1:1.1
Jul 27 19:18:48 mbr mtp-probe: checking bus 3, device 17: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Jul 27 19:18:48 mbr mtp-probe: bus: 3, device: 17 was not an MTP device
Jul 27 19:18:48 mbr systemd[1]: Starting USB_ModeSwitch_3-1:1.0...
Jul 27 19:18:48 mbr usb_modeswitch_dispatcher[27825]: Could not read attribute: No such file or directory
Jul 27 19:18:49 mbr kernel: [144551.150218] scsi 28:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jul 27 19:18:49 mbr kernel: [144551.150252] scsi 29:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
Jul 27 19:18:49 mbr kernel: [144551.150978] sd 29:0:0:0: Attached scsi generic sg1 type 0
Jul 27 19:18:49 mbr kernel: [144551.152045] sd 29:0:0:0: [sdb] Attached SCSI removable disk
Jul 27 19:18:49 mbr kernel: [144551.152095] sr 28:0:0:0: [sr0] scsi-1 drive
Jul 27 19:18:49 mbr kernel: [144551.152434] sr 28:0:0:0: Attached scsi CD-ROM sr0
Jul 27 19:18:49 mbr kernel: [144551.152647] sr 28:0:0:0: Attached scsi generic sg2 type 5
Jul 27 19:18:48 mbr usb_modeswitch_dispatcher[27825]: message repeated 3 times: [ Could not read attribute: No such file or directory]
Jul 27 19:18:49 mbr usb_modeswitch: switch device 12d1:1446 on 003/017
Jul 27 19:18:50 mbr usb_modeswitch_dispatcher[27825]: Could not read attribute: No such file or directory
Jul 27 19:18:50 mbr usb_modeswitch[27825]: usb_modeswitch: switched to 12d1:1446 on 3/17
Jul 27 19:18:51 mbr usb_modeswitch_dispatcher[27825]: Unable to open bind list file: No such file or directory
Jul 27 19:18:51 mbr usb_modeswitch[27825]: usb_modeswitch: add device ID 12d1:1446 to driver option
Jul 27 19:18:51 mbr usb_modeswitch[27825]: usb_modeswitch: please report the device ID to the Linux USB developers!
Jul 27 19:18:52 mbr gnome-session[16695]: (gnome-software:16875): Gs-WARNING **: failed to get updates: no results to show
Jul 27 19:18:58 mbr systemd[1]: Started USB_ModeSwitch_3-1:1.0.

Device ID 12d1:1446

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: usb-modeswitch 2.2.5+repack0-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset wl nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jul 27 19:19:51 2016
InstallationDate: Installed on 2013-05-17 (1166 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64+mac (20130424)
SourcePackage: usb-modeswitch
UpgradeStatus: Upgraded to xenial on 2016-04-22 (95 days ago)

Revision history for this message
Wolf Rogner (war-rsb) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in usb-modeswitch (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

I have Huawei E1550 on Ubuntu 16.04 LTS.
Bus 003 Device 006: ID 12d1:1446 Huawei Technologies Co., Ltd. Broadband stick (modem on)

In syslog I have:

Oct 9 14:25:47 u1604-jfv60 kernel: [ 492.899483] usb 3-2: new full-speed USB device number 7 using xhci_hcd
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.099297] usb 3-2: New USB device found, idVendor=12d1, idProduct=1446
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.099307] usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.099312] usb 3-2: Product: HUAWEI Mobile
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.099317] usb 3-2: Manufacturer: HUAWEI Technology
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.105662] usb-storage 3-2:1.0: USB Mass Storage device detected
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.105923] scsi host15: usb-storage 3-2:1.0
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.106247] usb-storage 3-2:1.1: USB Mass Storage device detected
Oct 9 14:25:47 u1604-jfv60 kernel: [ 493.106447] scsi host16: usb-storage 3-2:1.1
Oct 9 14:25:47 u1604-jfv60 mtp-probe: checking bus 3, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Oct 9 14:25:47 u1604-jfv60 mtp-probe: bus: 3, device: 7 was not an MTP device
Oct 9 14:25:48 u1604-jfv60 systemd[1]: Starting USB_ModeSwitch_3-2:1.0...
Oct 9 14:25:48 u1604-jfv60 usb_modeswitch_dispatcher[2693]: Could not read attribute: No such file or directory
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.108053] scsi 16:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.109269] sd 16:0:0:0: Attached scsi generic sg3 type 0
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.110989] scsi 15:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.121849] sd 16:0:0:0: [sdd] Attached SCSI removable disk
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.125106] sr 15:0:0:0: [sr0] scsi-1 drive
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.125463] sr 15:0:0:0: Attached scsi CD-ROM sr0
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.125668] sr 15:0:0:0: Attached scsi generic sg4 type 5
Oct 9 14:25:48 u1604-jfv60 kernel: [ 494.245860] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 6 ep 2 with no TDs queued?
Oct 9 14:25:48 u1604-jfv60 usb_modeswitch_dispatcher[2693]: message repeated 3 times: [ Could not read attribute: No such file or directory]
Oct 9 14:25:49 u1604-jfv60 usb_modeswitch: switch device 12d1:1446 on 003/007
Oct 9 14:25:50 u1604-jfv60 usb_modeswitch_dispatcher[2693]: Could not read attribute: No such file or directory
Oct 9 14:25:50 u1604-jfv60 usb_modeswitch[2693]: usb_modeswitch: switched to 12d1:1446 on 3/7
Oct 9 14:25:51 u1604-jfv60 usb_modeswitch_dispatcher[2693]: Unable to open bind list file: No such file or directory
Oct 9 14:25:51 u1604-jfv60 usb_modeswitch[2693]: usb_modeswitch: add device ID 12d1:1446 to driver option
Oct 9 14:25:51 u1604-jfv60 usb_modeswitch[2693]: usb_modeswitch: please report the device ID to the Linux USB developers!
Oct 9 14:25:58 u1604-jfv60 systemd[1]: Started USB_ModeSwitch_3-2:1.0.

Modem does not connect to 3G network.

tags: removed: amd64 third-party-packages
Revision history for this message
Norbert (nrbrtx) wrote :

Seems to be fixed by this thread ( http://forum.ubuntu-it.org/viewtopic.php?f=9&t=610274#p4875474 ):

added the following to /lib/udev/rules.d/40-usb_modeswitch.rules
  # Huawei, newer modems
  ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="usb_modeswitch '%b/%k'"

and
  sudo service udev restart

Changed in usb-modeswitch (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I've backported usb-modeswitch 2.4 and usb-modeswich-data 2017-01 from Ubuntu 17.04 (Zesty) to 16.04 LTS (Xenial), you can update packages from ppa:baltix-members , see
https://launchpad.net/~baltix-members/+archive

Please reboot after installing usb-modeswitch 2.4 and usb-modeswich-data 2017-01 from ppa:baltix-members , test if your USB modem works correctly with updated packages and write a comment here in any case (works or not).

Thanks,
Mantas Kriaučiūnas
Developer of Baltix GNU/Linux Ubuntu derivative

Revision history for this message
Paul White (paulw2u) wrote :

Further to comment #5, nothing has been added here for almost four years. The currently supported releases of Ubuntu include either version 2.5.2 or 2.6.1 of usb-modeswitch so the reported issue should have been fixed for all releases from 17.04 and later.

Changed in hundredpapercuts:
status: Confirmed → Fix Released
Changed in usb-modeswitch (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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