lsusb的输出:
Bus 002 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd.lsusb -vd 12d1:1506的最后几行代码:
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)usb-devices的输出:
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev=01.02
S: Manufacturer=HUAWEI
S: Product=HUAWEI Mobile
C: #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=03 Prot=01 Driver=(none)
I: If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=03 Prot=16 Driver=option
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=03 Prot=03 Driver=option
I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=03 Prot=02 Driver=option
I: If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I: If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storagedmesg | grep -i usb的最后几行代码:
[ 3991.284770] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 3991.285411] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 3991.285747] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 3991.286076] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB3
[ 3992.745243] usb-storage: device scan complete
[ 3992.745250] usb-storage: device scan complete
[15831.942156] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0我安装了"usb_modeswitch“版本1.1.0
"/etc/usb_modeswitch.d/12d1:1506“文件的内容如下
enter code hereDefaultVendor= 0x12d1
DefaultProduct=0x1506
MessageContent="55534243f066fe892400000080000612000000240000000000000000000000“TargetVendor= 0x12d1 TargetProduct=0x1506
enter code here发布于 2014-10-16 14:12:22
您需要安装usb_除模器
若要将设备从存储切换到调制解调器模式,请执行以下操作。一旦下一次用当前版本(这不是Ubuntu存储库中的版本,但可能仍然有效),它就会识别出您的设备。如果没有,我将翻译http://wiki.ubuntuusers.de/USB_模式开关#华为-棒,因为我没有找到这个的英文版本。
https://askubuntu.com/questions/537797
复制相似问题