全部博文(185)
分类:
2009-08-20 16:57:08
wget *****************************usb_modeswitch-1.0.2.tar.bz2
tar -xjf usb_modeswitch-1.0.2.tar.bz2
cd usb_modeswitch-1.0.2
make install
mkdir -p /usr/sbin
install ./usb_modeswitch /usr/sbin
mkdir -p /etc
install ./usb_modeswitch.conf /etc
kate /etc/usb_modeswitch.conf
########################################################
# ZTE AC2710 (EVDO)
#
# Contributor: Wasim Baig
;DefaultVendor= 0x19d2
;DefaultProduct= 0xfff5
;TargetVendor= 0x19d2
;TargetProduct= 0xffff
;MessageContent="5553424312345678c00000008000069f010000000000000000000000000000"
########################################################
# ZTE AC2710 (EVDO)
#
# Contributor: Wasim Baig
;DefaultVendor= 0x19d2
;DefaultProduct= 0xfff5
;TargetVendor= 0x19d2
;TargetProduct= 0xffff
;MessageContent="5553424312345678c00000008000069f010000000000000000000000000000"
########################################################
# ZTE AC2726 (EVDO)
#
# Contributor: Wasim Baig
DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= 0xfff1
MessageContent="5553424312345678c00000008000069f010000000000000000000000000000"
usb_modeswitch
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 004 on bus 003 ...
Using endpoints 0x0a (out) and 0x89 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Received inquiry data (detailed identification)
-------------------------
Vendor String: ZTE
Product String: USB Storage FFF1
Revision String: 2.31
-------------------------
Device description data (identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x0a ...
OK, message successfully sent
Device is gone, skipping further steps ...
-> Run lsusb to note any changes. Bye.
modprobe usbserial vendor=product=
chinaunix网友2011-02-15 10:38:39
辛卯新春佳节即将来临,中国美术馆精心策划筹办的“中国美术馆50年捐赠作品大展”西安人才网:http://www.xa198.com 中国画廊网:http://www.hl198.com 中国画家网:http://www.rc900.com西安文化艺术研究院:http://www.xianhuayuan.com在岁末年初之际隆重推出,为欢度春节的全国观众献上一次异彩纷呈的新年贺岁文化盛宴。