From 66883bc4bd745607b23ae899f5b6da8840442278 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Fri, 13 Feb 2026 17:49:14 +0700 Subject: [PATCH] machines/sirius: format facter.json --- machines/sirius/facter.json | 794 +++++++++++------------------------- 1 file changed, 244 insertions(+), 550 deletions(-) diff --git a/machines/sirius/facter.json b/machines/sirius/facter.json index 5475c83..b5c9324 100644 --- a/machines/sirius/facter.json +++ b/machines/sirius/facter.json @@ -7,10 +7,7 @@ { "index": 8, "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], + "class_list": ["pci", "bridge"], "bus_type": { "hex": "0004", "name": "PCI", @@ -45,8 +42,8 @@ "value": 10001 }, "revision": { - "hex": "0010", - "value": 16 + "hex": "0020", + "value": 32 }, "model": "Broadcom PCI bridge", "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0", @@ -60,12 +57,8 @@ }, "driver": "pcieport", "driver_module": "pcieportdrv", - "drivers": [ - "pcieport" - ], - "driver_modules": [ - "pcieportdrv" - ], + "drivers": ["pcieport"], + "driver_modules": ["pcieportdrv"], "module_alias": "pci:v000014E4d00002711sv00000000sd00000000bc06sc04i00" } ], @@ -76,13 +69,7 @@ "family": 0, "model": 3, "stepping": 0, - "features": [ - "fp", - "asimd", - "evtstrm", - "crc32", - "cpuid" - ], + "features": ["fp", "asimd", "evtstrm", "crc32", "cpuid"], "bogo": 108, "page_size": 4096, "physical_id": 0, @@ -98,13 +85,51 @@ "disk": [ { "index": 16, - "attached_to": 7, - "class_list": [ - "disk", - "usb", - "scsi", - "block_device" + "attached_to": 14, + "class_list": ["disk", "block_device"], + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "serial": "0xfb330ff6", + "model": "Disk", + "sysfs_id": "/class/block/mmcblk1", + "sysfs_bus_id": "mmc1:59b4", + "sysfs_device_link": "/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc1/mmc1:59b4", + "unix_device_names": [ + "/dev/disk/by-id/mmc-SD64G_0xfb330ff6", + "/dev/disk/by-path/platform-fe340000.mmc", + "/dev/mmcblk1" ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 1947968, + "heads": 4, + "sectors": 16, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 124669952, + "value_2": 512 + } + ], + "driver": "sdhci-iproc", + "drivers": ["mmcblk", "sdhci-iproc"] + }, + { + "index": 17, + "attached_to": 7, + "class_list": ["disk", "usb", "scsi", "block_device"], "bus_type": { "hex": "0084", "name": "SCSI", @@ -125,115 +150,41 @@ "value": 0 }, "vendor": { - "hex": "152d", - "value": 5421 + "hex": "05e3", + "name": "Generic", + "value": 1507 }, "device": { - "hex": "0561", - "name": "1", - "value": 1377 + "hex": "0749", + "name": "STORAGE DEVICE", + "value": 1865 }, "revision": { "hex": "0000", - "name": "~", + "name": "1532", "value": 0 }, - "serial": "000000004EBF", - "model": "1", - "sysfs_id": "/class/block/sdb", - "sysfs_bus_id": "0:0:0:1", - "sysfs_device_link": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:1", + "serial": "000000001532", + "model": "Generic STORAGE DEVICE", + "sysfs_id": "/class/block/sda", + "sysfs_bus_id": "0:0:0:0", + "sysfs_device_link": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/host0/target0:0:0/0:0:0:0", "unix_device_names": [ - "/dev/disk/by-id/ata-ST20000NM002H-3KV133_ZYDBSJRE", - "/dev/disk/by-id/usb-USB_3.0_Device_1_000000004EBF-0:1", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:1", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv3-0:1:1.0-scsi-0:0:0:1", - "/dev/sdb" + "/dev/disk/by-id/usb-Generic_STORAGE_DEVICE_000000001532-0:0", + "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-scsi-0:0:0:0", + "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv2-0:1.1:1.0-scsi-0:0:0:0", + "/dev/sda" ], - "unix_device_name2": "/dev/sg1", + "unix_device_name2": "/dev/sg0", "resources": [ { - "type": "disk_geo", - "cylinders": 19074048, - "heads": 64, - "sectors": 32, - "size": "0x0", - "geo_type": "logical" + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 }, - { - "type": "size", - "unit": "sectors", - "value_1": 39063650304, - "value_2": 512 - } - ], - "driver": "uas", - "driver_module": "uas", - "drivers": [ - "sd", - "uas" - ], - "driver_modules": [ - "uas" - ], - "module_alias": "usb:v152Dp0561dB9D1dc00dsc00dp00ic08isc06ip62in00" - }, - { - "index": 17, - "attached_to": 7, - "class_list": [ - "disk", - "usb", - "scsi", - "block_device" - ], - "bus_type": { - "hex": "0084", - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 1, - "number": 0 - }, - "base_class": { - "hex": "0106", - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "hex": "0000", - "name": "Disk", - "value": 0 - }, - "vendor": { - "hex": "0781", - "name": "SanDisk", - "value": 1921 - }, - "device": { - "hex": "cfcb", - "name": "SDDR-B531", - "value": 53195 - }, - "revision": { - "hex": "0000", - "name": "2920", - "value": 0 - }, - "serial": "000000002920", - "model": "SanDisk SDDR-B531", - "sysfs_id": "/class/block/sdc", - "sysfs_bus_id": "1:0:0:0", - "sysfs_device_link": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2/2-2:1.0/host1/target1:0:0/1:0:0:0", - "unix_device_names": [ - "/dev/disk/by-id/usb-SanDisk_SDDR-B531_0525220000037317-0:0", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv3-0:2:1.0-scsi-0:0:0:0", - "/dev/sdc" - ], - "unix_device_name2": "/dev/sg2", - "resources": [ { "type": "disk_geo", "cylinders": 31166, @@ -251,154 +202,16 @@ ], "driver": "usb-storage", "driver_module": "usb_storage", - "drivers": [ - "sd", - "usb-storage" - ], - "driver_modules": [ - "usb_storage" - ], - "module_alias": "usb:v0781pCFCBd2920dc00dsc00dp00ic08isc06ip50in00" - }, - { - "index": 18, - "attached_to": 14, - "class_list": [ - "disk", - "block_device" - ], - "base_class": { - "hex": "0106", - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "hex": "0000", - "name": "Disk", - "value": 0 - }, - "serial": "0x8336354b", - "model": "Disk", - "sysfs_id": "/class/block/mmcblk1", - "sysfs_bus_id": "mmc1:aaaa", - "sysfs_device_link": "/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc1/mmc1:aaaa", - "unix_device_names": [ - "/dev/disk/by-id/mmc-SD64G_0x8336354b", - "/dev/disk/by-path/platform-fe340000.mmc", - "/dev/mmcblk1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 1948992, - "heads": 4, - "sectors": 16, - "size": "0x0", - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 124735488, - "value_2": 512 - } - ], - "driver": "sdhci-iproc", - "drivers": [ - "mmcblk", - "sdhci-iproc" - ] - }, - { - "index": 19, - "attached_to": 7, - "class_list": [ - "disk", - "usb", - "scsi", - "block_device" - ], - "bus_type": { - "hex": "0084", - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0106", - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "hex": "0000", - "name": "Disk", - "value": 0 - }, - "vendor": { - "hex": "152d", - "value": 5421 - }, - "device": { - "hex": "0561", - "name": "0", - "value": 1377 - }, - "revision": { - "hex": "0000", - "name": "~", - "value": 0 - }, - "serial": "000000004EBF", - "model": "0", - "sysfs_id": "/class/block/sda", - "sysfs_bus_id": "0:0:0:0", - "sysfs_device_link": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0", - "unix_device_names": [ - "/dev/disk/by-id/ata-ST20000NM002H-3KV133_ZYDBVV7Z", - "/dev/disk/by-id/usb-USB_3.0_Device_0_000000004EBF-0:0", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv3-0:1:1.0-scsi-0:0:0:0", - "/dev/sda" - ], - "unix_device_name2": "/dev/sg0", - "resources": [ - { - "type": "disk_geo", - "cylinders": 19074048, - "heads": 64, - "sectors": 32, - "size": "0x0", - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 39063650304, - "value_2": 512 - } - ], - "driver": "uas", - "driver_module": "uas", - "drivers": [ - "sd", - "uas" - ], - "driver_modules": [ - "uas" - ] + "drivers": ["sd", "usb-storage"], + "driver_modules": ["usb_storage"], + "module_alias": "usb:v05E3p0749d1532dc00dsc00dp00ic08isc06ip50in00" } ], "hub": [ { - "index": 24, + "index": 20, "attached_to": 7, - "class_list": [ - "usb", - "hub" - ], + "class_list": ["usb", "hub"], "bus_type": { "hex": "0086", "name": "USB", @@ -471,21 +284,14 @@ "hotplug": "usb", "driver": "hub", "driver_module": "usbcore", - "drivers": [ - "hub" - ], - "driver_modules": [ - "usbcore" - ], + "drivers": ["hub"], + "driver_modules": ["usbcore"], "module_alias": "usb:v1D6Bp0002d0612dc09dsc00dp01ic09isc00ip00in00" }, { - "index": 25, - "attached_to": 24, - "class_list": [ - "usb", - "hub" - ], + "index": 22, + "attached_to": 20, + "class_list": ["usb", "hub"], "bus_type": { "hex": "0086", "name": "USB", @@ -556,21 +362,14 @@ "hotplug": "usb", "driver": "hub", "driver_module": "usbcore", - "drivers": [ - "hub" - ], - "driver_modules": [ - "usbcore" - ], + "drivers": ["hub"], + "driver_modules": ["usbcore"], "module_alias": "usb:v2109p3431d0421dc09dsc00dp01ic09isc00ip00in00" }, { - "index": 26, + "index": 23, "attached_to": 7, - "class_list": [ - "usb", - "hub" - ], + "class_list": ["usb", "hub"], "bus_type": { "hex": "0086", "name": "USB", @@ -633,23 +432,16 @@ "hotplug": "usb", "driver": "hub", "driver_module": "usbcore", - "drivers": [ - "hub" - ], - "driver_modules": [ - "usbcore" - ], + "drivers": ["hub"], + "driver_modules": ["usbcore"], "module_alias": "usb:v1D6Bp0003d0612dc09dsc00dp03ic09isc00ip00in00" } ], "keyboard": [ { - "index": 20, - "attached_to": 25, - "class_list": [ - "keyboard", - "usb" - ], + "index": 21, + "attached_to": 22, + "class_list": ["keyboard", "usb"], "bus_type": { "hex": "0086", "name": "USB", @@ -675,22 +467,28 @@ "value": 1133 }, "device": { - "hex": "c534", - "name": "USB Receiver", - "value": 50484 + "hex": "c31c", + "name": "USB Keyboard", + "value": 49948 }, "revision": { "hex": "0000", - "name": "52.00", + "name": "49.00", "value": 0 }, - "model": "Logitech USB Receiver", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0", - "sysfs_bus_id": "1-1.4:1.0", + "model": "Logitech USB Keyboard", + "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0", + "sysfs_bus_id": "1-1.3:1.0", + "unix_device_names": [ + "/dev/input/by-id/usb-Logitech_USB_Keyboard-event-kbd", + "/dev/input/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-event-kbd", + "/dev/input/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv2-0:1.3:1.0-event-kbd", + "/dev/input/event2" + ], "resources": [ { "type": "baud", - "speed": 12000000, + "speed": 1500000, "bits": 0, "stop_bits": 0, "parity": 0, @@ -726,26 +524,20 @@ "hotplug": "usb", "driver": "usbhid", "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], + "drivers": ["usbhid"], + "driver_modules": ["usbhid"], "driver_info": { "type": "keyboard", "xkb_rules": "xfree86" }, - "module_alias": "usb:v046DpC534d5200dc00dsc00dp00ic03isc01ip01in00" + "module_alias": "usb:v046DpC31Cd4900dc00dsc00dp00ic03isc01ip01in00" } ], "memory": [ { "index": 6, "attached_to": 0, - "class_list": [ - "memory" - ], + "class_list": ["memory"], "base_class": { "hex": "0101", "name": "Internally Used Class", @@ -769,9 +561,7 @@ { "index": 14, "attached_to": 0, - "class_list": [ - "mmc_controller" - ], + "class_list": ["mmc_controller"], "bus_type": { "hex": "0093", "name": "MMC", @@ -789,19 +579,15 @@ "vendor": "", "device": "SD Controller 1", "model": "SD Controller 1", - "sysfs_id": "/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc1/mmc1:aaaa", - "sysfs_bus_id": "mmc1:aaaa", + "sysfs_id": "/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc1/mmc1:59b4", + "sysfs_bus_id": "mmc1:59b4", "driver": "mmcblk", - "drivers": [ - "mmcblk" - ] + "drivers": ["mmcblk"] }, { "index": 15, "attached_to": 0, - "class_list": [ - "mmc_controller" - ], + "class_list": ["mmc_controller"], "bus_type": { "hex": "0093", "name": "MMC", @@ -823,120 +609,11 @@ "sysfs_bus_id": "mmc0:0001" } ], - "mouse": [ - { - "index": 23, - "attached_to": 25, - "class_list": [ - "mouse", - "usb" - ], - "bus_type": { - "hex": "0086", - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0105", - "name": "Mouse", - "value": 261 - }, - "sub_class": { - "hex": "0003", - "name": "USB Mouse", - "value": 3 - }, - "vendor": { - "hex": "046d", - "name": "Logitech Inc.", - "value": 1133 - }, - "device": { - "hex": "c534", - "name": "USB Receiver", - "value": 50484 - }, - "revision": { - "hex": "0000", - "name": "52.00", - "value": 0 - }, - "compat_vendor": "Unknown", - "compat_device": "Generic USB Mouse", - "model": "Logitech USB Receiver", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1", - "sysfs_bus_id": "1-1.4:1.1", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "hex": "0000", - "name": "per_interface", - "value": 0 - }, - "device_subclass": { - "hex": "0000", - "name": "per_interface", - "value": 0 - }, - "device_protocol": 0, - "interface_class": { - "hex": "0003", - "name": "hid", - "value": 3 - }, - "interface_subclass": { - "hex": "0001", - "name": "audio", - "value": 1 - }, - "interface_protocol": 2, - "interface_number": 1, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "usbhid", - "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], - "driver_info": { - "type": "mouse", - "db_entry_0": [ - "explorerps/2", - "exps2" - ], - "xf86": "explorerps/2", - "gpm": "exps2", - "buttons": -1, - "wheels": -1 - }, - "module_alias": "usb:v046DpC534d5200dc00dsc00dp00ic03isc01ip02in01" - } - ], "network_controller": [ { "index": 10, "attached_to": 0, - "class_list": [ - "network_controller", - "wlan_card" - ], + "class_list": ["network_controller", "wlan_card"], "bus_type": { "hex": "0094", "name": "SDIO", @@ -969,13 +646,11 @@ "model": "Broadcom BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", "sysfs_id": "/devices/platform/soc/fe300000.mmc/mmc_host/mmc0/mmc0:0001/mmc0:0001:1", "sysfs_bus_id": "mmc0:0001:1", - "unix_device_names": [ - "wlan0" - ], + "unix_device_names": ["wlan0"], "resources": [ { "type": "hwaddr", - "address": 100 + "address": 54 }, { "type": "phwaddr", @@ -1051,38 +726,20 @@ "5.72", "5.745" ], - "auth_modes": [ - "open", - "sharedkey", - "wpa-psk", - "wpa-eap" - ], - "enc_modes": [ - "WEP40", - "WEP104", - "TKIP", - "CCMP" - ] + "auth_modes": ["open", "sharedkey", "wpa-psk", "wpa-eap"], + "enc_modes": ["WEP40", "WEP104", "TKIP", "CCMP"] } ], "driver": "brcmfmac", "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ], + "drivers": ["brcmfmac"], + "driver_modules": ["brcmfmac", "brcmfmac", "brcmfmac"], "module_alias": "sdio:c00v02D0dA9A6" }, { "index": 12, "attached_to": 0, - "class_list": [ - "network_controller" - ], + "class_list": ["network_controller"], "base_class": { "hex": "0002", "name": "Network controller", @@ -1101,9 +758,7 @@ "model": "ARM Ethernet controller", "sysfs_id": "/devices/platform/scb/fd580000.ethernet", "sysfs_bus_id": "fd580000.ethernet", - "unix_device_names": [ - "end0" - ], + "unix_device_names": ["end0"], "resources": [ { "type": "hwaddr", @@ -1116,22 +771,16 @@ ], "driver": "bcmgenet", "driver_module": "genet", - "drivers": [ - "bcmgenet" - ], - "driver_modules": [ - "genet" - ], + "drivers": ["bcmgenet"], + "driver_modules": ["genet"], "module_alias": "of:NethernetT(null)Cbrcm,bcm2711-genet-v5" } ], "network_interface": [ { - "index": 27, + "index": 24, "attached_to": 12, - "class_list": [ - "network_interface" - ], + "class_list": ["network_interface"], "base_class": { "hex": "0107", "name": "Network Interface", @@ -1145,9 +794,7 @@ "model": "Ethernet network interface", "sysfs_id": "/class/net/end0", "sysfs_device_link": "/devices/platform/scb/fd580000.ethernet", - "unix_device_names": [ - "end0" - ], + "unix_device_names": ["end0"], "resources": [ { "type": "hwaddr", @@ -1160,19 +807,13 @@ ], "driver": "bcmgenet", "driver_module": "genet", - "drivers": [ - "bcmgenet" - ], - "driver_modules": [ - "genet" - ] + "drivers": ["bcmgenet"], + "driver_modules": ["genet"] }, { - "index": 28, + "index": 25, "attached_to": 0, - "class_list": [ - "network_interface" - ], + "class_list": ["network_interface"], "base_class": { "hex": "0107", "name": "Network Interface", @@ -1185,16 +826,12 @@ }, "model": "Loopback network interface", "sysfs_id": "/class/net/lo", - "unix_device_names": [ - "lo" - ] + "unix_device_names": ["lo"] }, { - "index": 29, + "index": 26, "attached_to": 10, - "class_list": [ - "network_interface" - ], + "class_list": ["network_interface"], "base_class": { "hex": "0107", "name": "Network Interface", @@ -1208,13 +845,11 @@ "model": "WLAN network interface", "sysfs_id": "/class/net/wlan0", "sysfs_device_link": "/devices/platform/soc/fe300000.mmc/mmc_host/mmc0/mmc0:0001/mmc0:0001:1", - "unix_device_names": [ - "wlan0" - ], + "unix_device_names": ["wlan0"], "resources": [ { "type": "hwaddr", - "address": 100 + "address": 54 }, { "type": "phwaddr", @@ -1223,14 +858,8 @@ ], "driver": "brcmfmac", "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ] + "drivers": ["brcmfmac"], + "driver_modules": ["brcmfmac", "brcmfmac", "brcmfmac"] } ], "system": {}, @@ -1238,9 +867,7 @@ { "index": 9, "attached_to": 0, - "class_list": [ - "unknown" - ], + "class_list": ["unknown"], "bus_type": { "hex": "0094", "name": "SDIO", @@ -1278,9 +905,7 @@ { "index": 11, "attached_to": 0, - "class_list": [ - "unknown" - ], + "class_list": ["unknown"], "bus_type": { "hex": "0094", "name": "SDIO", @@ -1315,25 +940,108 @@ "sysfs_bus_id": "mmc0:0001:2", "driver": "brcmfmac", "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ], + "drivers": ["brcmfmac"], + "driver_modules": ["brcmfmac", "brcmfmac", "brcmfmac"], "module_alias": "sdio:c00v02D0dA9A6" } ], + "usb": [ + { + "index": 18, + "attached_to": 22, + "class_list": ["usb", "unknown"], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0000", + "name": "Unclassified device", + "value": 0 + }, + "sub_class": { + "hex": "0000", + "name": "Unclassified device", + "value": 0 + }, + "vendor": { + "hex": "046d", + "name": "Logitech Inc.", + "value": 1133 + }, + "device": { + "hex": "c31c", + "name": "USB Keyboard", + "value": 49948 + }, + "revision": { + "hex": "0000", + "name": "49.00", + "value": 0 + }, + "model": "Logitech USB Keyboard", + "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1", + "sysfs_bus_id": "1-1.3:1.1", + "unix_device_names": [ + "/dev/input/by-id/usb-Logitech_USB_Keyboard-event-if01", + "/dev/input/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.1-event", + "/dev/input/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv2-0:1.3:1.1-event", + "/dev/input/event3" + ], + "resources": [ + { + "type": "baud", + "speed": 1500000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "hex": "0003", + "name": "hid", + "value": 3 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 1, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "usbhid", + "driver_module": "usbhid", + "drivers": ["usbhid"], + "driver_modules": ["usbhid"], + "module_alias": "usb:v046DpC31Cd4900dc00dsc00dp00ic03isc00ip00in01" + } + ], "usb_controller": [ { "index": 7, "attached_to": 8, - "class_list": [ - "usb_controller", - "pci" - ], + "class_list": ["usb_controller", "pci"], "bus_type": { "hex": "0004", "name": "PCI", @@ -1389,20 +1097,14 @@ }, "driver": "xhci_hcd", "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], + "drivers": ["xhci_hcd"], + "driver_modules": ["xhci_pci"], "module_alias": "pci:v00001106d00003483sv00001106sd00003483bc0Csc03i30" }, { "index": 13, "attached_to": 0, - "class_list": [ - "usb_controller" - ], + "class_list": ["usb_controller"], "base_class": { "hex": "000c", "name": "Serial bus controller", @@ -1427,22 +1129,14 @@ "sysfs_id": "/devices/platform/soc/fe980000.usb", "sysfs_bus_id": "fe980000.usb", "driver": "dwc2", - "drivers": [ - "dwc2" - ], + "drivers": ["dwc2"], "driver_info": { "type": "module", - "db_entry_0": [ - "uhci-hcd" - ], + "db_entry_0": ["uhci-hcd"], "active": false, "modprobe": true, - "names": [ - "uhci-hcd" - ], - "module_args": [ - "" - ], + "names": ["uhci-hcd"], + "module_args": [""], "conf": "" }, "module_alias": "of:NusbT(null)Cbrcm,bcm2835-usb"