From 34b64e4e1ddb14e3ffc7db8d4a781396dbbab773 Mon Sep 17 00:00:00 2001 From: XADE <56511165+imxade@users.noreply.github.com> Date: Sun, 26 Jan 2025 13:33:13 +0530 Subject: [PATCH] dell-inspiron-3442: init --- README.md | 1 + dell/inspiron/3442/README.md | 35 ++++++++++++++++++++++++++++++++++ dell/inspiron/3442/default.nix | 22 +++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 dell/inspiron/3442/README.md create mode 100644 dell/inspiron/3442/default.nix diff --git a/README.md b/README.md index b02b7008..070f9cdd 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ See code for all available configurations. | [Chuwi MiniBook X](chuwi/minibook-x) | `` | | [Deciso DEC series](deciso/dec) | `` | | [Dell G3 3779](dell/g3/3779) | `` | +| [Dell Inspiron 3442](dell/inspiron/3442) | `` | | [Dell Inspiron 14 5420](dell/inspiron/14-5420) | `` | | [Dell Inspiron 5509](dell/inspiron/5509) | `` | | [Dell Inspiron 5515](dell/inspiron/5515) | `` | diff --git a/dell/inspiron/3442/README.md b/dell/inspiron/3442/README.md new file mode 100644 index 00000000..b7e6e0f5 --- /dev/null +++ b/dell/inspiron/3442/README.md @@ -0,0 +1,35 @@ +## Dell Inspiron 3442 + +### Tested Hardware + +```shellsession +$ lspci -nn + +00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b) +00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) +00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b) +00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04) +00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04) +00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04) +00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4) +00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4) +00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4) +00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04) +00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c45] (rev 04) +00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04) +00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04) +06:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01) +07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 07) + +``` + +### Extra Configuration + +#### Bluetooth + +To enable bluetooth support, set `hardware.bluetooth.enable = true;`. + +### Firmware Upgrades + +This device is partially supported by [fwupd](https://fwupd.org). +Use `fwupdmgr` to perform updates. diff --git a/dell/inspiron/3442/default.nix b/dell/inspiron/3442/default.nix new file mode 100644 index 00000000..44b65ce6 --- /dev/null +++ b/dell/inspiron/3442/default.nix @@ -0,0 +1,22 @@ +{ config, lib, ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/gpu/intel/haswell + ]; + + hardware.enableAllFirmware = lib.mkDefault true; + + services = { + fwupd.enable = lib.mkDefault true; + thermald.enable = lib.mkDefault true; + }; + + boot = { + # needs to be explicitly loaded or else bluetooth/wifi won't work. + kernelModules = [ "wl" ]; + extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; + }; +}