Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
tdquek
Posts: 3
Joined: 15 Dec 2016, 15:37

Please support Huawei E372

Post by tdquek » 15 Dec 2016, 16:57

Please support the Huawei E372 mobile broadband modem dongle.
Currently not listed in http://www.draisberghof.de/usb_modeswit ... erence.txt, nor in https://www.freedesktop.org/wiki/Softwa ... edDevices/. There is a (yellow) mention that "Other Huawei devices ... Will probably work".

The experience is that in Ubuntu, releases 16.04 (and before), (after some possible rebootings), this device was recognized (though maybe not as E372), in nm-applet I could click to "connect" (activate), and it connected successfully, ping worked. (In 3G mode. As far as I know, this is not 4G capable.)
But in Ubuntu 16.10 it is no longer recognized. As I understand, not even mode-switched. (What happened?)

After some internet-searching I tried the advice (containing 'MessageContent="55534243123456780000000000000011062000000100000000000000000000"') on page http://askubuntu.com/questions/294249/h ... sconnected
and surprisingly it helped! Despite the difference in model (EC156 != E372).

Perhaps the first question is that is the "55534243123456780000000000000011062000000100000000000000000000" the proper string? Could it be better?

(If "you" cannot do anything and it is me who have to find a win* machine and ask some person to allow usb-sniffing, then.. let me know :) :(

I attach a modemmanager log. (I stopped then started network- and modemmanager, plugged in the dongle, issued the

Code: Select all

sudo usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1:1505
, and later clicked in the nm-applet to connect.)
Attachments
mmlog.zip
(21.85 KiB) Downloaded 395 times

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Please support Huawei E372

Post by Josh » 15 Dec 2016, 17:49

The "device reference" is no longer maintained. To check if your device is supported, have a look into the source package of the current "usb-modeswitch-data" (see main page), subfolder "usb_modeswitch.d".

Check the USB IDs, not the model names!

To check if your own distribution supports your USB ID, look into "/usr/share/usb-modeswitch".
There you'll find either a list of configurations with a name referring to the USB ID, or a tar package containing those config files.

tdquek
Posts: 3
Joined: 15 Dec 2016, 15:37

Re: Please support Huawei E372

Post by tdquek » 19 Dec 2016, 14:21

Okay, in /usr/share/usb_modeswitch there is a configPack.tar.gz, which contains a "12d1:1505" file, which contains "Huawei E372u-8".
And manually modeswitching *works*. Even with simply "usb_modeswitch -v12d1 -p1505 -J".

So I cannot say that E372 is "unsupported".
(You can close this topic.)

(But *no* automatic switching happens...)

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Please support Huawei E372

Post by Josh » 19 Dec 2016, 21:03

tdquek wrote:(But *no* automatic switching happens...)
That is likely a problem of the Ubuntu fork of usb-modeswitch. They decided to re-write the dispatcher code (which is responsible for the automatism).

You should be able to install the latest version from source though if you pre-install the package "tcl" first.

Post Reply