Skip to content

Commit 7667779

Browse files
committed
lenovo/ideapad/14iah10: init
1 parent 5655a6c commit 7667779

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
158158
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
159159
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
160+
lenovo-ideapad-14iah10 = import ./lenovo/ideapad/14iah10;
160161
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
161162
lenovo-ideapad-15alc6 = import ./lenovo/ideapad/15alc6;
162163
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;

lenovo/ideapad/14iah10/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Lenovo IdeaPad 5 Pro / XiaoXin Pro 14 GT (14IAH10)
2+
3+
This module provides configuration common to all Arrow Lake (Core Ultra 200H
4+
series)-based devices and rectifies a few quirks with the system that are mostly
5+
all caused by firmware or BIOS bugs. While the solution isn't perfect, the
6+
laptop is decently usable with these tweaks, including networking and speakers
7+
output.

lenovo/ideapad/14iah10/default.nix

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
lib,
3+
...
4+
}:
5+
{
6+
imports = [
7+
../../../common/cpu/intel/arrow-lake
8+
../../../common/pc/laptop
9+
../../../common/pc/ssd
10+
];
11+
12+
boot = {
13+
# DSP-based SOF drivers currently don't work due to missing topology
14+
# definitions, so we fall back to old snd_hda_intel drivers
15+
# See https://thesofproject.github.io/latest/getting_started/intel_debug/introduction.html#pci-devices-introduced-after-2016
16+
#
17+
# Last tested with sof-firmware version 2025.05; newer SOF releases
18+
# may include updated topologies
19+
extraModprobeConfig = ''
20+
options snd-intel-dspcfg dsp_driver=1
21+
'';
22+
23+
# HACK: Fix the infamous "Unable to change power state from D3cold to D0"
24+
# error when resuming the system from a suspended state, by _completely_
25+
# disabling PCIe port power management and thereby preventing the Wi-Fi
26+
# adapter from turning off at all.
27+
#
28+
# This is theoretically bad from a battery life standpoint, but it's
29+
# necessary until Intel ships a functioning firmware release that doesn't
30+
# suffer from this issue. In my real-world testing this doesn't seem to
31+
# have caused a noticable decrease in battery life, however.
32+
#
33+
# See Intel's (non-)response regarding this issue with this exact model at:
34+
# https://community.intel.com/t5/Wireless/Intel-WiFi-7-BE200-loses-connection-after-suspend-resume-on/m-p/1700055
35+
#
36+
# Last tested to be necessary on ucode version 98 — this might no
37+
# longer be necessary for newer firmware releases!
38+
kernelParams = [ "pcie_port_pm=off" ];
39+
};
40+
}

0 commit comments

Comments
 (0)