From 3ed1ae8ef7d9f34470a624ea322ca816545dbbfe Mon Sep 17 00:00:00 2001 From: Weathercold Date: Fri, 9 Sep 2022 23:45:13 -0400 Subject: [PATCH] inspiron-7405: init --- README.md | 1 + dell/inspiron/7405/README.md | 49 ++++++++++++++++++++++++++++++++++ dell/inspiron/7405/default.nix | 17 ++++++++++++ flake.nix | 1 + 4 files changed, 68 insertions(+) create mode 100644 dell/inspiron/7405/README.md create mode 100644 dell/inspiron/7405/default.nix diff --git a/README.md b/README.md index 4df757f..bd2ea96 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ See code for all available configurations. | [Dell G3 3779](dell/g3/3779) | `` | | [Dell Inspiron 5509](dell/inspiron/5509) | `` | | [Dell Inspiron 5515](dell/inspiron/5515) | `` | +| [Dell Inspiron 7405](dell/inspiron/7405) | `` | | [Dell Latitude 3480](dell/latitude/3480) | `` | | [Dell Latitude 5520](dell/latitude/5520) | `` | | [Dell Latitude 7490](dell/latitude/7490) | `` | diff --git a/dell/inspiron/7405/README.md b/dell/inspiron/7405/README.md new file mode 100644 index 0000000..dcdc14f --- /dev/null +++ b/dell/inspiron/7405/README.md @@ -0,0 +1,49 @@ +## Dell Inspiron 7405 + +### Tested Hardware + +``` shellsession +$ lspci -nn +00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex [1022:1630] +00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU [1022:1631] +00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632] +00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632] +00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634] +00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634] +00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632] +00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635] +00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635] +00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 51) +00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) +00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0 [1022:1448] +00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1 [1022:1449] +00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2 [1022:144a] +00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3 [1022:144b] +00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4 [1022:144c] +00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5 [1022:144d] +00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6 [1022:144e] +00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7 [1022:144f] +01:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a) +02:00.0 Non-Volatile memory controller [0108]: SK hynix BC511 [1c5c:1339] +03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c2) +03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637] +03:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df] +03:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639] +03:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639] +03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 01) +03:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3] +03:00.7 Signal processing controller [1180]: Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub [1022:15e4] +04:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 81) +04:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 81) +``` + +### Extra Configuration + +#### Bluetooth + +To enable bluetooth support, set `hardware.bluetooth.enable = true;`. + +#### Firmware Upgrades + +This device is partially supported by [fwupd](https://fwupd.org).\ +To perform firmware upgrades, add `services.fwupd.enable = true;`, then use `fwupdmgr` to perform updates. \ No newline at end of file diff --git a/dell/inspiron/7405/default.nix b/dell/inspiron/7405/default.nix new file mode 100644 index 0000000..06ccf92 --- /dev/null +++ b/dell/inspiron/7405/default.nix @@ -0,0 +1,17 @@ +{ lib, ... }: + +with lib; + +{ + imports = [ + ../../../common/cpu/amd + ../../../common/gpu/amd + ../../../common/pc/laptop + ../../../common/pc/laptop/ssd + ]; + + # TSC is unstable + boot.kernelParams = [ "notsc" "trace_clock=local" ]; + + hardware.enableRedistributableFirmware = mkDefault true; +} diff --git a/flake.nix b/flake.nix index defec0e..b34e847 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,7 @@ dell-g3-3779 = import ./dell/g3/3779; dell-inspiron-5509 = import ./dell/inspiron/5509; dell-inspiron-5515 = import ./dell/inspiron/5515; + dell-inspiron-7405 = import ./dell/inspiron/7405; dell-latitude-3480 = import ./dell/latitude/3480; dell-latitude-5520 = import ./dell/latitude/5520; dell-latitude-7490 = import ./dell/latitude/7490;