hw/asus/a16: add asusd config and fan control
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-11-29 16:56:03 -05:00
parent 2a12eb06ba
commit 0fc8777b76

View file

@ -36,7 +36,79 @@
programs.rog-control-center.enable = true; programs.rog-control-center.enable = true;
services = { services = {
asusd.enable = true; asusd = {
enable = true;
asusdConfig = ''
(
charge_control_end_threshold: 100,
panel_od: false,
boot_sound: false,
mini_led_mode: false,
disable_nvidia_powerd_on_battery: true,
ac_command: "",
bat_command: "",
throttle_policy_linked_epp: true,
throttle_policy_on_battery: Quiet,
change_throttle_policy_on_battery: true,
throttle_policy_on_ac: Balanced,
change_throttle_policy_on_ac: true,
throttle_quiet_epp: Power,
throttle_balanced_epp: BalancePower,
throttle_performance_epp: Performance,
)
'';
fanCurvesConfig = ''
(
profiles: (
balanced: [
(
fan: CPU,
pwm: (5, 25, 66, 96, 114, 147, 170, 204),
temp: (21, 54, 63, 66, 70, 73, 80, 95),
enabled: true,
),
(
fan: GPU,
pwm: (25, 45, 56, 81, 91, 124, 142, 173),
temp: (55, 60, 63, 66, 70, 73, 80, 95),
enabled: false,
),
],
performance: [
(
fan: CPU,
pwm: (6, 26, 79, 114, 147, 170, 204, 247),
temp: (27, 49, 60, 63, 65, 68, 71, 80),
enabled: true,
),
(
fan: GPU,
pwm: (6, 56, 66, 91, 124, 142, 173, 204),
temp: (48, 57, 60, 63, 65, 68, 71, 80),
enabled: true,
),
],
quiet: [
(
fan: CPU,
pwm: (4, 8, 40, 53, 79, 107, 107, 147),
temp: (17, 62, 71, 74, 77, 80, 80, 97),
enabled: true,
),
(
fan: GPU,
pwm: (2, 25, 35, 45, 66, 86, 86, 124),
temp: (65, 68, 71, 74, 77, 80, 80, 97),
enabled: false,
),
],
),
)
'';
};
supergfxd.enable = true; supergfxd.enable = true;
}; };
} }