CH340 USB转串口 USB描述符
本文地址:http://www.tongxinmao.com/Article/Detail/id/121
=========================== USB Port4 ===========================
Connection Status : 0x01 (Device is connected)
Port Chain : 1-12-3-4
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Friendly Name : USB-SERIAL CH340 (COM28)
Device Description : USB-SERIAL CH340
Device Path : \\?\usb#vid_1a86&pid_7523#7&f15062f&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID : USB\VID_1A86&PID_7523\7&F15062F&0&4
Hardware IDs : USB\VID_1A86&PID_7523&REV_0254 USB\VID_1A86&PID_7523
Driver KeyName : {4d36e978-e325-11ce-bfc1-08002be10318}\0027 (GUID_DEVCLASS_PORTS)
Driver : C:\Windows\System32\Drivers\CH341S64.SYS (Version: 3.30.2011.11 Date: 2011-11-05)
Driver Inf : C:\Windows\inf\oem21.inf
Legacy BusType : PNPBus
Class : Ports
Class GUID : {4d36e978-e325-11ce-bfc1-08002be10318} (GUID_DEVCLASS_PORTS)
Interface GUID : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Service : CH341SER_A64
Enumerator : USB
Location Info : Port_#0004.Hub_#0005
Location IDs : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(12)#USB(3)#USB(4)
Container ID : {b78448aa-ba84-11e6-b416-005056c00008}
Manufacturer Info : wch.cn
Capabilities : 0xA4 (Removable, SilentInstall, SurpriseRemovalOK)
Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code : 0
Upper Filters : serenum
Power State : D0 (supported: D0, D2, D3, wake from D0, wake from D2)
COM-Port : COM28 (\Device\00000101)
---------------- Connection Information ---------------
Connection Index : 0x04 (4)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01
Device Address : 0x17 (23)
Is Hub : 0x00 (no)
Number Of Open Pipes : 0x03 (3)
Device Bus Speed : 0x01 (Full-Speed)
Pipe0ScheduleOffset : 0x00 (0)
Pipe1ScheduleOffset : 0x00 (0)
Pipe2ScheduleOffset : 0x00 (0)
Data (HexDump) : 04 00 00 00 12 01 10 01 FF 00 00 08 86 1A 23 75 ..............#u
54 02 00 02 00 01 01 01 00 17 00 03 00 00 00 01 T...............
00 00 00 07 05 82 02 20 00 00 00 00 00 00 07 05 ....... ........
02 02 20 00 00 00 00 00 00 07 05 81 03 08 00 01 .. .............
00 00 00 00 ....
------------------ Device Descriptor ------------------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x01 (Device Descriptor)
bcdUSB : 0x110 (USB Version 1.10)
bDeviceClass : 0xFF (Vendor Specific)
bDeviceSubClass : 0x00
bDeviceProtocol : 0x00
bMaxPacketSize0 : 0x08 (8 bytes)
idVendor : 0x1A86
idProduct : 0x7523
bcdDevice : 0x0254
iManufacturer : 0x00 (No String Descriptor)
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "USB2.0-Ser!"
iSerialNumber : 0x00 (No String Descriptor)
bNumConfigurations : 0x01
Data (HexDump) : 12 01 10 01 FF 00 00 08 86 1A 23 75 54 02 00 02 ..........#uT...
00 01 ..
------------------ String Descriptors -----------------
------ String Descriptor 0 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language ID[0] : 0x0409 (English - United States)
Data (HexDump) : 04 03 09 04 ....
------ String Descriptor 1 ------
bLength : 0x18 (24 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "USB2.0-Ser!"
Data (HexDump) : 18 03 55 00 53 00 42 00 32 00 2E 00 30 00 2D 00 ..U.S.B.2...0.-.
53 00 65 00 72 00 21 00 S.e.r.!.
------ String Descriptor 2 ------
bLength : 0x18 (24 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "USB2.0-Ser!"
Data (HexDump) : 18 03 55 00 53 00 42 00 32 00 2E 00 30 00 2D 00 ..U.S.B.2...0.-.
53 00 65 00 72 00 21 00 S.e.r.!.
------ String Descriptor 3 ------
bLength : 0x18 (24 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "USB2.0-Ser!"
Data (HexDump) : 18 03 55 00 53 00 42 00 32 00 2E 00 30 00 2D 00 ..U.S.B.2...0.-.
53 00 65 00 72 00 21 00 S.e.r.!.
---------------- Configuration Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x0027 (39 bytes)
bNumInterfaces : 0x01
bConfigurationValue : 0x01
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0x80
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x00 (no)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0x30 (96 mA)
Data (HexDump) : 09 02 27 00 01 01 00 80 30 09 04 00 00 03 FF 01 ..'.....0.......
02 00 07 05 82 02 20 00 00 07 05 02 02 20 00 00 ...... ...... ..
07 05 81 03 08 00 01 .......
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x00
bAlternateSetting : 0x00
bNumEndpoints : 0x03 (3 Endpoints)
bInterfaceClass : 0xFF (Vendor Specific)
bInterfaceSubClass : 0x01
bInterfaceProtocol : 0x02
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 00 00 03 FF 01 02 00 .........
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x82 (Direction=IN EndpointID=2)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0020 (32 bytes)
bInterval : 0x00 (ignored)
Data (HexDump) : 07 05 82 02 20 00 00 .... ..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x02 (Direction=OUT EndpointID=2)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0020 (32 bytes)
bInterval : 0x00 (ignored)
Data (HexDump) : 07 05 02 02 20 00 00 .... ..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0008 (8 bytes)
bInterval : 0x01 (1 ms)
Data (HexDump) : 07 05 81 03 08 00 01 .......
上一篇:VCB删除临时文件(clean)
下一篇:PHP正则表达式