Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
sbe
Posts: 2
Joined: 26 Nov 2018, 10:14

Huawei E372 not switching

Post by sbe » 26 Nov 2018, 10:24

Hi,

not sure if I missed anything, but I cannot find the answer on the forums / or google.

I have a Huawei E372 on a Raspberry with Raspbian.
Usb_modeswitch 2.5.0

lsusb:

Code: Select all

Bus 001 Device 007: ID 12d1:14c6 Huawei Technologies Co., Ltd. 
--> Seems that it hasn't switched

dmesg | grep 2d

Code: Select all

[    6.564263] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14c1
[   14.223964] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14c6
[27446.923842] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14c1
[27454.604163] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14c6
--> Seems that it has switched from 14c1 to 14c6

When I try to switch manually from 14c1 it fails, obviously it's already been done:

Code: Select all

$ sudo usb_modeswitch -v 12d1 -p 14c1 -V 12d1 -P 14c6 -R -W -J
Take all parameters from the command line


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

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x14c1
TargetVendor=   0x12d1
TargetProduct=  0x14c6
HuaweiNewMode=1

Look for target devices ...
  found USB ID 12d1:14c6
   vendor ID matched
   product ID matched
  found USB ID 0424:ec00
  found USB ID 0424:9514
  found USB ID 1d6b:0002
 Found devices in target mode or class (1)
Look for default devices ...
  found USB ID 12d1:14c6
   vendor ID matched
  found USB ID 0424:ec00
  found USB ID 0424:9514
  found USB ID 1d6b:0002
 No devices in default mode found. Nothing to do. Bye!
So it seems that it has already switched, but it is still recognized as a simple usd storage.
Do you have any idea ? Should I use a different dongle ?

thanks

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Huawei E372 not switching

Post by LOM » 26 Nov 2018, 12:36

sbe wrote: So it seems that it has already switched, but it is still recognized as a simple usd storage.
Yes it has already switched so the topic header is wrong.
12d1:14c6 has more interfaces than the storage interface so if you jump to the place in your dmesg which you grepped and read onward from there then you'll see the other interfaces and the drivers being loaded for them.

sbe
Posts: 2
Joined: 26 Nov 2018, 10:14

Re: Huawei E372 not switching

Post by sbe » 27 Nov 2018, 01:37

ok then this is strange, as lsusb still returns:

Code: Select all

Bus 001 Device 007: ID 12d1:14c6 Huawei Technologies Co., Ltd.
Even after unplugging - plugging the dongle, or rebooting

As I'm not able to make it connect to internet, I was guessing that the switch was not made properly. I'll investigate further.

thank you for your help

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

Re: Huawei E372 not switching

Post by Josh » 29 Nov 2018, 00:09

It's probably due to some drivers (or driver<-->id associations) missing.

Post Reply