1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-07 17:57:03 +02:00
Files
jc/tests/fixtures/generic/lsusb-device-qualifier.json
Kelly Brazil 0993fec114 add tests
2022-07-30 11:10:10 -07:00

2 lines
3.0 KiB
JSON

[{"bus":"002","device":"002","id":"8087:8000","description":"Intel Corp. Integrated Rate Matching Hub","device_descriptor":{"bLength":{"value":"18"},"bDescriptorType":{"value":"1"},"bcdUSB":{"value":"2.00"},"bDeviceClass":{"value":"9","description":"Hub"},"bDeviceSubClass":{"value":"0"},"bDeviceProtocol":{"value":"1","description":"Single TT"},"bMaxPacketSize0":{"value":"64"},"idVendor":{"value":"0x8087","description":"Intel Corp."},"idProduct":{"value":"0x8000","description":"Integrated Rate Matching Hub"},"bcdDevice":{"value":"0.04"},"iManufacturer":{"value":"0"},"iProduct":{"value":"0"},"iSerial":{"value":"0"},"bNumConfigurations":{"value":"1"},"configuration_descriptor":{"bLength":{"value":"9"},"bDescriptorType":{"value":"2"},"wTotalLength":{"value":"0x0019"},"bNumInterfaces":{"value":"1"},"bConfigurationValue":{"value":"1"},"iConfiguration":{"value":"0"},"bmAttributes":{"value":"0xe0","attributes":["Self Powered","Remote Wakeup"]},"MaxPower":{"description":"0mA"},"interface_descriptors":[{"bLength":{"value":"9"},"bDescriptorType":{"value":"4"},"bInterfaceNumber":{"value":"0"},"bAlternateSetting":{"value":"0"},"bNumEndpoints":{"value":"1"},"bInterfaceClass":{"value":"9","description":"Hub"},"bInterfaceSubClass":{"value":"0"},"bInterfaceProtocol":{"value":"0","description":"Full speed (or root) hub"},"iInterface":{"value":"0"},"endpoint_descriptors":[{"bLength":{"value":"7"},"bDescriptorType":{"value":"5"},"bEndpointAddress":{"value":"0x81","description":"EP 1 IN"},"bmAttributes":{"value":"3","attributes":["Transfer Type Interrupt","Synch Type None","Usage Type Data"]},"wMaxPacketSize":{"value":"0x0002","description":"1x 2 bytes"},"bInterval":{"value":"12"}}]}]}},"hub_descriptor":{"bLength":{"value":"11"},"bDescriptorType":{"value":"41"},"nNbrPorts":{"value":"8"},"wHubCharacteristic":{"value":"0x0009","attributes":["Per-port power switching","Per-port overcurrent protection","TT think time 8 FS bits"]},"bPwrOn2PwrGood":{"value":"0 *","description":"2 milli seconds"},"bHubContrCurrent":{"value":"0","description":"milli Ampere"},"DeviceRemovable":{"value":"0x00","description":"0x00"},"PortPwrCtrlMask":{"value":"0xff","description":"0xff"},"hub_port_status":{"Port 1":{"value":"0000.0100","attributes":["power"]},"Port 2":{"value":"0000.0100","attributes":["power"]},"Port 3":{"value":"0000.0100","attributes":["power"]},"Port 4":{"value":"0000.0100","attributes":["power"]},"Port 5":{"value":"0000.0100","attributes":["power"]},"Port 6":{"value":"0000.0100","attributes":["power"]},"Port 7":{"value":"0000.0100","attributes":["power"]},"Port 8":{"value":"0000.0100","attributes":["power"]}}},"device_qualifier":{"bLength":{"value":"10"},"bDescriptorType":{"value":"6"},"bcdUSB":{"value":"2.00"},"bDeviceClass":{"value":"9","description":"Hub"},"bDeviceSubClass":{"value":"0"},"bDeviceProtocol":{"value":"0","description":"Full speed (or root) hub"},"bMaxPacketSize0":{"value":"64"},"bNumConfigurations":{"value":"1"}},"device_status":{"value":"0x0001","description":"Self Powered"}}]