lenovo/thinkpad/t440p: force load thinkpad_acpi

thinkpad_acpi doesn't load automatically on corebooted Lenovo ThinkPads T440p (but works fine if force_loaded). Doesn't affect users with stock firmware.
This commit is contained in:
surfaceflinger 2023-01-20 21:35:06 +01:00
parent 7bd6b87b37
commit 759a06ec4a
No known key found for this signature in database

View file

@ -9,6 +9,7 @@
boot = { boot = {
extraModprobeConfig = lib.mkDefault '' extraModprobeConfig = lib.mkDefault ''
options bbswitch use_acpi_to_detect_card_state=1 options bbswitch use_acpi_to_detect_card_state=1
options thinkpad_acpi force_load=1 fan_control=1
''; '';
# TODO: probably enable tcsd? Is this line necessary? # TODO: probably enable tcsd? Is this line necessary?
kernelModules = [ "tpm-rng" ]; kernelModules = [ "tpm-rng" ];