diff --git a/asusd/src/ctrl_fancurves.rs b/asusd/src/ctrl_fancurves.rs index d30afd5c..3d335180 100644 --- a/asusd/src/ctrl_fancurves.rs +++ b/asusd/src/ctrl_fancurves.rs @@ -66,11 +66,8 @@ impl CtrlFanCurveZbus { info!("Fetching default fan curves"); let current = platform.get_platform_profile()?; - for this in [ - PlatformProfile::Balanced, - PlatformProfile::Performance, - PlatformProfile::Quiet, - ] { + let profiles = platform.get_platform_profile_choices()?; + for this in profiles { // For each profile we need to switch to it before we // can read the existing values from hardware. The ACPI method used // for this is what limits us. diff --git a/distro-packaging/asusctl.spec b/distro-packaging/asusctl.spec index fcc55cc5..e12b3f34 100755 --- a/distro-packaging/asusctl.spec +++ b/distro-packaging/asusctl.spec @@ -20,9 +20,9 @@ %global debug_package %{nil} %endif -%define version 6.1.8 +%define version 6.1.9 %define specrelease %{?dist} -%define pkg_release 8%{specrelease} +%define pkg_release 9%{specrelease} # Use hardening ldflags. %global rustflags -Clink-arg=-Wl,-z,relro,-z,now