Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
Posts: 1
Joined: Sat Dec 06, 2014 5:39 pm

huawei E3276 Ubuntu 14.04

Post by deejay1 » Sat Dec 06, 2014 5:45 pm


Once I downloaded usb mode switch 2.2 from the utopic repository ( ... modeswitch) I managed to get that LTE dongle working.
It didn't work out of the box though.

Info about how I got this to work:
1. insert dongle

Code: Select all

Bus 003 Device 003: ID 12d1:14fe Huawei Technologies Co., Ltd. Modem (Mass Storage Mode)
3. run #

Code: Select all

usb_modeswitch -v 12d1 -p 14fe -J -R -W
Take all parameters from the command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.2.0 (C) Josua Dietze 2014
 * Based on libusb1/libusbx


DefaultVendor=  0x12d1
DefaultProduct= 0x14fe

Look for default devices ...
  found USB ID 8087:8000
  found USB ID 1d6b:0002
  found USB ID 0c45:64d0
  found USB ID 8087:8008
  found USB ID 1d6b:0002
  found USB ID 1d6b:0003
  found USB ID 12d1:14fe
   vendor ID matched
   product ID matched
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 003 on bus 003
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
Using standard Huawei switching message
Looking for active driver ...
 No active driver found. Detached before or never attached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
libusbx: error [op_clear_halt] clear_halt failed error -1 errno 71
 Could not reset endpoint (probably harmless): -99
 Device is gone, skip any further commands
Device handle empty, skip USB reset
-> Run lsusb to note any changes. Bye!
4. run lsusb again

Code: Select all

Bus 003 Device 004: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcar
5. use networkmanager/modemmanager to set up the connection

Site Admin
Posts: 6557
Joined: Sat Nov 03, 2007 12:30 am

Re: huawei E3276 Ubuntu 14.04

Post by Josh » Sun Dec 14, 2014 8:15 pm

It looks like the only difference to the default setup for this device is the additional reset with the -R parameter.

You can achieve this automatically if you copy the file "/usr/share/usb_modeswitch/12d1:14fe" to the folder "/etc/usb_modeswitch.d", then edit it and add the line "ResetUSB=1".

From then on, the config file in /etc/usb_modeswitch.d is prefererred during the automatic mode switch.

The cause of your problem may be hardware- or host-driver-related though.

Posts: 44
Joined: Mon Jan 17, 2011 8:49 pm
Location: Trondheim, Norway

Re: huawei E3276 Ubuntu 14.04

Post by mkotsbak » Sun Jan 04, 2015 9:56 pm

@deejay1, please help getting backported packages available for the Ubuntu LTS by running the tests in these bug reports: ... ug/1407429 ... ug/1407431

Post Reply