From a58aa96a6094d27391e10fee262053681ec70601 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 7 Nov 2024 20:47:40 +0100 Subject: [PATCH] Add configuration for gamepc --- machines/default.nix | 1 + machines/gamepc/configuration.nix | 79 + machines/gamepc/default.nix | 4 + machines/gamepc/facter.json | 4792 +++++++++++++++++++++++++++++ nixos/cinnamon.nix | 13 + nixos/default.nix | 10 +- nixos/gnome.nix | 10 +- nixos/stylix.nix | 52 +- 8 files changed, 4929 insertions(+), 32 deletions(-) create mode 100644 machines/gamepc/configuration.nix create mode 100644 machines/gamepc/default.nix create mode 100644 machines/gamepc/facter.json create mode 100644 nixos/cinnamon.nix diff --git a/machines/default.nix b/machines/default.nix index dcd2799..521f4dc 100644 --- a/machines/default.nix +++ b/machines/default.nix @@ -1,3 +1,4 @@ { sue = import ./sue; + gamepc = import ./gamepc; } diff --git a/machines/gamepc/configuration.nix b/machines/gamepc/configuration.nix new file mode 100644 index 0000000..eb1eaaa --- /dev/null +++ b/machines/gamepc/configuration.nix @@ -0,0 +1,79 @@ +{lib, ...}: { + config = { + pim = { + cinnamon.enable = true; + }; + + facter.reportPath = ./facter.json; + + networking.hostName = "gamepc"; + + boot = { + loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + }; + + disko.devices.disk = lib.genAttrs ["0" "1"] (name: { + type = "disk"; + device = "/dev/nvme${name}n1"; + content = { + type = "gpt"; + partitions = { + ESP = { + size = "500M"; + type = "EF00"; + content = { + type = "mdraid"; + name = "boot"; + }; + }; + mdadm = { + size = "100%"; + content = { + type = "mdraid"; + name = "raid0"; + }; + }; + }; + }; + }); + + disko.devices.mdadm = { + boot = { + type = "mdadm"; + level = 0; + # metadata = "1.0"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + }; + }; + raid0 = { + type = "mdadm"; + level = 0; + content = { + type = "gpt"; + partitions = { + primary = { + end = "-1G"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + swap = { + size = "100%"; + content = { + type = "swap"; + }; + }; + }; + }; + }; + }; + }; +} diff --git a/machines/gamepc/default.nix b/machines/gamepc/default.nix new file mode 100644 index 0000000..4c61bdc --- /dev/null +++ b/machines/gamepc/default.nix @@ -0,0 +1,4 @@ +{ + nixosModule = import ./configuration.nix; + homeManagerModule = {...}: {}; +} diff --git a/machines/gamepc/facter.json b/machines/gamepc/facter.json new file mode 100644 index 0000000..a197951 --- /dev/null +++ b/machines/gamepc/facter.json @@ -0,0 +1,4792 @@ +{ + "version": 1, + "system": "x86_64-linux", + "virtualisation": "none", + "hardware": { + "bios": { + "apm_info": { + "supported": false, + "enabled": false, + "version": 0, + "sub_version": 0, + "bios_flags": 0 + }, + "vbe_info": { + "version": 0, + "video_memory": 0 + }, + "pnp": true, + "pnp_id": 0, + "lba_support": false, + "low_memory_size": 650240, + "smbios_version": 771 + }, + "bluetooth": [ + { + "index": 62, + "attached_to": 60, + "class_list": [ + "usb", + "bluetooth" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Bluetooth Device", + "value": 277 + }, + "vendor": { + "value": 9047 + }, + "device": { + "name": "TP-Link UB500 Adapter", + "value": 1540 + }, + "revision": { + "name": "2.00", + "value": 0 + }, + "serial": "E848B8C82000", + "model": "TP-Link UB500 Adapter", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-1/3-1:1.0", + "sysfs_bus_id": "3-1:1.0", + "resources": [ + { + "type": "baud", + "speed": 12000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "wireless", + "value": 224 + }, + "device_subclass": { + "name": "audio", + "value": 1 + }, + "device_protocol": 1, + "interface_class": { + "name": "wireless", + "value": 224 + }, + "interface_subclass": { + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "btusb", + "driver_module": "btusb", + "drivers": [ + "btusb" + ], + "driver_modules": [ + "btusb" + ], + "module_alias": "usb:v2357p0604d0200dcE0dsc01dp01icE0isc01ip01in00" + }, + { + "index": 68, + "attached_to": 60, + "class_list": [ + "usb", + "bluetooth" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Bluetooth Device", + "value": 277 + }, + "vendor": { + "value": 9047 + }, + "device": { + "name": "TP-Link UB500 Adapter", + "value": 1540 + }, + "revision": { + "name": "2.00", + "value": 0 + }, + "serial": "E848B8C82000", + "model": "TP-Link UB500 Adapter", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-1/3-1:1.1", + "sysfs_bus_id": "3-1:1.1", + "resources": [ + { + "type": "baud", + "speed": 12000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "wireless", + "value": 224 + }, + "device_subclass": { + "name": "audio", + "value": 1 + }, + "device_protocol": 1, + "interface_class": { + "name": "wireless", + "value": 224 + }, + "interface_subclass": { + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 1, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "btusb", + "driver_module": "btusb", + "drivers": [ + "btusb" + ], + "driver_modules": [ + "btusb" + ], + "module_alias": "usb:v2357p0604d0200dcE0dsc01dp01icE0isc01ip01in01" + } + ], + "bridge": [ + { + "index": 16, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 3 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5251 + }, + "sub_device": { + "value": 5203 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:03.1", + "sysfs_bus_id": "0000:00:03.1", + "sysfs_iommu_group_id": 5, + "resources": [ + { + "type": "irq", + "base": 29, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 1, + "command": 1031, + "header_type": 1, + "secondary_bus": 5, + "irq": 29, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00" + }, + { + "index": 17, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 8 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:08.0", + "sysfs_bus_id": "0000:00:08.0", + "sysfs_iommu_group_id": 10, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 18, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5187 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.3", + "sysfs_bus_id": "0000:00:18.3", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 3, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "driver": "k10temp", + "driver_module": "k10temp", + "drivers": [ + "k10temp" + ], + "driver_modules": [ + "k10temp" + ], + "module_alias": "pci:v00001022d00001443sv00000000sd00000000bc06sc00i00" + }, + { + "index": 20, + "attached_to": 21, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 6945 + }, + "device": { + "value": 17385 + }, + "sub_device": { + "value": 513 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2", + "sysfs_bus_id": "0000:02:00.2", + "sysfs_iommu_group_id": 15, + "resources": [ + { + "type": "irq", + "base": 33, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 2, + "command": 7, + "header_type": 1, + "secondary_bus": 3, + "irq": 33, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d000043E9sv00001B21sd00000201bc06sc04i00" + }, + { + "index": 21, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 1 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5251 + }, + "sub_device": { + "value": 5203 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2", + "sysfs_bus_id": "0000:00:01.2", + "sysfs_iommu_group_id": 2, + "resources": [ + { + "type": "irq", + "base": 28, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 2, + "command": 1031, + "header_type": 1, + "secondary_bus": 2, + "irq": 28, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00" + }, + { + "index": 22, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5185 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.1", + "sysfs_bus_id": "0000:00:18.1", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 1, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001441sv00000000sd00000000bc06sc00i00" + }, + { + "index": 24, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 1 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:01.0", + "sysfs_bus_id": "0000:00:01.0", + "sysfs_iommu_group_id": 0, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 26, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 4 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:04.0", + "sysfs_bus_id": "0000:00:04.0", + "sysfs_iommu_group_id": 6, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 27, + "attached_to": 20, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 3, + "number": 9 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 6945 + }, + "device": { + "value": 17386 + }, + "sub_device": { + "value": 13064 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0", + "sysfs_bus_id": "0000:03:09.0", + "sysfs_iommu_group_id": 15, + "resources": [ + { + "type": "irq", + "base": 35, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 4, + "irq": 35, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00" + }, + { + "index": 28, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 20 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "ISA bridge", + "value": 1 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 5208 + }, + "device": { + "value": 30990 + }, + "sub_device": { + "value": 20481 + }, + "revision": { + "value": 81 + }, + "model": "AMD ISA bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:14.3", + "sysfs_bus_id": "0000:00:14.3", + "sysfs_iommu_group_id": 12, + "detail": { + "function": 3, + "command": 15, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d0000790Esv00001458sd00005001bc06sc01i00" + }, + { + "index": 30, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 7 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:07.0", + "sysfs_bus_id": "0000:00:07.0", + "sysfs_iommu_group_id": 8, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 33, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5190 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.6", + "sysfs_bus_id": "0000:00:18.6", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 6, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001446sv00000000sd00000000bc06sc00i00" + }, + { + "index": 35, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5248 + }, + "sub_device": { + "value": 5248 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:00.0", + "sysfs_bus_id": "0000:00:00.0", + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001480sv00001022sd00001480bc06sc00i00" + }, + { + "index": 36, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 8 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5252 + }, + "sub_device": { + "value": 5252 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1", + "sysfs_bus_id": "0000:00:08.1", + "sysfs_iommu_group_id": 11, + "resources": [ + { + "type": "irq", + "base": 32, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 1, + "command": 1031, + "header_type": 1, + "secondary_bus": 9, + "irq": 32, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d00001484sv00001022sd00001484bc06sc04i00" + }, + { + "index": 37, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5188 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.4", + "sysfs_bus_id": "0000:00:18.4", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 4, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001444sv00000000sd00000000bc06sc00i00" + }, + { + "index": 39, + "attached_to": 44, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 6, + "number": 0 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "ATI Technologies Inc", + "value": 4098 + }, + "sub_vendor": { + "name": "ATI Technologies Inc", + "value": 4098 + }, + "device": { + "value": 5241 + }, + "sub_device": { + "value": 5241 + }, + "model": "ATI PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:05:00.0/0000:06:00.0", + "sysfs_bus_id": "0000:06:00.0", + "sysfs_iommu_group_id": 17, + "resources": [ + { + "type": "irq", + "base": 37, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 7, + "irq": 37, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001002d00001479sv00001002sd00001479bc06sc04i00" + }, + { + "index": 40, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 3 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:03.0", + "sysfs_bus_id": "0000:00:03.0", + "sysfs_iommu_group_id": 4, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 41, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5186 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.2", + "sysfs_bus_id": "0000:00:18.2", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 2, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001442sv00000000sd00000000bc06sc00i00" + }, + { + "index": 43, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 1 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5251 + }, + "sub_device": { + "value": 5203 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:01.1", + "sysfs_bus_id": "0000:00:01.1", + "sysfs_iommu_group_id": 1, + "resources": [ + { + "type": "irq", + "base": 27, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 1, + "command": 1031, + "header_type": 1, + "secondary_bus": 1, + "irq": 27, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00" + }, + { + "index": 44, + "attached_to": 16, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 5, + "number": 0 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "ATI Technologies Inc", + "value": 4098 + }, + "device": { + "value": 5240 + }, + "revision": { + "value": 197 + }, + "model": "ATI PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:05:00.0", + "sysfs_bus_id": "0000:05:00.0", + "sysfs_iommu_group_id": 16, + "resources": [ + { + "type": "irq", + "base": 36, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4240441344, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 7, + "header_type": 1, + "secondary_bus": 6, + "irq": 36, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001002d00001478sv00000000sd00000000bc06sc04i00" + }, + { + "index": 45, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5184 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.0", + "sysfs_bus_id": "0000:00:18.0", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001440sv00000000sd00000000bc06sc00i00" + }, + { + "index": 46, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 7 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5252 + }, + "sub_device": { + "value": 5252 + }, + "model": "AMD PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:07.1", + "sysfs_bus_id": "0000:00:07.1", + "sysfs_iommu_group_id": 9, + "resources": [ + { + "type": "irq", + "base": 31, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 1, + "command": 1031, + "header_type": 1, + "secondary_bus": 8, + "irq": 31, + "prog_if": 0 + }, + "driver": "pcieport", + "drivers": [ + "pcieport" + ], + "module_alias": "pci:v00001022d00001484sv00001022sd00001484bc06sc04i00" + }, + { + "index": 49, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 2 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:02.0", + "sysfs_bus_id": "0000:00:02.0", + "sysfs_iommu_group_id": 3, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 50, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5191 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.7", + "sysfs_bus_id": "0000:00:18.7", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 7, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001447sv00000000sd00000000bc06sc00i00" + }, + { + "index": 53, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 5 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5250 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:05.0", + "sysfs_bus_id": "0000:00:05.0", + "sysfs_iommu_group_id": 7, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" + }, + { + "index": 54, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 24 + }, + "base_class": { + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5189 + }, + "model": "AMD Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:18.5", + "sysfs_bus_id": "0000:00:18.5", + "sysfs_iommu_group_id": 13, + "detail": { + "function": 5, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001445sv00000000sd00000000bc06sc00i00" + } + ], + "cdrom": [ + { + "index": 57, + "attached_to": 34, + "class_list": [ + "cdrom", + "usb", + "scsi", + "block_device" + ], + "bus_type": { + "name": "SCSI", + "value": 132 + }, + "slot": { + "bus": 6, + "number": 0 + }, + "base_class": { + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "name": "CD-ROM", + "value": 2 + }, + "pci_interface": { + "name": "CD-R", + "value": 1 + }, + "vendor": { + "name": "PiKVM", + "value": 7531 + }, + "device": { + "name": "CD-ROM Drive", + "value": 260 + }, + "revision": { + "name": "0606", + "value": 0 + }, + "serial": "CAFEBABE", + "model": "PiKVM CD-ROM Drive", + "sysfs_id": "/class/block/sr0", + "sysfs_bus_id": "6:0:0:0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-2/3-2:1.2/host6/target6:0:0/6:0:0:0", + "unix_device_name": "/dev/sr0", + "unix_device_number": { + "type": 98, + "major": 11, + "minor": 0, + "range": 1 + }, + "unix_device_names": [ + "/dev/cdrom", + "/dev/disk/by-diskseq/11", + "/dev/disk/by-id/usb-PiKVM_CD-ROM_Drive_CAFEBABE-0:0", + "/dev/disk/by-label/d-live\\x2012.7.0\\x20st\\x20amd64", + "/dev/disk/by-path/pci-0000:09:00.3-usb-0:2:1.2-scsi-0:0:0:0", + "/dev/disk/by-path/pci-0000:09:00.3-usbv2-0:2:1.2-scsi-0:0:0:0", + "/dev/disk/by-uuid/2024-08-31-09-45-30-00", + "/dev/sr0" + ], + "unix_device_name2": "/dev/sg0", + "unix_device_number2": { + "type": 99, + "major": 21, + "minor": 0, + "range": 1 + }, + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "driver": "usb-storage", + "driver_module": "usb_storage", + "drivers": [ + "sr", + "usb-storage" + ], + "driver_modules": [ + "sr_mod", + "usb_storage" + ], + "module_alias": "usb:v1D6Bp0104d0100dc00dsc00dp00ic08isc06ip50in02" + } + ], + "cpu": [ + { + "architecture": "x86_64", + "vendor_name": "AuthenticAMD", + "family": 25, + "model": 33, + "stepping": 2, + "features": [ + "fpu", + "vme", + "de", + "pse", + "tsc", + "msr", + "pae", + "mce", + "cx8", + "apic", + "sep", + "mtrr", + "pge", + "mca", + "cmov", + "pat", + "pse36", + "clflush", + "mmx", + "fxsr", + "sse", + "sse2", + "ht", + "syscall", + "nx", + "mmxext", + "fxsr_opt", + "pdpe1gb", + "rdtscp", + "lm", + "constant_tsc", + "rep_good", + "nopl", + "nonstop_tsc", + "cpuid", + "extd_apicid", + "aperfmperf", + "rapl", + "pni", + "pclmulqdq", + "monitor", + "ssse3", + "fma", + "cx16", + "sse4_1", + "sse4_2", + "x2apic", + "movbe", + "popcnt", + "aes", + "xsave", + "avx", + "f16c", + "rdrand", + "lahf_lm", + "cmp_legacy", + "svm", + "extapic", + "cr8_legacy", + "abm", + "sse4a", + "misalignsse", + "3dnowprefetch", + "osvw", + "ibs", + "skinit", + "wdt", + "tce", + "topoext", + "perfctr_core", + "perfctr_nb", + "bpext", + "perfctr_llc", + "mwaitx", + "cpb", + "cat_l3", + "cdp_l3", + "hw_pstate", + "ssbd", + "mba", + "ibrs", + "ibpb", + "stibp", + "vmmcall", + "fsgsbase", + "bmi1", + "avx2", + "smep", + "bmi2", + "erms", + "invpcid", + "cqm", + "rdt_a", + "rdseed", + "adx", + "smap", + "clflushopt", + "clwb", + "sha_ni", + "xsaveopt", + "xsavec", + "xgetbv1", + "xsaves", + "cqm_llc", + "cqm_occup_llc", + "cqm_mbm_total", + "cqm_mbm_local", + "user_shstk", + "clzero", + "irperf", + "xsaveerptr", + "rdpru", + "wbnoinvd", + "arat", + "npt", + "lbrv", + "svm_lock", + "nrip_save", + "tsc_scale", + "vmcb_clean", + "flushbyasid", + "decodeassists", + "pausefilter", + "pfthreshold", + "avic", + "v_vmsave_vmload", + "vgif", + "v_spec_ctrl", + "umip", + "pku", + "ospke", + "vaes", + "vpclmulqdq", + "rdpid", + "overflow_recov", + "succor", + "smca", + "fsrm", + "debug_swap" + ], + "bugs": [ + "sysret_ss_attrs", + "spectre_v1", + "spectre_v2", + "spec_store_bypass", + "srso" + ], + "power_management": [ + "ts", + "ttp", + "tm", + "hwpstate", + "cpb", + "eff_freq_ro", + "[13]", + "[14]" + ], + "bogo": 6986.84, + "cache": 512, + "units": 12, + "physical_id": 0, + "siblings": 12, + "cores": 6, + "fpu": true, + "fpu_exception": true, + "cpuid_level": 16, + "write_protect": false, + "tlb_size": 2560, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": 48, + "virtual": 48 + } + } + ], + "disk": [ + { + "index": 56, + "attached_to": 29, + "class_list": [ + "disk", + "block_device", + "nvme" + ], + "bus_type": { + "name": "NVME", + "value": 150 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "name": "Disk", + "value": 0 + }, + "vendor": { + "value": 5559 + }, + "sub_vendor": { + "value": 5559 + }, + "device": { + "name": "WD Blue SN570 1TB", + "value": 20506 + }, + "sub_device": { + "value": 20506 + }, + "serial": "231415801300", + "model": "WD Blue SN570 1TB", + "sysfs_id": "/class/block/nvme0n1", + "sysfs_bus_id": "nvme0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:01.1/0000:01:00.0/nvme/nvme0", + "unix_device_name": "/dev/nvme0n1", + "unix_device_number": { + "type": 98, + "major": 259, + "minor": 0, + "range": 0 + }, + "unix_device_names": [ + "/dev/disk/by-diskseq/1", + "/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231415801300", + "/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231415801300_1", + "/dev/disk/by-id/nvme-eui.e8238fa6bf530001001b448b4a4bb15e", + "/dev/disk/by-path/pci-0000:01:00.0-nvme-1", + "/dev/nvme0n1" + ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 953869, + "heads": 64, + "sectors": 32, + "size": 0, + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1953525168, + "value_2": 512 + } + ], + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ] + } + ], + "graphics_card": [ + { + "index": 31, + "attached_to": 39, + "class_list": [ + "graphics_card", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 7, + "number": 0 + }, + "base_class": { + "name": "Display controller", + "value": 3 + }, + "sub_class": { + "name": "VGA compatible controller", + "value": 0 + }, + "pci_interface": { + "name": "VGA", + "value": 0 + }, + "vendor": { + "name": "ATI Technologies Inc", + "value": 4098 + }, + "sub_vendor": { + "value": 5260 + }, + "device": { + "value": 29663 + }, + "sub_device": { + "value": 8976 + }, + "revision": { + "value": 197 + }, + "model": "ATI VGA compatible controller", + "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:05:00.0/0000:06:00.0/0000:07:00.0", + "sysfs_bus_id": "0000:07:00.0", + "sysfs_iommu_group_id": 18, + "resources": [ + { + "type": "io", + "base": 57344, + "range": 256, + "enabled": true, + "access": "read_write" + }, + { + "type": "irq", + "base": 83, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 3489660928, + "range": 268435456, + "enabled": true, + "access": "read_only", + "prefetch": "no" + }, + { + "type": "mem", + "base": 3758096384, + "range": 2097152, + "enabled": true, + "access": "read_only", + "prefetch": "no" + }, + { + "type": "mem", + "base": 4238344192, + "range": 1048576, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 786432, + "range": 131072, + "enabled": false, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 83, + "prog_if": 0 + }, + "driver": "amdgpu", + "driver_module": "amdgpu", + "drivers": [ + "amdgpu" + ], + "driver_modules": [ + "amdgpu" + ], + "module_alias": "pci:v00001002d000073DFsv0000148Csd00002310bc03sc00i00" + } + ], + "hub": [ + { + "index": 60, + "attached_to": 34, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Hub", + "value": 266 + }, + "vendor": { + "name": "Linux 6.6.32 xhci-hcd", + "value": 7531 + }, + "device": { + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "name": "6.06", + "value": 0 + }, + "serial": "0000:09:00.3", + "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-0:1.0", + "sysfs_bus_id": "3-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "hub", + "value": 9 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "drivers": [ + "hub" + ], + "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 63, + "attached_to": 34, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Hub", + "value": 266 + }, + "vendor": { + "name": "Linux 6.6.32 xhci-hcd", + "value": 7531 + }, + "device": { + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "name": "6.06", + "value": 0 + }, + "serial": "0000:09:00.3", + "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb4/4-0:1.0", + "sysfs_bus_id": "4-0:1.0", + "detail": { + "device_class": { + "name": "hub", + "value": 9 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "drivers": [ + "hub" + ], + "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" + }, + { + "index": 65, + "attached_to": 23, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Hub", + "value": 266 + }, + "vendor": { + "name": "Linux 6.6.32 xhci-hcd", + "value": 7531 + }, + "device": { + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "name": "6.06", + "value": 0 + }, + "serial": "0000:02:00.0", + "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-0:1.0", + "sysfs_bus_id": "1-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "hub", + "value": 9 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "drivers": [ + "hub" + ], + "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 69, + "attached_to": 23, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Hub", + "value": 266 + }, + "vendor": { + "name": "Linux 6.6.32 xhci-hcd", + "value": 7531 + }, + "device": { + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "name": "6.06", + "value": 0 + }, + "serial": "0000:02:00.0", + "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb2/2-0:1.0", + "sysfs_bus_id": "2-0:1.0", + "detail": { + "device_class": { + "name": "hub", + "value": 9 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "drivers": [ + "hub" + ], + "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" + } + ], + "keyboard": [ + { + "index": 66, + "attached_to": 60, + "class_list": [ + "keyboard", + "usb" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Keyboard", + "value": 264 + }, + "sub_class": { + "name": "Keyboard", + "value": 0 + }, + "vendor": { + "name": "PiKVM", + "value": 7531 + }, + "device": { + "name": "Composite KVM Device", + "value": 260 + }, + "revision": { + "name": "1.00", + "value": 0 + }, + "serial": "CAFEBABE", + "model": "PiKVM Composite KVM Device", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-2/3-2:1.0", + "sysfs_bus_id": "3-2:1.0", + "unix_device_name": "/dev/input/event1", + "unix_device_number": { + "type": 99, + "major": 13, + "minor": 65, + "range": 1 + }, + "unix_device_names": [ + "/dev/input/by-id/usb-PiKVM_Composite_KVM_Device_CAFEBABE-event-kbd", + "/dev/input/by-path/pci-0000:09:00.3-usb-0:2:1.0-event-kbd", + "/dev/input/by-path/pci-0000:09:00.3-usbv2-0:2:1.0-event-kbd", + "/dev/input/event1" + ], + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "name": "hid", + "value": 3 + }, + "interface_subclass": { + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "usbhid", + "driver_module": "usbhid", + "drivers": [ + "usbhid" + ], + "driver_modules": [ + "usbhid" + ], + "driver_info": { + "type": "keyboard", + "xkb_rules": "xfree86", + "xkb_model": "pc104" + }, + "module_alias": "usb:v1D6Bp0104d0100dc00dsc00dp00ic03isc01ip01in00" + }, + { + "index": 67, + "attached_to": 65, + "class_list": [ + "keyboard", + "usb" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Keyboard", + "value": 264 + }, + "sub_class": { + "name": "Keyboard", + "value": 0 + }, + "vendor": { + "name": "DELL", + "value": 16700 + }, + "device": { + "name": "Dell QuietKey Keyboard", + "value": 8454 + }, + "revision": { + "name": "1.01", + "value": 0 + }, + "model": "DELL Dell QuietKey Keyboard", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-1/1-1:1.0", + "sysfs_bus_id": "1-1:1.0", + "unix_device_name": "/dev/input/event0", + "unix_device_number": { + "type": 99, + "major": 13, + "minor": 64, + "range": 1 + }, + "unix_device_names": [ + "/dev/input/by-id/usb-DELL_Dell_QuietKey_Keyboard-event-kbd", + "/dev/input/by-path/pci-0000:02:00.0-usb-0:1:1.0-event-kbd", + "/dev/input/by-path/pci-0000:02:00.0-usbv2-0:1:1.0-event-kbd", + "/dev/input/event0" + ], + "resources": [ + { + "type": "baud", + "speed": 1500000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "name": "hid", + "value": 3 + }, + "interface_subclass": { + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "usbhid", + "driver_module": "usbhid", + "drivers": [ + "usbhid" + ], + "driver_modules": [ + "usbhid" + ], + "driver_info": { + "type": "keyboard", + "xkb_rules": "xfree86", + "xkb_model": "pc104" + }, + "module_alias": "usb:v413Cp2106d0101dc00dsc00dp00ic03isc01ip01in00" + } + ], + "memory": [ + { + "index": 15, + "attached_to": 0, + "class_list": [ + "memory" + ], + "base_class": { + "name": "Internally Used Class", + "value": 257 + }, + "sub_class": { + "name": "Main Memory", + "value": 2 + }, + "model": "Main Memory", + "resources": [ + { + "type": "mem", + "base": 0, + "range": 33571295232, + "enabled": true, + "access": "read_write", + "prefetch": "unknown" + }, + { + "type": "phys_mem", + "range": 34359738368 + } + ] + } + ], + "monitor": [ + { + "index": 55, + "attached_to": 31, + "class_list": [ + "monitor" + ], + "base_class": { + "name": "Monitor", + "value": 256 + }, + "sub_class": { + "name": "LCD Monitor", + "value": 2 + }, + "vendor": { + "name": "IIYAMA", + "value": 9933 + }, + "device": { + "name": "PL2792QN", + "value": 26200 + }, + "serial": "1179214201744", + "model": "IIYAMA PL2792QN", + "resources": [ + { + "type": "monitor", + "width": 1024, + "height": 768, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 1024, + "height": 768, + "vertical_frequency": 75, + "interlaced": false + }, + { + "type": "monitor", + "width": 1280, + "height": 1024, + "vertical_frequency": 75, + "interlaced": false + }, + { + "type": "monitor", + "width": 1600, + "height": 1200, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 1600, + "height": 900, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 2560, + "height": 1440, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 640, + "height": 480, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 640, + "height": 480, + "vertical_frequency": 75, + "interlaced": false + }, + { + "type": "monitor", + "width": 800, + "height": 600, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "monitor", + "width": 800, + "height": 600, + "vertical_frequency": 75, + "interlaced": false + }, + { + "type": "size", + "unit": "mm", + "value_1": 597, + "value_2": 336 + } + ], + "detail": { + "manufacture_year": 2021, + "manufacture_week": 42, + "vertical_sync": { + "min": 49, + "max": 76 + }, + "horizontal_sync": { + "min": 30, + "max": 120 + }, + "horizontal_sync_timings": { + "disp": 2560, + "sync_start": 2608, + "sync_end": 2640, + "total": 2720 + }, + "vertical_sync_timings": { + "disp": 1440, + "sync_start": 1443, + "sync_end": 1448, + "total": 1481 + }, + "clock": 241500, + "width": 2560, + "height": 1440, + "width_millimetres": 597, + "height_millimetres": 336, + "horizontal_flag": 45, + "vertical_flag": 43, + "vendor": "", + "name": "PL2792QN" + }, + "driver_info": { + "type": "display", + "width": 2560, + "height": 1440, + "vertical_sync": { + "min": 49, + "max": 76 + }, + "horizontal_sync": { + "min": 30, + "max": 120 + }, + "bandwidth": 0, + "horizontal_sync_timings": { + "disp": 2560, + "sync_start": 2608, + "sync_end": 2640, + "total": 2720 + }, + "vertical_sync_timings": { + "disp": 1440, + "sync_start": 1443, + "sync_end": 1448, + "total": 1481 + }, + "horizontal_flag": 45, + "vertical_flag": 43 + } + } + ], + "mouse": [ + { + "index": 58, + "attached_to": 65, + "class_list": [ + "mouse", + "usb" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Mouse", + "value": 261 + }, + "sub_class": { + "name": "USB Mouse", + "value": 3 + }, + "vendor": { + "name": "Logitech Inc.", + "value": 1133 + }, + "device": { + "name": "USB Optical Mouse", + "value": 49271 + }, + "revision": { + "name": "72.00", + "value": 0 + }, + "compat_vendor": "Unknown", + "compat_device": "Generic USB Mouse", + "model": "Logitech USB Optical Mouse", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2:1.0", + "sysfs_bus_id": "1-2:1.0", + "unix_device_name": "/dev/input/mice", + "unix_device_number": { + "type": 99, + "major": 13, + "minor": 63, + "range": 1 + }, + "unix_device_names": [ + "/dev/input/mice" + ], + "unix_device_name2": "/dev/input/mouse1", + "unix_device_number2": { + "type": 99, + "major": 13, + "minor": 33, + "range": 1 + }, + "resources": [ + { + "type": "baud", + "speed": 1500000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "name": "hid", + "value": 3 + }, + "interface_subclass": { + "name": "audio", + "value": 1 + }, + "interface_protocol": 2, + "interface_number": 0, + "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:v046DpC077d7200dc00dsc00dp00ic03isc01ip02in00" + }, + { + "index": 59, + "attached_to": 60, + "class_list": [ + "mouse", + "usb" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Mouse", + "value": 261 + }, + "sub_class": { + "name": "USB Mouse", + "value": 3 + }, + "vendor": { + "name": "PiKVM", + "value": 7531 + }, + "device": { + "name": "Composite KVM Device", + "value": 260 + }, + "revision": { + "name": "1.00", + "value": 0 + }, + "serial": "CAFEBABE", + "compat_vendor": "Unknown", + "compat_device": "Generic USB Mouse", + "model": "PiKVM Composite KVM Device", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-2/3-2:1.1", + "sysfs_bus_id": "3-2:1.1", + "unix_device_name": "/dev/input/mice", + "unix_device_number": { + "type": 99, + "major": 13, + "minor": 63, + "range": 1 + }, + "unix_device_names": [ + "/dev/input/mice" + ], + "unix_device_name2": "/dev/input/mouse0", + "unix_device_number2": { + "type": 99, + "major": 13, + "minor": 32, + "range": 1 + }, + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "name": "hid", + "value": 3 + }, + "interface_subclass": { + "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" + ], + "driver_info": { + "type": "mouse", + "db_entry_0": [ + "explorerps/2", + "exps2" + ], + "xf86": "explorerps/2", + "gpm": "exps2", + "buttons": -1, + "wheels": -1 + }, + "module_alias": "usb:v1D6Bp0104d0100dc00dsc00dp00ic03isc00ip00in01" + } + ], + "network_controller": [ + { + "index": 48, + "attached_to": 27, + "class_list": [ + "network_controller", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 4, + "number": 0 + }, + "base_class": { + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "name": "Ethernet controller", + "value": 0 + }, + "vendor": { + "value": 4332 + }, + "sub_vendor": { + "value": 5208 + }, + "device": { + "value": 33128 + }, + "sub_device": { + "value": 57344 + }, + "revision": { + "value": 21 + }, + "model": "Ethernet controller", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0/0000:04:00.0", + "sysfs_bus_id": "0000:04:00.0", + "sysfs_iommu_group_id": 15, + "unix_device_name": "enp4s0", + "unix_device_names": [ + "enp4s0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 55 + }, + { + "type": "io", + "base": 61440, + "range": 256, + "enabled": true, + "access": "read_write" + }, + { + "type": "irq", + "base": 34, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4241489920, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 4241506304, + "range": 4096, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "phwaddr", + "address": 55 + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 34, + "prog_if": 0 + }, + "driver": "r8169", + "driver_module": "r8169", + "drivers": [ + "r8169" + ], + "driver_modules": [ + "r8169" + ], + "module_alias": "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00" + } + ], + "network_interface": [ + { + "index": 70, + "attached_to": 48, + "class_list": [ + "network_interface" + ], + "base_class": { + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "name": "Ethernet", + "value": 1 + }, + "model": "Ethernet network interface", + "sysfs_id": "/class/net/enp4s0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0/0000:04:00.0", + "unix_device_name": "enp4s0", + "unix_device_names": [ + "enp4s0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 55 + }, + { + "type": "phwaddr", + "address": 55 + } + ], + "driver": "r8169", + "driver_module": "r8169", + "drivers": [ + "r8169" + ], + "driver_modules": [ + "r8169" + ] + }, + { + "index": 71, + "attached_to": 0, + "class_list": [ + "network_interface" + ], + "base_class": { + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "name": "Loopback", + "value": 0 + }, + "model": "Loopback network interface", + "sysfs_id": "/class/net/lo", + "unix_device_name": "lo", + "unix_device_names": [ + "lo" + ] + } + ], + "pci": [ + { + "index": 19, + "attached_to": 36, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 9, + "number": 0 + }, + "base_class": { + "value": 19 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5253 + }, + "sub_device": { + "value": 5253 + }, + "model": "unknown unknown", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.0", + "sysfs_bus_id": "0000:09:00.0", + "sysfs_iommu_group_id": 21, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001485sv00001022sd00001485bc13sc00i00" + }, + { + "index": 25, + "attached_to": 46, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 8, + "number": 0 + }, + "base_class": { + "value": 19 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5258 + }, + "sub_device": { + "value": 5258 + }, + "model": "unknown unknown", + "sysfs_id": "/devices/pci0000:00/0000:00:07.1/0000:08:00.0", + "sysfs_bus_id": "0000:08:00.0", + "sysfs_iommu_group_id": 20, + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d0000148Asv00001022sd0000148Abc13sc00i00" + }, + { + "index": 32, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "value": 6 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5249 + }, + "sub_device": { + "value": 5249 + }, + "model": "AMD Generic system peripheral", + "sysfs_id": "/devices/pci0000:00/0000:00:00.2", + "sysfs_bus_id": "0000:00:00.2", + "resources": [ + { + "type": "irq", + "base": 25, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 2, + "command": 1088, + "header_type": 0, + "secondary_bus": 0, + "irq": 25, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d00001481sv00001022sd00001481bc08sc06i00" + }, + { + "index": 38, + "attached_to": 36, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 9, + "number": 0 + }, + "base_class": { + "name": "Encryption controller", + "value": 16 + }, + "sub_class": { + "name": "Encryption controller", + "value": 128 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "name": "AMD", + "value": 4130 + }, + "device": { + "value": 5254 + }, + "sub_device": { + "value": 5254 + }, + "model": "AMD Encryption controller", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.1", + "sysfs_bus_id": "0000:09:00.1", + "sysfs_iommu_group_id": 22, + "resources": [ + { + "type": "irq", + "base": 75, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4236247040, + "range": 1048576, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 4237328384, + "range": 8192, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 1, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 75, + "prog_if": 0 + }, + "driver": "ccp", + "driver_module": "ccp", + "drivers": [ + "ccp" + ], + "driver_modules": [ + "ccp" + ], + "module_alias": "pci:v00001022d00001486sv00001022sd00001486bc10sc80i00" + }, + { + "index": 52, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 20 + }, + "base_class": { + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "name": "SMBus", + "value": 5 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 5208 + }, + "device": { + "value": 30987 + }, + "sub_device": { + "value": 20481 + }, + "revision": { + "value": 97 + }, + "model": "AMD SMBus", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0", + "sysfs_bus_id": "0000:00:14.0", + "sysfs_iommu_group_id": 12, + "detail": { + "function": 0, + "command": 1027, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00001022d0000790Bsv00001458sd00005001bc0Csc05i00" + } + ], + "sound": [ + { + "index": 47, + "attached_to": 39, + "class_list": [ + "sound", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 7, + "number": 0 + }, + "base_class": { + "name": "Multimedia controller", + "value": 4 + }, + "sub_class": { + "value": 3 + }, + "vendor": { + "name": "ATI Technologies Inc", + "value": 4098 + }, + "sub_vendor": { + "name": "ATI Technologies Inc", + "value": 4098 + }, + "device": { + "value": 43816 + }, + "sub_device": { + "value": 43816 + }, + "model": "ATI Multimedia controller", + "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:05:00.0/0000:06:00.0/0000:07:00.1", + "sysfs_bus_id": "0000:07:00.1", + "sysfs_iommu_group_id": 19, + "resources": [ + { + "type": "irq", + "base": 80, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4239523840, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 1, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 80, + "prog_if": 0 + }, + "driver": "snd_hda_intel", + "driver_module": "snd_hda_intel", + "drivers": [ + "snd_hda_intel" + ], + "driver_modules": [ + "snd_hda_intel" + ], + "module_alias": "pci:v00001002d0000AB28sv00001002sd0000AB28bc04sc03i00" + }, + { + "index": 51, + "attached_to": 36, + "class_list": [ + "sound", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 9, + "number": 0 + }, + "base_class": { + "name": "Multimedia controller", + "value": 4 + }, + "sub_class": { + "value": 3 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 5208 + }, + "device": { + "value": 5255 + }, + "sub_device": { + "value": 41364 + }, + "model": "AMD Multimedia controller", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.4", + "sysfs_bus_id": "0000:09:00.4", + "sysfs_iommu_group_id": 24, + "resources": [ + { + "type": "irq", + "base": 82, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4237295616, + "range": 32768, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 4, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 82, + "prog_if": 0 + }, + "driver": "snd_hda_intel", + "driver_module": "snd_hda_intel", + "drivers": [ + "snd_hda_intel" + ], + "driver_modules": [ + "snd_hda_intel" + ], + "module_alias": "pci:v00001022d00001487sv00001458sd0000A194bc04sc03i00", + "label": "Realtek ALC1220" + } + ], + "storage_controller": [ + { + "index": 29, + "attached_to": 43, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 1, + "number": 0 + }, + "base_class": { + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "value": 8 + }, + "pci_interface": { + "value": 2 + }, + "vendor": { + "value": 5559 + }, + "sub_vendor": { + "value": 5559 + }, + "device": { + "value": 20506 + }, + "sub_device": { + "value": 20506 + }, + "model": "Mass storage controller", + "sysfs_id": "/devices/pci0000:00/0000:00:01.1/0000:01:00.0", + "sysfs_bus_id": "0000:01:00.0", + "sysfs_iommu_group_id": 14, + "resources": [ + { + "type": "irq", + "base": 38, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4243587072, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 4243603456, + "range": 256, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 38, + "prog_if": 2 + }, + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ], + "module_alias": "pci:v000015B7d0000501Asv000015B7sd0000501Abc01sc08i02" + }, + { + "index": 42, + "attached_to": 21, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "value": 6 + }, + "pci_interface": { + "value": 1 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 6945 + }, + "device": { + "value": 17387 + }, + "sub_device": { + "value": 4194 + }, + "model": "AMD Mass storage controller", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.1", + "sysfs_bus_id": "0000:02:00.1", + "sysfs_iommu_group_id": 15, + "resources": [ + { + "type": "irq", + "base": 57, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4242538496, + "range": 524288, + "enabled": false, + "access": "read_only", + "prefetch": "no" + }, + { + "type": "mem", + "base": 4243062784, + "range": 131072, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 1, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 57, + "prog_if": 1 + }, + "driver": "ahci", + "driver_module": "ahci", + "drivers": [ + "ahci" + ], + "driver_modules": [ + "ahci" + ], + "module_alias": "pci:v00001022d000043EBsv00001B21sd00001062bc01sc06i01" + } + ], + "system": { + "form_factor": "desktop" + }, + "usb": [ + { + "index": 61, + "attached_to": 65, + "class_list": [ + "usb", + "unknown" + ], + "bus_type": { + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "name": "Unclassified device", + "value": 0 + }, + "sub_class": { + "name": "Unclassified device", + "value": 0 + }, + "vendor": { + "name": "Integrated Technology Express", + "value": 1165 + }, + "device": { + "name": "ITE Device", + "value": 22274 + }, + "revision": { + "name": "0.01", + "value": 0 + }, + "model": "Integrated Technology Express ITE Device", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/1-3:1.0", + "sysfs_bus_id": "1-3:1.0", + "resources": [ + { + "type": "baud", + "speed": 12000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "name": "hid", + "value": 3 + }, + "interface_subclass": { + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "usbhid", + "driver_module": "usbhid", + "drivers": [ + "usbhid" + ], + "driver_modules": [ + "usbhid" + ], + "module_alias": "usb:v048Dp5702d0001dc00dsc00dp00ic03isc00ip00in00" + } + ], + "usb_controller": [ + { + "index": 23, + "attached_to": 21, + "class_list": [ + "usb_controller", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "value": 48 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 6945 + }, + "device": { + "value": 17390 + }, + "sub_device": { + "value": 4418 + }, + "model": "AMD USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0", + "sysfs_bus_id": "0000:02:00.0", + "sysfs_iommu_group_id": 15, + "resources": [ + { + "type": "irq", + "base": 56, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4243193856, + "range": 32768, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 56, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": [ + "xhci_hcd" + ], + "driver_modules": [ + "xhci_pci" + ], + "module_alias": "pci:v00001022d000043EEsv00001B21sd00001142bc0Csc03i30" + }, + { + "index": 34, + "attached_to": 36, + "class_list": [ + "usb_controller", + "pci" + ], + "bus_type": { + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 9, + "number": 0 + }, + "base_class": { + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "value": 48 + }, + "vendor": { + "name": "AMD", + "value": 4130 + }, + "sub_vendor": { + "value": 5208 + }, + "device": { + "value": 5276 + }, + "sub_device": { + "value": 20487 + }, + "model": "AMD USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:09:00.3", + "sysfs_bus_id": "0000:09:00.3", + "sysfs_iommu_group_id": 23, + "resources": [ + { + "type": "irq", + "base": 66, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 4235198464, + "range": 1048576, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 3, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 66, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": [ + "xhci_hcd" + ], + "driver_modules": [ + "xhci_pci" + ], + "module_alias": "pci:v00001022d0000149Csv00001458sd00005007bc0Csc03i30" + } + ] + }, + "smbios": { + "bios": { + "handle": 0, + "vendor": "American Megatrends International, LLC.", + "version": "FDa", + "date": "07/18/2023", + "features": [ + "PCI supported", + "BIOS flashable", + "BIOS shadowing allowed", + "CD boot supported", + "Selectable boot supported", + "BIOS ROM socketed", + "EDD spec supported", + "1.2MB NEC 9800 Japanese Floppy supported", + "1.2MB Toshiba Japanese Floppy supported", + "360kB Floppy supported", + "1.2MB Floppy supported", + "720kB Floppy supported", + "2.88MB Floppy supported", + "Print Screen supported", + "Serial Services supported", + "Printer Services supported", + "CGA/Mono Video supported", + "USB Legacy supported", + "BIOS Boot Spec supported" + ], + "start_address": "0xf0000", + "rom_size": 16777216 + }, + "board": { + "handle": 2, + "manufacturer": "Gigabyte Technology Co., Ltd.", + "product": "B550 GAMING X V2", + "version": "x.x", + "board_type": { + "name": "Motherboard", + "value": 10 + }, + "features": [ + "Hosting Board", + "Replaceable" + ], + "location": "Default string", + "chassis": 3 + }, + "cache": [ + { + "handle": 14, + "socket": "L1 - Cache", + "size_max": 384, + "size_current": 384, + "speed": 1, + "mode": { + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 0, + "ecc": { + "name": "Multi-bit", + "value": 6 + }, + "cache_type": { + "name": "Unified", + "value": 5 + }, + "associativity": { + "name": "8-way Set-Associative", + "value": 7 + }, + "sram_type_current": [ + "Pipeline Burst" + ], + "sram_type_supported": [ + "Pipeline Burst" + ] + }, + { + "handle": 15, + "socket": "L2 - Cache", + "size_max": 3072, + "size_current": 3072, + "speed": 1, + "mode": { + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 1, + "ecc": { + "name": "Multi-bit", + "value": 6 + }, + "cache_type": { + "name": "Unified", + "value": 5 + }, + "associativity": { + "name": "8-way Set-Associative", + "value": 7 + }, + "sram_type_current": [ + "Pipeline Burst" + ], + "sram_type_supported": [ + "Pipeline Burst" + ] + }, + { + "handle": 16, + "socket": "L3 - Cache", + "size_max": 32768, + "size_current": 32768, + "speed": 1, + "mode": { + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 2, + "ecc": { + "name": "Multi-bit", + "value": 6 + }, + "cache_type": { + "name": "Unified", + "value": 5 + }, + "associativity": { + "name": "16-way Set-Associative", + "value": 8 + }, + "sram_type_current": [ + "Pipeline Burst" + ], + "sram_type_supported": [ + "Pipeline Burst" + ] + } + ], + "chassis": { + "handle": 3, + "manufacturer": "Default string", + "version": "Default string", + "chassis_type": { + "name": "Desktop", + "value": 3 + }, + "lock_present": false, + "bootup_state": { + "name": "Safe", + "value": 3 + }, + "power_state": { + "name": "Safe", + "value": 3 + }, + "thermal_state": { + "name": "Safe", + "value": 3 + }, + "security_state": { + "name": "None", + "value": 3 + }, + "oem": "0x0" + }, + "config": { + "handle": 6, + "options": [ + "Default string" + ] + }, + "language": [ + { + "handle": 51, + "languages": [ + "en|US|iso8859-1", + "zh|TW|unicode", + "zh|CN|unicode", + "ru|RU|iso8859-5", + "de|DE|iso8859-1", + "ja|JP|unicode", + "ko|KR|unicode", + "es|ES|iso8859-1", + "fr|FR|iso8859-1", + "it|IT|iso8859-1", + "pt|PT|iso8859-1", + "vi|VI|iso8859-1", + "id|ID|iso8859-1", + "tr|TR|iso8859-1", + "pl|PL|iso8859-1" + ] + } + ], + "memory_array": [ + { + "handle": 11, + "location": { + "name": "Motherboard", + "value": 3 + }, + "usage": { + "name": "System memory", + "value": 3 + }, + "ecc": { + "name": "None", + "value": 3 + }, + "max_size": 134217728, + "error_handle": 10, + "slots": 4 + } + ], + "memory_array_mapped_address": [ + { + "handle": 12, + "array_handle": 11, + "start_address": 0, + "end_address": 3221225472, + "part_width": 2 + }, + { + "handle": 13, + "array_handle": 11, + "start_address": 4294967296, + "end_address": 35433480192, + "part_width": 2 + } + ], + "memory_device": [ + { + "handle": 19, + "location": "DIMM 0", + "bank_location": "P0 CHANNEL A", + "manufacturer": "Unknown", + "part_number": "Unknown", + "array_handle": 11, + "error_handle": 18, + "width": 0, + "ecc_bits": 0, + "size": 0, + "form_factor": { + "name": "Unknown", + "value": 2 + }, + "set": 0, + "memory_type": { + "name": "Unknown", + "value": 2 + }, + "memory_type_details": [ + "Unknown" + ], + "speed": 0 + }, + { + "handle": 21, + "location": "DIMM 1", + "bank_location": "P0 CHANNEL A", + "manufacturer": "Unknown", + "part_number": "F4-3200C16-16GIS", + "array_handle": 11, + "error_handle": 20, + "width": 64, + "ecc_bits": 0, + "size": 16777216, + "form_factor": { + "name": "DIMM", + "value": 9 + }, + "set": 0, + "memory_type": { + "name": "Other", + "value": 26 + }, + "memory_type_details": [ + "Synchronous" + ], + "speed": 2666 + }, + { + "handle": 24, + "location": "DIMM 0", + "bank_location": "P0 CHANNEL B", + "manufacturer": "Unknown", + "part_number": "Unknown", + "array_handle": 11, + "error_handle": 23, + "width": 0, + "ecc_bits": 0, + "size": 0, + "form_factor": { + "name": "Unknown", + "value": 2 + }, + "set": 0, + "memory_type": { + "name": "Unknown", + "value": 2 + }, + "memory_type_details": [ + "Unknown" + ], + "speed": 0 + }, + { + "handle": 26, + "location": "DIMM 1", + "bank_location": "P0 CHANNEL B", + "manufacturer": "Unknown", + "part_number": "F4-3200C16-16GIS", + "array_handle": 11, + "error_handle": 25, + "width": 64, + "ecc_bits": 0, + "size": 16777216, + "form_factor": { + "name": "DIMM", + "value": 9 + }, + "set": 0, + "memory_type": { + "name": "Other", + "value": 26 + }, + "memory_type_details": [ + "Synchronous" + ], + "speed": 2666 + } + ], + "memory_device_mapped_address": [ + { + "handle": 22, + "memory_device_handle": 21, + "array_map_handle": 13, + "start_address": 0, + "end_address": 34359738368, + "row_position": 255, + "interleave_position": 255, + "interleave_depth": 255 + }, + { + "handle": 27, + "memory_device_handle": 26, + "array_map_handle": 13, + "start_address": 0, + "end_address": 34359738368, + "row_position": 255, + "interleave_position": 255, + "interleave_depth": 255 + } + ], + "memory_error": [ + { + "handle": 10, + "error_type": { + "name": "OK", + "value": 3 + }, + "granularity": { + "name": "Unknown", + "value": 2 + }, + "operation": { + "name": "Unknown", + "value": 2 + }, + "syndrome": 0, + "array_address": 2147483648, + "device_address": 2147483648, + "range": 2147483648 + }, + { + "handle": 18, + "error_type": { + "name": "OK", + "value": 3 + }, + "granularity": { + "name": "Unknown", + "value": 2 + }, + "operation": { + "name": "Unknown", + "value": 2 + }, + "syndrome": 0, + "array_address": 2147483648, + "device_address": 2147483648, + "range": 2147483648 + }, + { + "handle": 20, + "error_type": { + "name": "OK", + "value": 3 + }, + "granularity": { + "name": "Unknown", + "value": 2 + }, + "operation": { + "name": "Unknown", + "value": 2 + }, + "syndrome": 0, + "array_address": 2147483648, + "device_address": 2147483648, + "range": 2147483648 + }, + { + "handle": 23, + "error_type": { + "name": "OK", + "value": 3 + }, + "granularity": { + "name": "Unknown", + "value": 2 + }, + "operation": { + "name": "Unknown", + "value": 2 + }, + "syndrome": 0, + "array_address": 2147483648, + "device_address": 2147483648, + "range": 2147483648 + }, + { + "handle": 25, + "error_type": { + "name": "OK", + "value": 3 + }, + "granularity": { + "name": "Unknown", + "value": 2 + }, + "operation": { + "name": "Unknown", + "value": 2 + }, + "syndrome": 0, + "array_address": 2147483648, + "device_address": 2147483648, + "range": 2147483648 + } + ], + "onboard": [ + { + "handle": 4, + "devices": [ + { + "name": "To Be Filled By O.E.M.", + "type": { + "name": "Video", + "value": 3 + }, + "enabled": true + } + ] + } + ], + "port_connector": [ + { + "handle": 28, + "port_type": { + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J1500", + "external_connector_type": { + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB 3.2" + }, + { + "handle": 29, + "port_type": { + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J1501", + "external_connector_type": { + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB 3.2" + }, + { + "handle": 30, + "port_type": { + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J1502", + "external_connector_type": { + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB-C" + }, + { + "handle": 31, + "port_type": { + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J1506", + "external_connector_type": { + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB 3.2" + }, + { + "handle": 32, + "port_type": { + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J1507", + "external_connector_type": { + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB 3.2" + }, + { + "handle": 33, + "port_type": { + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J1301", + "external_connector_type": { + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB 3.2" + }, + { + "handle": 34, + "port_type": { + "name": "Network Port", + "value": 31 + }, + "internal_reference_designator": "J1301", + "external_connector_type": { + "name": "RJ-45", + "value": 11 + }, + "external_reference_designator": "Network" + }, + { + "handle": 35, + "port_type": { + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "J1704", + "external_reference_designator": "iSATA" + }, + { + "handle": 36, + "port_type": { + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "J1705", + "external_reference_designator": "iSATA" + }, + { + "handle": 37, + "port_type": { + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "J1700", + "external_reference_designator": "iSATA" + }, + { + "handle": 38, + "port_type": { + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "J1702", + "external_reference_designator": "iSATA" + }, + { + "handle": 39, + "port_type": { + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "J1703", + "external_reference_designator": "iSATA" + }, + { + "handle": 40, + "port_type": { + "name": "Other", + "value": 32 + }, + "internal_connector_type": { + "name": "Other", + "value": 34 + }, + "internal_reference_designator": "J1706", + "external_reference_designator": "iSATA" + }, + { + "handle": 41, + "port_type": { + "name": "Video Port", + "value": 28 + }, + "internal_reference_designator": "J1100", + "external_reference_designator": "HDMI" + }, + { + "handle": 42, + "port_type": { + "name": "Video Port", + "value": 28 + }, + "internal_reference_designator": "J1101", + "external_reference_designator": "HDMI" + }, + { + "handle": 43, + "port_type": { + "name": "Video Port", + "value": 28 + }, + "internal_reference_designator": "J1102", + "external_reference_designator": "DP" + }, + { + "handle": 44, + "port_type": { + "name": "Audio Port", + "value": 29 + }, + "internal_reference_designator": "J2100", + "external_connector_type": { + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "Front Audio" + }, + { + "handle": 45, + "port_type": { + "name": "Audio Port", + "value": 29 + }, + "internal_reference_designator": "J2101", + "external_connector_type": { + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "Audio Jack" + }, + { + "handle": 46, + "port_type": { + "name": "Audio Port", + "value": 29 + }, + "internal_reference_designator": "J2102", + "external_connector_type": { + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "HD Audio HDR" + } + ], + "processor": [ + { + "handle": 17, + "socket": "AM4", + "socket_type": { + "name": "Other", + "value": 49 + }, + "socket_populated": true, + "manufacturer": "Advanced Micro Devices, Inc.", + "version": "AMD Ryzen 5 5600 6-Core Processor", + "part": "Unknown", + "processor_type": { + "name": "CPU", + "value": 3 + }, + "processor_family": { + "name": "Other", + "value": 107 + }, + "processor_status": { + "name": "Enabled", + "value": 1 + }, + "clock_ext": 100, + "clock_max": 4450, + "cache_handle_l1": 14, + "cache_handle_l2": 15, + "cache_handle_l3": 16 + } + ], + "slot": [ + { + "handle": 47, + "designation": "J10", + "slot_type": { + "name": "Other", + "value": 170 + }, + "bus_width": { + "name": "Other", + "value": 13 + }, + "usage": { + "name": "In Use", + "value": 4 + }, + "length": { + "name": "Short", + "value": 3 + }, + "id": 12, + "features": [ + "3.3 V", + "PME#" + ] + }, + { + "handle": 48, + "designation": "J3700 M.2 Slot", + "slot_type": { + "name": "Other", + "value": 166 + }, + "bus_width": { + "name": "Other", + "value": 8 + }, + "usage": { + "name": "In Use", + "value": 4 + }, + "length": { + "name": "Short", + "value": 3 + }, + "id": 14, + "features": [ + "3.3 V", + "PME#" + ] + }, + { + "handle": 49, + "designation": "J3708 PCIE x4 slot from Promontory", + "slot_type": { + "name": "Other", + "value": 168 + }, + "bus_width": { + "name": "Other", + "value": 10 + }, + "usage": { + "name": "Available", + "value": 3 + }, + "length": { + "name": "Short", + "value": 3 + }, + "id": 128, + "features": [ + "3.3 V", + "PME#" + ] + } + ], + "system": { + "handle": 1, + "manufacturer": "Gigabyte Technology Co., Ltd.", + "product": "B550 GAMING X V2", + "version": "-CF", + "wake_up": { + "name": "Power Switch", + "value": 6 + } + } + } +} \ No newline at end of file diff --git a/nixos/cinnamon.nix b/nixos/cinnamon.nix new file mode 100644 index 0000000..8ad3e08 --- /dev/null +++ b/nixos/cinnamon.nix @@ -0,0 +1,13 @@ +{lib, ...}: { + options.pim.cinnamon.enable = lib.mkEnableOption "cinnamon"; + config = { + services = { + displayManager.defaultSession = "cinnamon"; + libinput.enable = true; + xserver = { + desktopManager.cinnamon.enable = true; + displayManager.lightdm.enable = true; + }; + }; + }; +} diff --git a/nixos/default.nix b/nixos/default.nix index 76b229d..d976ccb 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -10,6 +10,7 @@ imports = [ inputs.home-manager.nixosModules.home-manager inputs.nixos-facter-modules.nixosModules.facter + inputs.disko.nixosModules.disko ./lanzaboote.nix ./tidal.nix ./sops.nix @@ -18,6 +19,7 @@ ./gnome.nix ./tailscale.nix ./compliance.nix + ./cinnamon.nix ]; time.timeZone = "Europe/Amsterdam"; @@ -25,13 +27,7 @@ programs.ssh.startAgent = true; services = { - gnome.gnome-keyring.enable = lib.mkForce false; - - xserver = { - enable = true; - displayManager.gdm = {enable = true;}; - excludePackages = with pkgs; [xterm]; - }; + xserver.enable = true; printing = { enable = true; diff --git a/nixos/gnome.nix b/nixos/gnome.nix index 451c67a..8b4c299 100644 --- a/nixos/gnome.nix +++ b/nixos/gnome.nix @@ -9,7 +9,15 @@ in { options.pim.gnome.enable = lib.mkEnableOption "gnome"; config = lib.mkIf cfg.enable { - services.xserver.desktopManager.gnome.enable = true; + services = { + gnome.gnome-keyring.enable = lib.mkForce false; + + xserver = { + desktopManager.gnome.enable = true; + displayManager.gdm.enable = true; + excludePackages = [pkgs.xterm]; + }; + }; environment = { systemPackages = diff --git a/nixos/stylix.nix b/nixos/stylix.nix index 741c0c8..99120a1 100644 --- a/nixos/stylix.nix +++ b/nixos/stylix.nix @@ -10,34 +10,38 @@ in { imports = [inputs.stylix.nixosModules.stylix]; options.pim.stylix.enable = lib.mkEnableOption "stylix"; - config = lib.mkIf cfg.enable { - stylix = { - enable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; - image = "${inputs.nixos-artwork}/wallpapers/nix-wallpaper-binary-blue.png"; + config = { + stylix = lib.mkMerge [ + { + image = "${inputs.nixos-artwork}/wallpapers/nix-wallpaper-binary-blue.png"; + } + (lib.mkIf cfg.enable { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; - cursor = { - package = pkgs.bibata-cursors; - name = "Bibata-Modern-Classic"; - size = 28; - }; - - fonts = { - monospace = { - package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}; - name = "JetBrainsMono Nerd Font Mono"; + cursor = { + package = pkgs.bibata-cursors; + name = "Bibata-Modern-Classic"; + size = 28; }; - sansSerif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Sans"; - }; + fonts = { + monospace = { + package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}; + name = "JetBrainsMono Nerd Font Mono"; + }; - serif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Serif"; + sansSerif = { + package = pkgs.dejavu_fonts; + name = "DejaVu Sans"; + }; + + serif = { + package = pkgs.dejavu_fonts; + name = "DejaVu Serif"; + }; }; - }; - }; + }) + ]; }; }