nicoleshu@nicoleshu-Precision-Tower-3620:~/Download/mt7610u_wifi_sta_v3002_dpo_20130916$ dpkg -l usb-modeswitch
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T)
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称 版本 Architecture 描述
+++-=============================-===================-===================-===============================================================
ii usb-modeswitch 2.1.1+repack0-1ubun amd64 mode switching tool for controlling "flip flop" USB devices
nicoleshu@nicoleshu-Precision-Tower-3620:~/Download/mt7610u_wifi_sta_v3002_dpo_20130916$ sudo usb_modeswitch -KW -v 0e8d -p 2870
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.1.1 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x0e8d
DefaultProduct= 0x2870
StandardEject=1
NeedResponse=0
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 413c:2113
found USB ID 413c:301a
found USB ID 058f:6387
found USB ID 0e8d:2870
vendor ID matched
product ID matched
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 004 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x08 (out) and 0x84 (in)
USB description data (for identification)
-------------------------
Manufacturer: ?
Product: ?
Serial No.: not provided
-------------------------
Sending standard EJECT sequence
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x08 for message sending ...
Trying to send message 1 to endpoint 0x08 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x08 ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes).
Reset response endpoint 0x84
Reset message endpoint 0x08
-> Run lsusb to note any changes. Bye!
nicoleshu@nicoleshu-Precision-Tower-3620:~/Download/mt7610u_wifi_sta_v3002_dpo_20130916$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 413c:2113 Dell Computer Corp.
Bus 001 Device 002: ID 413c:301a Dell Computer Corp.
Bus 001 Device 005: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 006: ID 148f:761a Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
nicoleshu@nicoleshu-Precision-Tower-3620:~/Download/mt7610u_wifi_sta_v3002_dpo_20130916$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 6: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 8: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 8: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M