Skip to content

Instantly share code, notes, and snippets.

@knight-ryu12
Created December 25, 2022 07:56
Show Gist options
  • Save knight-ryu12/38c4bc29dd5b42efb4e00a368b5dc03c to your computer and use it in GitHub Desktop.
Save knight-ryu12/38c4bc29dd5b42efb4e00a368b5dc03c to your computer and use it in GitHub Desktop.
=========================== USB Port1 ===========================
Connection Status : 0x01 (Device is connected)
Port Chain : 2-2-1
Properties : 0x01
IsUserConnectable : yes
PortIsDebugCapable : no
PortHasMultiCompanions : no
PortConnectorIsTypeC : no
ConnectionIndex : 0x01 (Port 1)
CompanionIndex : 0
CompanionHubSymLnk : USB#VID_05E3&PID_0620#6&8eb0a4c&0&6#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
CompanionPortNumber : 0x01 (Port 1)
-> CompanionPortChain : 2-6-1
========================== Summary =========================
Vendor ID : 0x054C (Sony Group Corporation)
Product ID : 0x003D
USB Version : 1.00
Port maximum Speed : High-Speed (Companion Port 2-6-1 supports SuperSpeed)
Device maximum Speed : Full-Speed
Device Connection Speed : Full-Speed
Self powered : yes
Demanded Current : 2 mA
Used Endpoints : 3
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Friendly Name : Sony MPR-G600
Device Description : USB 印刷サポート
Device Path 1 : \\?\USB#VID_054C&PID_003D#3H2IJg#{a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Device Path 2 : \\?\USB#VID_054C&PID_003D#3H2IJg#{28d78fad-5a12-11d1-ae5b-0000f803a8c2} (GUID_DEVINTERFACE_USBPRINT)
Kernel Name : \Device\USBPDO-11
Device ID : USB\VID_054C&PID_003D\3H2IJG
Hardware IDs : USB\VID_054C&PID_003D&REV_0100 USB\VID_054C&PID_003D
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0029 (GUID_DEVCLASS_USB)
Driver : \SystemRoot\System32\drivers\usbprint.sys (Version: 10.0.25267.1000 Date: 2022-12-10)
Driver Inf : C:\WINDOWS\inf\usbprint.inf
Legacy BusType : PNPBus
Class : USB
Class GUID : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
Service : usbprint
Enumerator : USB
Location Info : Port_#0001.Hub_#0004
Location IDs : PCIROOT(0)#PCI(0801)#PCI(0003)#USBROOT(0)#USB(2)#USB(1), ACPI(_SB_)#ACPI(PCI0)#ACPI(GP17)#ACPI(XHC0)#ACPI(RHUB)#ACPI(PRT2)#ACPI(H2P1)
Container ID : {5c356614-f929-54d2-a142-227057fd75b8}
Manufacturer Info : Microsoft
Capabilities : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code : 0
Address : 1
HcDisableSelectiveSuspend: 0
EnableSelectiveSuspend : 0
SelectiveSuspendEnabled : 0
EnhancedPowerMgmtEnabled : 0
IdleInWorkingState : 0
WakeFromSleepState : 0
Power State : D0 (supported: D0, D3, wake from D0)
Child Device 1 : Sony MPR-G600 (汎用プリンター デバイス)
Device ID : USBPRINT\SONYMPR-G600\8&3C96BB8&0&USB001
Class : SoftwareDevice
Driver KeyName : {62f9c741-b25a-46ce-b54c-9bccce08b6f2}\0014 (GUID_DEVCLASS_SWD)
---------------- Connection Information ---------------
Connection Index : 0x01 (Port 1)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01 (Configuration 1)
Device Address : 0x06 (6)
Is Hub : 0x00 (no)
Device Bus Speed : 0x01 (Full-Speed)
Number Of Open Pipes : 0x02 (2 pipes to data endpoints)
Pipe[0] : EndpointID=1 Direction=OUT ScheduleOffset=0 Type=Bulk wMaxPacketSize=64 bInterval=0
Pipe[1] : EndpointID=2 Direction=IN ScheduleOffset=0 Type=Bulk wMaxPacketSize=64 bInterval=0
Data (HexDump) : 01 00 00 00 12 01 00 01 00 00 00 08 4C 05 3D 00 ............L.=.
00 01 01 02 03 01 01 01 00 06 00 02 00 00 00 01 ................
00 00 00 07 05 01 02 40 00 00 00 00 00 00 07 05 .......@........
82 02 40 00 00 00 00 00 00 ..@......
--------------- Connection Information V2 -------------
Connection Index : 0x01 (1)
Length : 0x10 (16 bytes)
SupportedUsbProtocols : 0x03
Usb110 : 1 (yes, port supports USB 1.1)
Usb200 : 1 (yes, port supports USB 2.0)
Usb300 : 0 (no, port not supports USB 3.0) -> but Companion Port 2-6-1 does
ReservedMBZ : 0x00
Flags : 0x00
DevIsOpAtSsOrHigher : 0 (Device is not operating at SuperSpeed or higher)
DevIsSsCapOrHigher : 0 (Device is not SuperSpeed capable or higher)
DevIsOpAtSsPlusOrHigher : 0 (Device is not operating at SuperSpeedPlus or higher)
DevIsSsPlusCapOrHigher : 0 (Device is not SuperSpeedPlus capable or higher)
ReservedMBZ : 0x00
Data (HexDump) : 01 00 00 00 10 00 00 00 03 00 00 00 00 00 00 00 ................
---------------------- Device Descriptor ----------------------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x01 (Device Descriptor)
bcdUSB : 0x100 (USB Version 1.00)
bDeviceClass : 0x00 (defined by the interface descriptors)
bDeviceSubClass : 0x00
bDeviceProtocol : 0x00
bMaxPacketSize0 : 0x08 (8 bytes)
idVendor : 0x054C (Sony Group Corporation)
idProduct : 0x003D
bcdDevice : 0x0100
iManufacturer : 0x01 (String Descriptor 1)
Language 0x0409 : "Sony"
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "MPR-G600"
iSerialNumber : 0x03 (String Descriptor 3)
Language 0x0409 : "3H2IJg"
bNumConfigurations : 0x01 (1 Configuration)
Data (HexDump) : 12 01 00 01 00 00 00 08 4C 05 3D 00 00 01 01 02 ........L.=.....
03 01 ..
------------------ Configuration Descriptor -------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x0020 (32 bytes)
bNumInterfaces : 0x01 (1 Interface)
bConfigurationValue : 0x01 (Configuration 1)
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0x40
D7: Bus Powered : 0x00 (no)
D6: Self Powered : 0x01 (yes)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0x01 (2 mA)
Data (HexDump) : 09 02 20 00 01 01 00 40 01 09 04 00 00 02 07 01 .. ....@........
02 00 07 05 01 02 40 00 00 07 05 82 02 40 00 00 ......@......@..
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x00 (Interface 0)
bAlternateSetting : 0x00
bNumEndpoints : 0x02 (2 Endpoints)
bInterfaceClass : 0x07 (Printer)
bInterfaceSubClass : 0x01
bInterfaceProtocol : 0x02
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 00 00 02 07 01 02 00 .........
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x01 (Direction=OUT EndpointID=1)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (64 bytes)
bInterval : 0x00 (ignored)
Data (HexDump) : 07 05 01 02 40 00 00 ....@..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x82 (Direction=IN EndpointID=2)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (64 bytes)
bInterval : 0x00 (ignored)
Data (HexDump) : 07 05 82 02 40 00 00 ....@..
-------------------- 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 : 0x0A (10 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Sony"
Data (HexDump) : 0A 03 53 00 6F 00 6E 00 79 00 ..S.o.n.y.
------ String Descriptor 2 ------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "MPR-G600"
Data (HexDump) : 12 03 4D 00 50 00 52 00 2D 00 47 00 36 00 30 00 ..M.P.R.-.G.6.0.
30 00 0.
------ String Descriptor 3 ------
bLength : 0x0E (14 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "3H2IJg"
Data (HexDump) : 0E 03 33 00 48 00 32 00 49 00 4A 00 67 00 ..3.H.2.I.J.g.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment