最終更新:2018-09-21 (金) 15:21:21 (2016d)
USBView
Top / USBView
Linux
- USBView is a GTK program that displays the topography of the devices that are plugged into the USB bus on a Linux machine. It also displays information on each of the devices. This can be useful to determine if a device is working properly or not.
関連
Windows
- WDK、Debugging Tools for Windowsにサンプルとして含まれている
- PC に接続された USB デバイスの情報を見ることのできるユーザーモードの GUI アプリケーション
- http://blogs.msdn.com/b/jpwdkblog/archive/2009/03/24/usbview.aspx
- Program Files/Windows Kits/10/Debuggers/x64?
GitHub
USBView の中身を見てみる
- http://blogs.msdn.com/b/jpwdkblog/archive/2009/04/20/usbview-inside.aspx
- https://blogs.msdn.microsoft.com/jpwdkblog/2009/04/20/usbview/
見れる情報
例
My Computer Standard Enhanced PCI to USB Host Controller DriverKey: {36fc9e60-c465-11cf-8056-444553540000}\0001 VendorID: 15AD DeviceID: 0770 SubSysID: 077015AD Revision: 00 Debug Port Number: None Bus.Device.Function (in decimal): 2.3.0 Host Controller Power State Mappings System State Host Controller Root Hub USB wakeup Powered S0 (working) D0 D0 S1 (sleep) D1 D2 Yes Yes S2 (sleep) D? (unspecified) D3 S3 (sleep) D? (unspecified) D3 S4 (Hibernate) D3 D3 Last Sleep State S? (unmapped) RootHub Root Hub: USB#ROOT_HUB20#5&299e1c9f&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8} Hub Power: Self Power Number of Ports: 6 Power switching: Ganged Compound device: No Over-current Protection: Global High speed capable: Yes High speed: Yes Multiple transaction translations capable: No Performs multiple transaction translations simultaneously: No Hub wakes when device is connected: No Hub is bus powered: No Hub is root: Yes [Port1] ConnectionStatus: NoDeviceConnected [Port2] ConnectionStatus: NoDeviceConnected [Port3] ConnectionStatus: NoDeviceConnected [Port4] ConnectionStatus: NoDeviceConnected [Port5] ConnectionStatus: NoDeviceConnected [Port6] ConnectionStatus: NoDeviceConnected Standard Universal PCI to USB Host Controller DriverKey: {36fc9e60-c465-11cf-8056-444553540000}\0000 VendorID: 15AD DeviceID: 0774 SubSysID: 197615AD Revision: 00 Debug Port Number: None Bus.Device.Function (in decimal): 2.0.0 Host Controller Power State Mappings System State Host Controller Root Hub USB wakeup Powered S0 (working) D0 D0 S1 (sleep) D1 D2 Yes Yes S2 (sleep) D? (unspecified) D3 S3 (sleep) D? (unspecified) D3 S4 (Hibernate) D3 D3 Last Sleep State S? (unmapped) RootHub Root Hub: USB#ROOT_HUB#5&3bb57b&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8} Hub Power: Self Power Number of Ports: 2 Power switching: None Compound device: No No Over-current Protection (Bus Power Only) High speed capable: No High speed: No Multiple transaction translations capable: No Performs multiple transaction translations simultaneously: No Hub wakes when device is connected: No Hub is bus powered: No Hub is root: Yes [Port1] : USB Composite Device Device Power State: PowerDeviceD0 ---===>Device Information<===--- English product name: "VMware Virtual USB Mouse" ConnectionStatus: Current Config Value: 0x01 -> Device Bus Speed: Full Device Address: 0x01 Open Pipes: 2 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0008 = 0x08 bytes bInterval: 0x01 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0008 = 0x08 bytes bInterval: 0x01 ===>Device Descriptor<=== bLength: 0x12 bDescriptorType: 0x01 bcdUSB: 0x0110 bDeviceClass: 0x00 -> This is an Interface Class Defined Device bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 = (8) Bytes idVendor: 0x0E0F = VMWare, Inc. idProduct: 0x0003 bcdDevice: 0x0102 iManufacturer: 0x01 English (United States) "VMware" iProduct: 0x02 English (United States) "VMware Virtual USB Mouse" iSerialNumber: 0x00 bNumConfigurations: 0x01 ===>Configuration Descriptor<=== bLength: 0x09 bDescriptorType: 0x02 wTotalLength: 0x003B -> Validated bNumInterfaces: 0x02 bConfigurationValue: 0x01 iConfiguration: 0x01 English (United States) "VMware" bmAttributes: 0xC0 -> Self Powered MaxPower: 0x00 = 0 mA ===>Interface Descriptor<=== bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x03 -> HID Interface Class bInterfaceSubClass: 0x00 bInterfaceProtocol: 0x00 iInterface: 0x01 English (United States) "VMware" ===>HID Descriptor<=== bLength: 0x09 bDescriptorType: 0x21 bcdHID: 0x0110 bCountryCode: 0x00 bNumDescriptors: 0x01 bDescriptorType: 0x22 wDescriptorLength: 0x0042 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0008 = 0x08 bytes bInterval: 0x01 ===>Interface Descriptor<=== bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x03 -> HID Interface Class bInterfaceSubClass: 0x00 bInterfaceProtocol: 0x00 iInterface: 0x01 English (United States) "VMware" ===>HID Descriptor<=== bLength: 0x09 bDescriptorType: 0x21 bcdHID: 0x0110 bCountryCode: 0x00 bNumDescriptors: 0x01 bDescriptorType: 0x22 wDescriptorLength: 0x0041 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0008 = 0x08 bytes bInterval: 0x01 [Port2] : Generic USB Hub External Hub: USB#VID_0E0F&PID_0002#6&b77da92&0&2#{f18a0e88-c30c-11d0-8815-00a0c906bed8} Hub Power: Self Power Number of Ports: 7 Power switching: Individual Compound device: No Over-current Protection: Individual High speed capable: No High speed: No Multiple transaction translations capable: No Performs multiple transaction translations simultaneously: No Hub wakes when device is connected: No Hub is bus powered: No Hub is root: No ---===>Device Information<===--- English product name: "VMware Virtual USB Hub" ConnectionStatus: Current Config Value: 0x01 -> Device Bus Speed: Full Device Address: 0x02 Open Pipes: 1 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0001 = 0x01 bytes bInterval: 0xFF ===>Device Descriptor<=== bLength: 0x12 bDescriptorType: 0x01 bcdUSB: 0x0110 bDeviceClass: 0x09 -> This is a HUB Device bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 = (8) Bytes idVendor: 0x0E0F = VMWare, Inc. idProduct: 0x0002 bcdDevice: 0x0100 iManufacturer: 0x00 iProduct: 0x01 English (United States) "VMware Virtual USB Hub" iSerialNumber: 0x00 bNumConfigurations: 0x01 ===>Configuration Descriptor<=== bLength: 0x09 bDescriptorType: 0x02 wTotalLength: 0x0019 -> Validated bNumInterfaces: 0x01 bConfigurationValue: 0x01 iConfiguration: 0x01 English (United States) "VMware Virtual USB Hub" bmAttributes: 0xE0 -> Self Powered -> Remote Wakeup MaxPower: 0x00 = 0 mA ===>Interface Descriptor<=== bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x09 -> HUB Interface Class bInterfaceSubClass: 0x00 bInterfaceProtocol: 0x00 iInterface: 0x01 English (United States) "VMware Virtual USB Hub" ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0001 = 0x01 bytes bInterval: 0xFF [Port1] ConnectionStatus: NoDeviceConnected [Port2] ConnectionStatus: NoDeviceConnected [Port3] ConnectionStatus: NoDeviceConnected [Port4] ConnectionStatus: NoDeviceConnected [Port5] ConnectionStatus: NoDeviceConnected [Port6] ConnectionStatus: NoDeviceConnected [Port7] ConnectionStatus: NoDeviceConnected