|
发表于 2010-6-4 17:09:21| 字数 5,200| - 中国–广东–广州 移动
|
显示全部楼层
/etc$ usb_modeswitch -W
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Reading config file: /etc/usb_modeswitch.setup
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1ab7
DefaultProduct= 0x2000
TargetVendor= 0x1ab7
TargetProduct= 0x5700
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
Looking for target devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
Found devices in target mode or class (1)
Looking for default devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
No devices in default mode or class found. Nothing to do. Bye.
-----------------------------------------------------------------
/etc$ usb_modeswitch -W
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Reading config file: /etc/usb_modeswitch.setup
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1ab7
DefaultProduct= 0x2000
TargetVendor= 0x1ab7
TargetProduct= 0x2000
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
Looking for target devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
No devices in default mode or class found. Nothing to do. Bye.
------------------------------------------------------------------
/root$ usb_modeswitch -W
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Check that you have permissions to write to 002/002 and, if you don't, that you set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.
USB error: could not claim interface 0: Device or resource busy
USB error: could not release intf 0: Invalid argument
Reading config file: /etc/usb_modeswitch.setup
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1ab7
DefaultProduct= 0x5700
TargetVendor= 0x1ab7
TargetProduct= 0x2000
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
Looking for target devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
Found devices in default mode or class (1)
Accessing device 002 on bus 002 ...
Using endpoints 0x04 (out) and 0x85 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usbfs")
OK, driver "usbfs" detached
Could not claim interface (error -16). Skipping device inquiry
USB description data (for identification)
-------------------------
Manufacturer: USB 1.1 Storage Device
Product: 00000000000123456789
Serial No.: 00000000000123456789
-------------------------
Looking for active driver ...
OK, driver found ("usbfs")
OK, driver "usbfs" detached
Setting up communication with interface 0 ...
Using endpoint 0x04 for message sending ...
Trying to send message 1 to endpoint 0x04 ...
OK, message successfully sent
-> Run lsusb to note any changes. Bye.
3个都试了,应该是最后一个成功吧,可接下来要做什么呢?
在60-usb-serial里面加内容,加过了,没什么用啊
/etc$ rmmod usbserial
rmmod: can't unload 'usbserial': unknown symbol in module, or unknown
parameter
这命令又用不了,和这也是insmod,都错误。 |
|