mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9aa332de3b | |||
| 5efd7fc6a7 | |||
| 0aafe24a02 | |||
| dda6d343d9 | |||
| 6f39307080 |
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [v5.0.1]
|
||||||
|
### Changed
|
||||||
|
- Fix setting next fan profile
|
||||||
|
- Fix the assud.service
|
||||||
|
- Fix dbus signature of some power setting types for some keyboards
|
||||||
|
|
||||||
|
## [v5.0.0]
|
||||||
### Added
|
### Added
|
||||||
- Gnome 45 plugin
|
- Gnome 45 plugin
|
||||||
- Support for G513RW LED modes
|
- Support for G513RW LED modes
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ default-members = ["asusctl", "asusd", "asusd-user", "cpuctl", "rog-control-cent
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "5.0.0"
|
version = "5.0.1"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
async-trait = "^0.1"
|
async-trait = "^0.1"
|
||||||
|
|||||||
@@ -322,6 +322,7 @@ impl CtrlPlatform {
|
|||||||
let policy: PlatformPolicy =
|
let policy: PlatformPolicy =
|
||||||
platform_get_value!(self, throttle_thermal_policy, "throttle_thermal_policy")
|
platform_get_value!(self, throttle_thermal_policy, "throttle_thermal_policy")
|
||||||
.map(|n| n.into())?;
|
.map(|n| n.into())?;
|
||||||
|
let policy = PlatformPolicy::next(&policy);
|
||||||
|
|
||||||
if self.platform.has_throttle_thermal_policy() {
|
if self.platform.has_throttle_thermal_policy() {
|
||||||
if let Some(cpu) = self.cpu_control.as_ref() {
|
if let Some(cpu) = self.cpu_control.as_ref() {
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
Description=ASUS Notebook Control
|
Description=ASUS Notebook Control
|
||||||
StartLimitInterval=500
|
StartLimitInterval=500
|
||||||
StartLimitBurst=5
|
StartLimitBurst=5
|
||||||
After=nvidia-powerd.service,systemd-udevd.service
|
After=nvidia-powerd.service systemd-udevd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=IS_SERVICE=1
|
Environment=IS_SERVICE=1
|
||||||
|
|||||||
+2
-2
@@ -137,7 +137,7 @@ pub struct AuraPowerDev {
|
|||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "dbus",
|
feature = "dbus",
|
||||||
derive(Type, Value, OwnedValue),
|
derive(Type, Value, OwnedValue),
|
||||||
zvariant(signature = "s")
|
zvariant(signature = "y")
|
||||||
)]
|
)]
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||||
#[repr(u32)]
|
#[repr(u32)]
|
||||||
@@ -172,7 +172,7 @@ impl AuraDevTuf {
|
|||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "dbus",
|
feature = "dbus",
|
||||||
derive(Type, Value, OwnedValue),
|
derive(Type, Value, OwnedValue),
|
||||||
zvariant(signature = "s")
|
zvariant(signature = "y")
|
||||||
)]
|
)]
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||||
#[repr(u32)]
|
#[repr(u32)]
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ pub enum PlatformPolicy {
|
|||||||
impl PlatformPolicy {
|
impl PlatformPolicy {
|
||||||
pub const fn next(&self) -> Self {
|
pub const fn next(&self) -> Self {
|
||||||
match self {
|
match self {
|
||||||
Self::Balanced => Self::Balanced,
|
Self::Balanced => Self::Performance,
|
||||||
Self::Performance => Self::Quiet,
|
Self::Performance => Self::Quiet,
|
||||||
Self::Quiet => Self::Balanced,
|
Self::Quiet => Self::Balanced,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user