From e936b337b01ceed4a4e690589de0bf8a58e5f1b9 Mon Sep 17 00:00:00 2001 From: maydayv7 Date: Sat, 11 Dec 2021 21:37:01 +0530 Subject: [PATCH 1/2] Add Dell Inspiron 5509 --- README.md | 1 + dell/inspiron/5509/README.wiki | 47 ++++++++++++++++++++++++++++++++++ dell/inspiron/5509/default.nix | 23 +++++++++++++++++ flake.nix | 1 + 4 files changed, 72 insertions(+) create mode 100644 dell/inspiron/5509/README.wiki create mode 100644 dell/inspiron/5509/default.nix diff --git a/README.md b/README.md index 5b4414b..12fc939 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ See code for all available configurations. | [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `` | | [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `` | | [Dell G3 3779](dell/g3/3779) | `` | +| [Dell Inspiron 5509](dell/inspiron/5509) | `` | | [Dell Latitude 3480](dell/latitude/3480) | `` | | [Dell Latitude 7490](dell/latitude/7490) | `` | | [Dell Poweredge R7515](dell/poweredge/r7515) | `` | diff --git a/dell/inspiron/5509/README.wiki b/dell/inspiron/5509/README.wiki new file mode 100644 index 0000000..3bee424 --- /dev/null +++ b/dell/inspiron/5509/README.wiki @@ -0,0 +1,47 @@ += Dell Inspiron 5509 = + +== Tested Hardware == + +``` shellsession +$ lspci -nn +00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 01) +00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) +00:04.0 Signal processing controller [1180]: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 01) +00:06.0 PCI bridge [0604]: Intel Corporation 11th Gen Core Processor PCIe Controller [8086:9a09] (rev 01) +00:07.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 [8086:9a23] (rev 01) +00:0a.0 Signal processing controller [1180]: Intel Corporation Tigerlake Telemetry Aggregator Driver [8086:9a0d] (rev 01) +00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01) +00:0d.2 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 [8086:9a1b] (rev 01) +00:12.0 Serial controller [0700]: Intel Corporation Tiger Lake-LP Integrated Sensor Hub [8086:a0fc] (rev 20) +00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20) +00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 20) +00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20) +00:15.1 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 [8086:a0e9] (rev 20) +00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 20) +00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a0be] (rev 20) +00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 20) +00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20) +00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20) +00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 20) +01:00.0 Non-Volatile memory controller [0108]: SK hynix Device [1c5c:174a] +2c:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) +``` + +=== Before Installation === + +These settings are needed both for booting the final install, and +installer itself. Therefore, they must be done first: + +- ''Disable Secure Boot (but keep UEFI Boot)'' +- ''Disable RAID and use AHCI'' + +== Firmware Upgrades == + +Note that this device is supported by [https://fwupd.org/ fwupd]. +To perform firmware upgrades just activate the service: + + +services.fwupd.enable = true; + + +Then use fwupdmgr to perform updates diff --git a/dell/inspiron/5509/default.nix b/dell/inspiron/5509/default.nix new file mode 100644 index 0000000..f934486 --- /dev/null +++ b/dell/inspiron/5509/default.nix @@ -0,0 +1,23 @@ +{ lib, ... }: +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/ssd + ]; + + # Essential Firmware + hardware.enableRedistributableFirmware = lib.mkDefault true; + + # Cooling Management + services.thermald.enable = lib.mkDefault true; + + services.xserver = { + # GPU Driver Setting + videoDrivers = lib.mkDefault [ "intel" ]; + + # Touchpad + libinput.touchpad.tapping = true; + libinput.touchpad.tappingDragLock = true; + }; +} diff --git a/flake.nix b/flake.nix index 2007220..999ab69 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,7 @@ apple-macbook-pro-12-1 = import ./apple/macbook-pro/12-1; beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle; dell-g3-3779 = import ./dell/g3/3779; + dell-inspiron-5509 = import ./dell/inspiron/5509; dell-latitude-3480 = import ./dell/latitude/3480; dell-latitude-7490 = import ./dell/latitude/7490; dell-precision-5530 = import ./dell/precision/5530; From 7904e1d34f3d6810b8378069b14238a99c979b7a Mon Sep 17 00:00:00 2001 From: maydayv7 Date: Sat, 11 Dec 2021 22:08:12 +0530 Subject: [PATCH 2/2] Update README --- dell/inspiron/5509/{README.wiki => README.md} | 21 +++++++++---------- dell/inspiron/5509/default.nix | 5 +---- 2 files changed, 11 insertions(+), 15 deletions(-) rename dell/inspiron/5509/{README.wiki => README.md} (89%) diff --git a/dell/inspiron/5509/README.wiki b/dell/inspiron/5509/README.md similarity index 89% rename from dell/inspiron/5509/README.wiki rename to dell/inspiron/5509/README.md index 3bee424..03e7450 100644 --- a/dell/inspiron/5509/README.wiki +++ b/dell/inspiron/5509/README.md @@ -1,7 +1,6 @@ -= Dell Inspiron 5509 = - -== Tested Hardware == +## Dell Inspiron 5509 +### Tested Hardware ``` shellsession $ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 01) @@ -27,21 +26,21 @@ $ lspci -nn 2c:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) ``` -=== Before Installation === +### Before Installation These settings are needed both for booting the final install, and installer itself. Therefore, they must be done first: -- ''Disable Secure Boot (but keep UEFI Boot)'' -- ''Disable RAID and use AHCI'' ++ Disable *Secure* Boot (but keep **UEFI** Boot) ++ Disable *RAID* and use **AHCI** -== Firmware Upgrades == +### Firmware Upgrades -Note that this device is supported by [https://fwupd.org/ fwupd]. +Note that this device is supported by [fwupd](https://fwupd.org). To perform firmware upgrades just activate the service: - +``` services.fwupd.enable = true; - +``` -Then use fwupdmgr to perform updates +Then use `fwupdmgr` to perform updates diff --git a/dell/inspiron/5509/default.nix b/dell/inspiron/5509/default.nix index f934486..9e49b62 100644 --- a/dell/inspiron/5509/default.nix +++ b/dell/inspiron/5509/default.nix @@ -12,11 +12,8 @@ # Cooling Management services.thermald.enable = lib.mkDefault true; + # Touchpad services.xserver = { - # GPU Driver Setting - videoDrivers = lib.mkDefault [ "intel" ]; - - # Touchpad libinput.touchpad.tapping = true; libinput.touchpad.tappingDragLock = true; };