0

我有 3.2.27 Linux 内核和Busybox. 我正在使用Raspberry PI. 当我插入我的华为 E303c dmesg 显示

[    4.569781] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[    4.681078] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14fe
[    4.690885] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[    4.701143] usb 1-1.2: Product: HUAWEI Mobile
[    4.708326] usb 1-1.2: Manufacturer: HUAWEI
[    4.718185] scsi0 : usb-storage 1-1.2:1.0
[    4.726518] scsi1 : usb-storage 1-1.2:1.1
[    5.720951] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[    5.738561] scsi 1:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
[    5.755514] sd 1:0:0:0: [sda] Attached SCSI removable disk

选项内核模块已在运行,但 usb-storage 模块未运行。但是当我输入 usb_modeswitch -v 0x12d1 -p 0x14fe -H 它就像挂起

Looking for default devices ...
 Found default devices (1)
Accessing device 002 on bus 002 ...
Using endpoints 0x04 (out) and 0x83 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

谁能给我一个解决方案,

4

1 回答 1

3

这解决了我的问题

usb_modeswitch -c /etc/usb_modeswitch.conf -W -I

modprobe option
modprobe ppp_generic

我的 /etc/usb_modeswitch.conf 看起来像

# Huawei E303c
DefaultVendor= 0x12d1
DefaultProduct=0x14fe

TargetVendor=  0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,14ac,1506"

CheckSuccess=20

MessageEndpoint= 0x01
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
于 2013-05-30T13:42:31.520 回答