3G上网卡识别问题
我在friendArm的2440, 识别不出一款3G上网终端的老版本( 新版本能够识别),dmesg的信息如下(不停重复)
4: USB disconnect, address 71
usb 1-1.6: new full speed USB device using s3c2410-ohci and address 72
usb 1-1.6: New USB device found, idVendor=12d1, idProduct=1d50
usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.6: Product: HUAWEI Mobile System Solution
usb 1-1.6: Manufacturer: HUAWEI Mobile
usb 1-1.6: SerialNumber: 000000-00-0000000
usb 1-1.6: configuration #1 chosen from 3 choices
usb 1-1.6: usbfs: process 1228 (usb_modeswitch3) did not claim interface 0 before use
usb 1-1.6: USB disconnect, address 72
usb 1-1.4: new full speed USB device using s3c2410-ohci and address 73
usb 1-1.4: New USB device found, idVendor=12d1, idProduct=1d50
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4: Product: HUAWEI Mobile System Solution
usb 1-1.4: Manufacturer: HUAWEI Mobile
usb 1-1.4: SerialNumber: 000000-00-0000000
usb 1-1.4: configuration #1 chosen from 3 choices
usb 1-1.4: usbfs: process 1237 (usb_modeswitch3) did not claim interface 0 before use
usb 1-1.4: USB disconnect, address 73
执行usb_modeswitch后,打印如下:
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor=0x12d1
DefaultProduct= 0x1d50
TargetVendor= 0x12d1
TargetProduct=0x1d50
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint=not set
MessageContent="55534243000000000000000000000011063000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
Looking for target devices ...
searching devices, found USB ID 050d:0237
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 050d:0237
searching devices, found USB ID 1d6b:0001
No devices in default mode found. Nothing to do. Bye.
请问下这个的解决思路?
兄弟,你是不是也在调试ET302? 我这边也有一块,调试不出来。TD的资料太少了,也不知道是什么个驱动原理 我在Ubuntu上debug了一下,发现这款3G卡的驱动类型是CDC-MLDM,现在正准备开启GADGET宏编译一下,看能否用这个驱动来支持该卡,大家有什么进展吗? #HUAWEI ET302 12d1:1d50
你试试:
usb_modeswitch -I -W -D -s 20 -v 0x12d1 -p 0x1d50 -u 2
这样串口的设备节点就出来了。
回复 4# androidfried1
这位兄弟,我现在就是切换配置文件没问题,但是这卡的驱动就是挂不到节点上去。
C:* #Ifs= 6 Cfg#= 2 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=(none) ====》这里应该是cdc_acm或者其他驱动
I:* If#= 1 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=0a Prot=00 Driver=(none) =====》同上
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none) =====》这里应该是usb_storage的驱动
E:Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=09 Prot=01 Driver=(none)
I:* If#= 4 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=09 Prot=01 Driver=(none)
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
关键是这张卡不知道为什么一个驱动都没有加载成功,内核是2.6.31的,我今天看见usb/class/cdc_acm到3.3版本经过了很多次修改。不知道是否新内核是否支持该卡。
页:
[1]