I can't reset it easily by unplugging it because it is located in a place that is far away from my working place. Every day, the computer reboots (unattend mode) in order to reset the connection if necessary. But I still experience modem malfunction.
When reseting modem manually (on another computer using MacOS e.g.), everything works again... for some time.
So I use usb_modeswitch command (v2.5.1) :
Code: Select all
$ sudo /usr/sbin/usb_modeswitch -W -v 12d1 -p 1506 -J
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.1 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1506
HuaweiNewMode=1
Look for default devices ...
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 12d1:1506
vendor ID matched
product ID matched
found USB ID 1d6b:0001
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 003 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
Code: Select all
-X
I have little experience on 4G modem so what command should I use to put my modem in a state where it does not work (to check that the usb_modeswitch parameter I use is correct).
Are there such commands (to make to modem fail to work) ?
And is the "interface class is 255, expected 8" message normal ?
As a file attachment, I put the following output:
Code: Select all
lsusb -vd 12d1:1506
Code: Select all
usb_modeswitch -W -v 12d1 -p 1506 -H