1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-05 01:09:44 +01:00

drop acpi_call from nixos-hardware

fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
This commit is contained in:
Jörg Thalheim 2024-12-02 12:29:38 +01:00
parent fe01780d35
commit c6c90887f8
56 changed files with 5 additions and 68 deletions

View file

@ -10,7 +10,6 @@
../../../common/gpu/amd ../../../common/gpu/amd
../../../common/hidpi.nix ../../../common/hidpi.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
../../../common/pc/laptop/acpi_call.nix
]; ];
# apple smc (TODO: check spi) # apple smc (TODO: check spi)

View file

@ -9,7 +9,6 @@
../../../common/cpu/intel/kaby-lake ../../../common/cpu/intel/kaby-lake
../../../common/hidpi.nix ../../../common/hidpi.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
../../../common/pc/laptop/acpi_call.nix
]; ];
# Make the keyboard work in stage1, enable iommu # Make the keyboard work in stage1, enable iommu

View file

@ -16,7 +16,6 @@ in {
../../../common/cpu/amd/pstate.nix ../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd ../../../common/gpu/amd
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd ../../../common/pc/ssd
]; ];

View file

@ -1,10 +0,0 @@
# acpi_call makes tlp work for newer thinkpads
{ config, lib, ... }:
{
boot = lib.mkIf config.services.tlp.enable {
kernelModules = [ "acpi_call" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
};
}

View file

@ -7,7 +7,6 @@ in {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd ../../../common/pc/ssd
../sleep-resume/i2c-designware ../sleep-resume/i2c-designware
]; ];

View file

@ -4,7 +4,6 @@
imports = [ imports = [
../../../common/cpu/intel/kaby-lake ../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
]; ];
# Force S3 sleep mode. See README.wiki for details. # Force S3 sleep mode. See README.wiki for details.

View file

@ -2,7 +2,6 @@
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
]; ];
# Force S3 sleep mode. See README.wiki for details. # Force S3 sleep mode. See README.wiki for details.

View file

@ -330,7 +330,7 @@
common-pc = import ./common/pc; common-pc = import ./common/pc;
common-pc-hdd = import ./common/pc/hdd; common-pc-hdd = import ./common/pc/hdd;
common-pc-laptop = import ./common/pc/laptop; common-pc-laptop = import ./common/pc/laptop;
common-pc-laptop-acpi_call = import ./common/pc/laptop/acpi_call.nix; common-pc-laptop-acpi_call = throw "common-pc-laptop-acpi_call has been removed because it is obsolete: https://github.com/NixOS/nixos-hardware/issues/1114";
common-pc-laptop-hdd = import ./common/pc/laptop/hdd; common-pc-laptop-hdd = import ./common/pc/laptop/hdd;
common-pc-laptop-ssd = import ./common/pc/ssd; common-pc-laptop-ssd = import ./common/pc/ssd;
common-pc-ssd = import ./common/pc/ssd; common-pc-ssd = import ./common/pc/ssd;

View file

@ -6,7 +6,7 @@
../../../common/gpu/nvidia/prime.nix ../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing ../../../common/gpu/nvidia/turing
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix gc
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -3,7 +3,6 @@
imports = [ imports = [
../../../../common/cpu/intel ../../../../common/cpu/intel
../../../../common/pc/laptop ../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
]; ];

View file

@ -7,7 +7,6 @@
../../../../common/cpu/amd/pstate.nix ../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd ../../../../common/gpu/amd
../../../../common/pc/laptop ../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
]; ];

View file

@ -7,7 +7,6 @@
../../../../common/cpu/amd/pstate.nix ../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd ../../../../common/gpu/amd
../../../../common/pc/laptop ../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
]; ];

View file

@ -7,7 +7,6 @@
../../../../common/cpu/amd/pstate.nix ../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd ../../../../common/gpu/amd
../../../../common/pc/laptop ../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
]; ];

View file

@ -5,7 +5,6 @@
../../../common/cpu/amd ../../../common/cpu/amd
../../../common/gpu/amd ../../../common/gpu/amd
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];
} }

View file

@ -6,7 +6,6 @@
../../../common/gpu/nvidia/prime.nix ../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing ../../../common/gpu/nvidia/turing
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -3,7 +3,6 @@
../../../common/cpu/amd ../../../common/cpu/amd
../../../common/gpu/amd ../../../common/gpu/amd
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];
} }

View file

@ -4,7 +4,6 @@
../../../common/gpu/amd ../../../common/gpu/amd
../../../common/cpu/amd ../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix ../../../common/cpu/amd/pstate.nix
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd ../../../common/pc/ssd
../../../common/pc/laptop/hdd ../../../common/pc/laptop/hdd
#../../../common/hidpi.nix #hidpi #../../../common/hidpi.nix #hidpi

View file

@ -4,7 +4,6 @@
imports = [ imports = [
../. ../.
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
../../../common/pc/laptop/acpi_call.nix
]; ];
boot.kernelParams = [ boot.kernelParams = [

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
../. ../.
]; ];

View file

@ -2,7 +2,6 @@
imports = [ imports = [
../. ../.
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
../../../common/pc/laptop/acpi_call.nix
]; ];
boot.kernelParams = [ boot.kernelParams = [

View file

@ -4,7 +4,6 @@
# might need nvidia module but we don't know the PCI ids: # might need nvidia module but we don't know the PCI ids:
# https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740 # https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740
#../../../common/gpu/nvidia/prime.nix #../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -6,7 +6,6 @@
imports = [ imports = [
../. ../.
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -3,7 +3,6 @@
../../../common/gpu/nvidia/prime.nix ../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell ../../../common/gpu/nvidia/maxwell
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];

View file

@ -4,7 +4,6 @@
../../../common/gpu/nvidia/prime.nix ../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell ../../../common/gpu/nvidia/maxwell
../../../common/cpu/intel/kaby-lake ../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];

View file

@ -4,7 +4,6 @@
../../../common/gpu/nvidia/prime.nix ../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/pascal ../../../common/gpu/nvidia/pascal
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];

View file

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
../. ../.
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
../. ../.
../../../common/pc/laptop/acpi_call.nix
]; ];
# For suspending to RAM to work, set Config -> Power -> Sleep State to "Linux" in EFI. # For suspending to RAM to work, set Config -> Power -> Sleep State to "Linux" in EFI.

View file

@ -3,6 +3,5 @@
../. ../.
../tp-smapi.nix ../tp-smapi.nix
../../../common/cpu/intel/sandy-bridge ../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
]; ];
} }

View file

@ -2,7 +2,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
]; ];
boot = { boot = {

View file

@ -2,7 +2,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
]; ];
boot = { boot = {

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];
} }

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];
} }

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];
} }

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];
} }

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];
} }

View file

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd ../../../common/pc/ssd
../. ../.
]; ];

View file

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd ../../../common/pc/ssd
../. ../.
]; ];

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];

View file

@ -4,7 +4,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/amd ../../../common/cpu/amd
../../../common/pc/laptop/acpi_call.nix
]; ];
# Force use of the thinkpad_acpi driver for backlight control. # Force use of the thinkpad_acpi driver for backlight control.

View file

@ -3,6 +3,5 @@
../. ../.
../tp-smapi.nix ../tp-smapi.nix
../../../common/cpu/intel/sandy-bridge ../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
]; ];
} }

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];
} }

View file

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../. ../.
]; ];

View file

@ -3,6 +3,5 @@
../. ../.
../tp-smapi.nix ../tp-smapi.nix
../../../common/cpu/intel/sandy-bridge ../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
]; ];
} }

View file

@ -3,7 +3,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];
} }

View file

@ -10,7 +10,6 @@
imports = [ imports = [
../. ../.
../../../../common/cpu/intel/kaby-lake ../../../../common/cpu/intel/kaby-lake
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
]; ];

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../. ../.
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
]; ];

View file

@ -1,7 +1,6 @@
{ ... }: { { ... }: {
imports = [ imports = [
../. ../.
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -5,7 +5,6 @@
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
]; ];
boot = { boot = {

View file

@ -2,6 +2,5 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
]; ];
} }

View file

@ -2,7 +2,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
]; ];
boot.kernelParams = [ boot.kernelParams = [

View file

@ -2,7 +2,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -4,7 +4,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd/default.nix ../../../common/pc/laptop/ssd/default.nix
]; ];

View file

@ -4,7 +4,6 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd/default.nix ../../../common/pc/laptop/ssd/default.nix
]; ];

View file

@ -5,7 +5,6 @@
../../../common/cpu/amd/pstate.nix ../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd ../../../common/gpu/amd
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];

View file

@ -7,7 +7,6 @@
../../../../common/cpu/amd/pstate.nix ../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd ../../../../common/gpu/amd
../../../../common/pc/laptop ../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/ssd ../../../../common/pc/ssd
]; ];