![华为 E3372h usb_modeswitch](https://linux22.com/image/10135/%E5%8D%8E%E4%B8%BA%20E3372h%20usb_modeswitch.png)
我想将我的华为 E3372h-153 从 HiLink/路由器模式切换到 Stick/调制解调器模式。我使用 Raspberry Pi (Raspbian) 和 usb_modeswitch 工具。
我切换设备的命令:
usb_modeswitch -V 12d1 -v 12d1 -P 1f01 -p14dc
这是我的输出:
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 010 on bus 001
Current configuration number is 1
Use interface number 0
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI_MOBILE
Product: HUAWEI_MOBILE
Serial No.: not provided
-------------------------
Warning: no switching method given. See documentation
-> Run lsusb to note any changes. Bye!
lsusb 输出与以前相同:
Bus 001 Device 010: ID 12d1:14dc Huawei Technologies Co., Ltd.
所以我必须找出问题所在。我搜索了“没有给出切换方法”,但我不知道该怎么办。 usb_modeswtich --help 返回此行,也许我需要将其添加到我的命令中?
-H, --huawei-mode apply a special procedure
所以我的新命令:
usb_modeswitch -V 12d1 -v 12d1 -P 1f01 -p14dc -H -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
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x14dc
TargetVendor= 0x12d1
TargetProduct= 0x1f01
HuaweiMode=1
NeedResponse=0
Look for target devices ...
found USB ID 12d1:14dc
vendor ID matched
found USB ID 050d:705a
found USB ID 0424:ec00
found USB ID 0424:9514
found USB ID 1d6b:0002
No devices in target mode or class found
Look for default devices ...
found USB ID 12d1:14dc
vendor ID matched
product ID matched
found USB ID 050d:705a
found USB ID 0424:ec00
found USB ID 0424:9514
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 012 on bus 001
Current configuration number is 1
Use interface number 0
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI_MOBILE
Product: HUAWEI_MOBILE
Serial No.: not provided
-------------------------
Send old Huawei control message ...
-> Run lsusb to note any changes. Bye!
不幸的是,lsusb 返回相同的结果:
Bus 001 Device 012: ID 12d1:14dc Huawei Technologies Co., Ltd.
有没有切换华为模式的提示?