DEVCON.EXE管理USB

查找所有的USB设备

搜索devcon.exe

搜索USB设备:devcon.exe find usb*

USB\VID_05AC&PID_12A8&MI_00\6&34588349&0&0000               : Apple iPhone
USB\VID_0951&PID_1666\08606E6D41E2B011083D05BE              : USB
USB\VID_0408&PID_1020\5&17E3B5B2&0&6                        : USB Composite Device
USB\ROOT_HUB30\4&1BF62946&0&0                               : USB (USB 3.0)
ROOT\UNNAMED_DEVICE\0000                                    : NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
USB\VID_05AC&PID_12A8\9CBECF7C2BEE503F59D55EEFA65D1DB1721508B6: Apple Mobile Device USB Composite Device
USB\VID_0408&PID_1020&MI_00\6&199E90F7&0&0000               : hm1091_techfront
USB\VID_8087&PID_0A2B\5&17E3B5B2&0&7                        : (R)  Bluetooth(R)
USB\VID_05AC&PID_12A8&MI_00\6&34588349&0&0000               : Apple iPhone

如IPHONE设备ID是:VID_05AC

关闭/打开设备

devcon.exe disable *VID_05AC* #禁用IPHONE USB设备
devcon.exe disable *VID_05AC* #使能IPHONE USB设备
或者使用类设备名控制


devcon.exe disable USB\Class_08

USB各设备分类(class)标准 列表

00 Use class information in the Interface Descriptors
01 Audio
02 Communications and CDC Control
03 HID (Human Interface Device)
05 Physical
06 Image
07 Printer
08 Mass Storage
09 Hub
0A CDC-Data
0B Smart Card
0D Content Security
0E Video
0F Personal Healthcare
DC Diagnostic Device
E0 Wireless Controller
EF Miscellaneous
FE Application Specific
FF Vendor Specific

SYSTem:COMMunicate:LAN:MAC?\n
c4-f3-12-01-8a-d7\r\n

USB\VID_2109&PID_2817\5&17E3B5B2&0&1                        :  USB
USB\VID_05E3&PID_0749\000000001536                          : USB
USB\VID_0B95&PID_1790\0000000000016E                        : ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter #3
USB\VID_0408&PID_1020\5&17E3B5B2&0&6                        : USB Composite Device
USB\ROOT_HUB30\4&1BF62946&0&0                               : USB (USB 3.0)
USB\VID_0BC2&PID_2322\MSFT30NA8G8W74                        : USB Attached SCSI (UAS)
USB\VID_2109&PID_0817\5&17E3B5B2&0&13                       :  SuperSpeed USB
USB\VID_046D&PID_C52F\5&17E3B5B2&0&5                        : USB Composite Device
USB\VID_0BDA&PID_0412\6&1598DBF9&0&4                        :  SuperSpeed USB
ROOT\UNNAMED_DEVICE\0000                                    : NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
USB\VID_046D&PID_C52F&MI_01\6&8F709E6&0&0001                : USB
USB\VID_0BDA&PID_5412\6&5E37972&0&4                         :  USB
USB\VID_5345&PID_7777\C4F312018AD7                          : USB Test and Measurement Device (IVI)
USB\VID_046D&PID_C52F&MI_00\6&8F709E6&0&0000                : USB
USB\VID_0408&PID_1020&MI_00\6&199E90F7&0&0000               : hm1091_techfront
USB\VID_8087&PID_0A2B\5&17E3B5B2&0&7                        : (R)  Bluetooth(R)

USB\VID_5345&PID_7777\C4F312018AD7

VID_5345:VID

PID_7777:PID

C4F312018AD7:serial

http://blog.chinaunix.net/uid-23770712-id-3254538.html

你可能感兴趣的:(Other)