代码: 全选
art1st@art1st-ThinkPad-Edge-E440:~$ cat /etc/issue
Ubuntu 17.10 \n \l
代码: 全选
art1st@art1st-ThinkPad-Edge-E440:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:b728 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 17ef:6050 Lenovo
Bus 001 Device 010: ID 19d2:0199 ZTE WCDMA Technologies MSM
Bus 001 Device 004: ID 5986:0397 Acer, Inc
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
代码: 全选
art1st@art1st-ThinkPad-Edge-E440:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 2: Dev 10, If 0, Class=Communications, Driver=cdc_ether, 480M
|__ Port 2: Dev 10, If 3, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 2: Dev 10, If 1, Class=CDC Data, Driver=cdc_ether, 480M
|__ Port 2: Dev 10, If 4, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 2: Dev 10, If 2, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 6: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 7: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 7: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 12: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 12: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
代码: 全选
art1st@art1st-ThinkPad-Edge-E440:~$ sudo usb_modeswitch -KW -v 19d2 -p 0199
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.1 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0x0199
StandardEject=1
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 0bda:b728
found USB ID 17ef:6050
found USB ID 19d2:0199
vendor ID matched
product ID matched
found USB ID 5986:0397
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 010 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 2
Error: can't use storage command in MessageContent with interface 0; interface class is 2, expected 8. Abort