From 836d507961c2308be6a1011a81835e9525777f23 Mon Sep 17 00:00:00 2001 From: dokutan <54861821+dokutan@users.noreply.github.com> Date: Mon, 4 May 2020 15:30:01 +0200 Subject: [PATCH] Add lsusb output --- documentation/lsusb-output.txt | 294 +++++++++++++++++++++++++++++++++ 1 file changed, 294 insertions(+) create mode 100644 documentation/lsusb-output.txt diff --git a/documentation/lsusb-output.txt b/documentation/lsusb-output.txt new file mode 100644 index 0000000..774d2a7 --- /dev/null +++ b/documentation/lsusb-output.txt @@ -0,0 +1,294 @@ +Bus 001 Device 047: ID 04d9:fc4d Holtek Semiconductor, Inc. +Device Descriptor: + bLength 18 + bDescriptorType 1 + bcdUSB 2.00 + bDeviceClass 0 + bDeviceSubClass 0 + bDeviceProtocol 0 + bMaxPacketSize0 8 + idVendor 0x04d9 Holtek Semiconductor, Inc. + idProduct 0xfc4d + bcdDevice 1.52 + iManufacturer 0 + iProduct 2 USB Gaming Mouse + iSerial 0 + bNumConfigurations 1 + Configuration Descriptor: + bLength 9 + bDescriptorType 2 + wTotalLength 0x0054 + bNumInterfaces 3 + bConfigurationValue 1 + iConfiguration 0 + bmAttributes 0xa0 + (Bus Powered) + Remote Wakeup + MaxPower 100mA + Interface Descriptor: + bLength 9 + bDescriptorType 4 + bInterfaceNumber 0 + bAlternateSetting 0 + bNumEndpoints 1 + bInterfaceClass 3 Human Interface Device + bInterfaceSubClass 1 Boot Interface Subclass + bInterfaceProtocol 2 Mouse + iInterface 0 + HID Device Descriptor: + bLength 9 + bDescriptorType 33 + bcdHID 1.10 + bCountryCode 0 Not supported + bNumDescriptors 1 + bDescriptorType 34 Report + wDescriptorLength 67 + Report Descriptor: (length is 67) + Item(Global): Usage Page, data= [ 0x01 ] 1 + Generic Desktop Controls + Item(Local ): Usage, data= [ 0x02 ] 2 + Mouse + Item(Main ): Collection, data= [ 0x01 ] 1 + Application + Item(Local ): Usage, data= [ 0x01 ] 1 + Pointer + Item(Main ): Collection, data= [ 0x00 ] 0 + Physical + Item(Global): Usage Page, data= [ 0x09 ] 9 + Buttons + Item(Local ): Usage Minimum, data= [ 0x01 ] 1 + Button 1 (Primary) + Item(Local ): Usage Maximum, data= [ 0x10 ] 16 + (null) + Item(Global): Logical Minimum, data= [ 0x00 ] 0 + Item(Global): Logical Maximum, data= [ 0x01 ] 1 + Item(Global): Report Size, data= [ 0x01 ] 1 + Item(Global): Report Count, data= [ 0x10 ] 16 + Item(Main ): Input, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Usage Page, data= [ 0x01 ] 1 + Generic Desktop Controls + Item(Local ): Usage, data= [ 0x30 ] 48 + Direction-X + Item(Local ): Usage, data= [ 0x31 ] 49 + Direction-Y + Item(Global): Logical Minimum, data= [ 0x01 0x80 ] 32769 + Item(Global): Logical Maximum, data= [ 0xff 0x7f ] 32767 + Item(Global): Report Size, data= [ 0x10 ] 16 + Item(Global): Report Count, data= [ 0x02 ] 2 + Item(Main ): Input, data= [ 0x06 ] 6 + Data Variable Relative No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Local ): Usage, data= [ 0x38 ] 56 + Wheel + Item(Global): Logical Minimum, data= [ 0x81 ] 129 + Item(Global): Logical Maximum, data= [ 0x7f ] 127 + Item(Global): Report Size, data= [ 0x08 ] 8 + Item(Global): Report Count, data= [ 0x01 ] 1 + Item(Main ): Input, data= [ 0x06 ] 6 + Data Variable Relative No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Usage Page, data= [ 0x0c ] 12 + Consumer + Item(Local ): Usage, data= [ 0x38 0x02 ] 568 + AC Pan + Item(Global): Report Count, data= [ 0x01 ] 1 + Item(Main ): Input, data= [ 0x06 ] 6 + Data Variable Relative No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Main ): End Collection, data=none + Item(Main ): End Collection, data=none + Endpoint Descriptor: + bLength 7 + bDescriptorType 5 + bEndpointAddress 0x81 EP 1 IN + bmAttributes 3 + Transfer Type Interrupt + Synch Type None + Usage Type Data + wMaxPacketSize 0x0008 1x 8 bytes + bInterval 1 + Interface Descriptor: + bLength 9 + bDescriptorType 4 + bInterfaceNumber 1 + bAlternateSetting 0 + bNumEndpoints 1 + bInterfaceClass 3 Human Interface Device + bInterfaceSubClass 1 Boot Interface Subclass + bInterfaceProtocol 1 Keyboard + iInterface 0 + HID Device Descriptor: + bLength 9 + bDescriptorType 33 + bcdHID 1.10 + bCountryCode 0 Not supported + bNumDescriptors 1 + bDescriptorType 34 Report + wDescriptorLength 47 + Report Descriptor: (length is 47) + Item(Global): Usage Page, data= [ 0x01 ] 1 + Generic Desktop Controls + Item(Local ): Usage, data= [ 0x06 ] 6 + Keyboard + Item(Main ): Collection, data= [ 0x01 ] 1 + Application + Item(Global): Usage Page, data= [ 0x07 ] 7 + Keyboard + Item(Local ): Usage Minimum, data= [ 0xe0 ] 224 + Control Left + Item(Local ): Usage Maximum, data= [ 0xe7 ] 231 + GUI Right + Item(Global): Logical Minimum, data= [ 0x00 ] 0 + Item(Global): Logical Maximum, data= [ 0x01 ] 1 + Item(Global): Report Size, data= [ 0x01 ] 1 + Item(Global): Report Count, data= [ 0x08 ] 8 + Item(Main ): Input, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report Count, data= [ 0x01 ] 1 + Item(Global): Report Size, data= [ 0x08 ] 8 + Item(Main ): Input, data= [ 0x01 ] 1 + Constant Array Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report Count, data= [ 0x06 ] 6 + Item(Global): Report Size, data= [ 0x08 ] 8 + Item(Global): Logical Minimum, data= [ 0x00 ] 0 + Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 + Item(Global): Usage Page, data= [ 0x07 ] 7 + Keyboard + Item(Local ): Usage Minimum, data= [ 0x00 ] 0 + No Event + Item(Local ): Usage Maximum, data= [ 0xff 0x00 ] 255 + (null) + Item(Main ): Input, data= [ 0x00 ] 0 + Data Array Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Main ): End Collection, data=none + Endpoint Descriptor: + bLength 7 + bDescriptorType 5 + bEndpointAddress 0x82 EP 2 IN + bmAttributes 3 + Transfer Type Interrupt + Synch Type None + Usage Type Data + wMaxPacketSize 0x0008 1x 8 bytes + bInterval 2 + Interface Descriptor: + bLength 9 + bDescriptorType 4 + bInterfaceNumber 2 + bAlternateSetting 0 + bNumEndpoints 1 + bInterfaceClass 3 Human Interface Device + bInterfaceSubClass 0 + bInterfaceProtocol 0 + iInterface 0 + HID Device Descriptor: + bLength 9 + bDescriptorType 33 + bcdHID 1.10 + bCountryCode 0 Not supported + bNumDescriptors 1 + bDescriptorType 34 Report + wDescriptorLength 106 + Report Descriptor: (length is 106) + Item(Global): Usage Page, data= [ 0x0c ] 12 + Consumer + Item(Local ): Usage, data= [ 0x01 ] 1 + Consumer Control + Item(Main ): Collection, data= [ 0x01 ] 1 + Application + Item(Global): Report ID, data= [ 0x01 ] 1 + Item(Global): Usage Page, data= [ 0x0c ] 12 + Consumer + Item(Local ): Usage Minimum, data= [ 0x00 ] 0 + Unassigned + Item(Local ): Usage Maximum, data= [ 0xff 0x0f ] 4095 + (null) + Item(Global): Logical Minimum, data= [ 0x00 ] 0 + Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095 + Item(Global): Report Size, data= [ 0x10 ] 16 + Item(Global): Report Count, data= [ 0x02 ] 2 + Item(Main ): Input, data= [ 0x00 ] 0 + Data Array Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report Size, data= [ 0x08 ] 8 + Item(Global): Report Count, data= [ 0x03 ] 3 + Item(Main ): Input, data= [ 0x01 ] 1 + Constant Array Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Main ): End Collection, data=none + Item(Global): Usage Page, data= [ 0xa0 0xff ] 65440 + (null) + Item(Local ): Usage, data= [ 0x01 ] 1 + (null) + Item(Main ): Collection, data= [ 0x01 ] 1 + Application + Item(Global): Report ID, data= [ 0x02 ] 2 + Item(Local ): Usage, data= [ 0x02 ] 2 + (null) + Item(Global): Logical Minimum, data= [ 0x00 ] 0 + Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 + Item(Global): Report Size, data= [ 0x08 ] 8 + Item(Global): Report Count, data= [ 0x0f ] 15 + Item(Main ): Feature, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report ID, data= [ 0x03 ] 3 + Item(Local ): Usage, data= [ 0x03 ] 3 + (null) + Item(Global): Report Count, data= [ 0x3f ] 63 + Item(Main ): Feature, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report ID, data= [ 0x04 ] 4 + Item(Local ): Usage, data= [ 0x04 ] 4 + (null) + Item(Global): Report Count, data= [ 0xff ] 255 + Item(Main ): Feature, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report ID, data= [ 0x05 ] 5 + Item(Local ): Usage, data= [ 0x05 ] 5 + (null) + Item(Global): Report Count, data= [ 0xff 0x03 ] 1023 + Item(Main ): Feature, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report ID, data= [ 0x06 ] 6 + Item(Local ): Usage, data= [ 0x06 ] 6 + (null) + Item(Global): Report Count, data= [ 0xff 0x07 ] 2047 + Item(Main ): Feature, data= [ 0x02 ] 2 + Data Variable Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report ID, data= [ 0x07 ] 7 + Item(Local ): Usage, data= [ 0x07 ] 7 + (null) + Item(Global): Report Count, data= [ 0x07 ] 7 + Item(Main ): Input, data= [ 0x00 ] 0 + Data Array Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Global): Report ID, data= [ 0x08 ] 8 + Item(Local ): Usage, data= [ 0x08 ] 8 + (null) + Item(Global): Report Count, data= [ 0x07 ] 7 + Item(Main ): Input, data= [ 0x00 ] 0 + Data Array Absolute No_Wrap Linear + Preferred_State No_Null_Position Non_Volatile Bitfield + Item(Main ): End Collection, data=none + Endpoint Descriptor: + bLength 7 + bDescriptorType 5 + bEndpointAddress 0x83 EP 3 IN + bmAttributes 3 + Transfer Type Interrupt + Synch Type None + Usage Type Data + wMaxPacketSize 0x0008 1x 8 bytes + bInterval 4 +Device Status: 0x0000 + (Bus Powered)