求助:ubuntu下使用华为ET302 3G网卡
系统是ubuntu10.04
试图使用usb_modeswitch将网卡转换为modem模式,但一直不成功,求高手指点
root@ubuntu-lyh:~# lsusb
Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 12d1:1d50 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@ubuntu-lyh:~# usb_modeswitch -v 12d1 -p 1d50 -c /usr/share/usb_modeswitch/12d1:1d50
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
found matching product ID
Found device in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using interface number 0
Ambiguous Class/InterfaceClass: 0x02/0x08
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mobile CMCC CD
Revision String: 1.00
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Mobile
Product: HUAWEI Mobile System Solution
Serial No.: 000000-00-0000000
-------------------------
Changing configuration to 2 ...
OK, configuration set
Getting the current device configuration ...
OK, got current device configuration (1)
Changing the configuration has failed
-> Run lsusb to note any changes. Bye.
root@ubuntu-lyh:~# lsusb
Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 12d1:1d50 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@ubuntu-lyh:~# usb_modeswitch -v 12d1 -p 1d50 -c /usr/share/usb_modeswitch/12d1:1d50
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
found matching product ID
Found device in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (2)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Mobile
Product: HUAWEI Mobile System Solution
Serial No.: 000000-00-0000000
-------------------------
Target configuration 2 already active. Doing nothing
-> Run lsusb to note any changes. Bye.
root@ubuntu-lyh:~# ls /dev/tty*
没有发现增加的设备
root@ubuntu-lyh:~# cat /usr/share/usb_modeswitch/12d1:1d50
# Huawei ET302
TargetClass=0xff
Configuration=2
不知道问题出在哪里,各位大侠不吝赐教