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-binary-object-store.json

2 lines
36 KiB
JSON
Raw Permalink Normal View History

2022-07-30 11:10:10 -07:00
[{"bus":"002","device":"001","id":"1d6b:0003","description":"Linux Foundation 3.0 root hub","device_descriptor":{"bLength":{"value":"18"},"bDescriptorType":{"value":"1"},"bcdUSB":{"value":"3.10"},"bDeviceClass":{"value":"9","description":"Hub"},"bDeviceSubClass":{"value":"0"},"bDeviceProtocol":{"value":"3"},"bMaxPacketSize0":{"value":"9"},"idVendor":{"value":"0x1d6b","description":"Linux Foundation"},"idProduct":{"value":"0x0003","description":"3.0 root hub"},"bcdDevice":{"value":"4.18"},"iManufacturer":{"value":"3","description":"Linux 4.18.0-372.9.1.el8.x86_64 xhci-hcd"},"iProduct":{"value":"2","description":"xHCI Host Controller"},"iSerial":{"value":"1","description":"0000:02:00.0"},"bNumConfigurations":{"value":"1"},"configuration_descriptor":{"bLength":{"value":"9"},"bDescriptorType":{"value":"2"},"wTotalLength":{"value":"0x001f"},"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":"0x0004","description":"1x 4 bytes"},"bInterval":{"value":"12"},"bMaxBurst":{"value":"0"}}]}]}},"hub_descriptor":{"bLength":{"value":"12"},"bDescriptorType":{"value":"42"},"nNbrPorts":{"value":"4"},"wHubCharacteristic":{"value":"0x000a","attributes":["No power switching (usb 1.0)","Per-port overcurrent protection"]},"bPwrOn2PwrGood":{"value":"50 *","description":"2 milli seconds"},"bHubContrCurrent":{"value":"0","description":"milli Ampere"},"bHubDecLat":{"value":"0.0","description":"micro seconds"},"wHubDelay":{"value":"0","description":"nano seconds"},"DeviceRemovable":{"value":"0x00"},"hub_port_status":{"Port 1":{"value":"0000.02a0","attributes":["lowspeed","L1"]},"Port 2":{"value":"0000.02a0","attributes":["lowspeed","L1"]},"Port 3":{"value":"0000.02a0","attributes":["lowspeed","L1"]},"Port 4":{"value":"0000.02a0","attributes":["lowspeed","L1"]}}},"device_status":{"value":"0x0001","description":"Self Powered"}},{"bus":"003","device":"002","id":"2109:2813","description":"VIA Labs, Inc. VL813 Hub","device_descriptor":{"bLength":{"value":"18"},"bDescriptorType":{"value":"1"},"bcdUSB":{"value":"2.10"},"bDeviceClass":{"value":"9","description":"Hub"},"bDeviceSubClass":{"value":"0"},"bDeviceProtocol":{"value":"1","description":"Single TT"},"bMaxPacketSize0":{"value":"64"},"idVendor":{"value":"0x2109","description":"VIA Labs, Inc."},"idProduct":{"value":"0x2813","description":"VL813 Hub"},"bcdDevice":{"value":"90.11"},"iManufacturer":{"value":"1","description":"VIA Labs, Inc."},"iProduct":{"value":"2","description":"USB2.0 Hub"},"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"},"bEnd