Skip to content

lenovo/ideapad/14iah10: init #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions common/cpu/intel/arrow-lake/cpu-only.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
imports = [
../cpu-only.nix
];
}
6 changes: 6 additions & 0 deletions common/cpu/intel/arrow-lake/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
imports = [
./cpu-only.nix
../../../gpu/intel/arrow-lake
];
}
8 changes: 8 additions & 0 deletions common/gpu/intel/arrow-lake/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ config, lib, ... }:
{
imports = [ ../. ];
hardware.intelgpu = {
driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
vaapiDriver = "intel-media-driver";
};
}
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
lenovo-ideapad-14iah10 = import ./lenovo/ideapad/14iah10;
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
lenovo-ideapad-15alc6 = import ./lenovo/ideapad/15alc6;
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;
Expand Down
7 changes: 7 additions & 0 deletions lenovo/ideapad/14iah10/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Lenovo IdeaPad 5 Pro / XiaoXin Pro 14 GT (14IAH10)

This module provides configuration common to all Arrow Lake (Core Ultra 200H
series)-based devices and rectifies a few quirks with the system that are mostly
all caused by firmware or BIOS bugs. While the solution isn't perfect, the
laptop is decently usable with these tweaks, including networking and speakers
output.
40 changes: 40 additions & 0 deletions lenovo/ideapad/14iah10/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
...
}:
{
imports = [
../../../common/cpu/intel/arrow-lake
../../../common/pc/laptop
../../../common/pc/ssd
];

boot = {
# DSP-based SOF drivers currently don't work due to missing topology
# definitions, so we fall back to old snd_hda_intel drivers
# See https://thesofproject.github.io/latest/getting_started/intel_debug/introduction.html#pci-devices-introduced-after-2016
#
# Last tested with sof-firmware version 2025.05; newer SOF releases
# may include updated topologies
extraModprobeConfig = ''
options snd-intel-dspcfg dsp_driver=1
'';

# HACK: Fix the infamous "Unable to change power state from D3cold to D0"
# error when resuming the system from a suspended state, by _completely_
# disabling PCIe port power management and thereby preventing the Wi-Fi
# adapter from turning off at all.
#
# This is theoretically bad from a battery life standpoint, but it's
# necessary until Intel ships a functioning firmware release that doesn't
# suffer from this issue. In my real-world testing this doesn't seem to
# have caused a noticable decrease in battery life, however.
#
# See Intel's (non-)response regarding this issue with this exact model at:
# https://community.intel.com/t5/Wireless/Intel-WiFi-7-BE200-loses-connection-after-suspend-resume-on/m-p/1700055
#
# Last tested to be necessary on ucode version 98 — this might no
# longer be necessary for newer firmware releases!
kernelParams = [ "pcie_port_pm=off" ];
};
}