Compare commits

..

6 Commits

Author SHA1 Message Date
Ghoul
7102aa8832 Merge branch 'main' into 'devel'
Add custom image and gif support for Scar 2025 (G635L/G835L) with other minor fixes

See merge request asus-linux/asusctl!249
2026-01-24 02:12:31 +00:00
Denis Benato
58db410ba4 fix: restore TDP values 2026-01-24 03:08:06 +01:00
Denis Benato
fc75b88fab chore: update CHANGELOG.md 2026-01-24 02:42:40 +01:00
Denis Benato
1727bf5f45 chore: Update CHANGELOG.md 2026-01-24 02:42:23 +01:00
Denis Benato
01ed547374 Merge branch 'ga402nv-matrix' into 'devel'
Enable support for GA402N board

See merge request asus-linux/asusctl!251
2026-01-24 01:41:07 +00:00
Ghoul
20d343a984 feat: add new board for GA401 - GA401N 2026-01-24 05:05:51 +05:00
4 changed files with 27 additions and 12 deletions

View File

@@ -5,6 +5,8 @@
### Changes
- Improve the notification area, @shevchenko0013 strikes again!
- Improve firmware attributes handling
- Very good looking UI restyling from @shevchenko0013
- Added support for GA402NV matrix: thanks @Ghoul4500
## [6.3.1]

View File

@@ -211,17 +211,24 @@ impl crate::Reloadable for AsusArmouryAttribute {
}
};
self.attr.set_current_value(&apply_value).map_err(|e| {
error!("Could not set {} value: {e:?}", self.attr.name());
self.attr.base_path_exists();
e
})?;
match apply_value {
AttrValue::None => {
info!(
"No saved value for attribute {}: skipping.",
self.attr.name()
);
}
_ => {
info!("Applying value {apply_value:?} to attribute {name}");
self.attr.set_current_value(&apply_value).map_err(|e| {
error!("Could not set {name} value: {e:?}");
self.attr.base_path_exists();
e
})?;
info!(
"Restored asus-armoury setting {} to {:?}",
self.attr.name(),
apply_value
);
info!("Restored asus-armoury setting {name} to {apply_value:?}");
}
}
Ok(())
}

View File

@@ -96,7 +96,10 @@ impl AnimeType {
let board_name = DMIID::new().unwrap_or_default().board_name.to_uppercase();
if board_name.contains("GA401I") || board_name.contains("GA401Q") {
AnimeType::GA401
} else if board_name.contains("GA402R") || board_name.contains("GA402X") {
} else if board_name.contains("GA402R")
|| board_name.contains("GA402X")
|| board_name.contains("GA402N")
{
AnimeType::GA402
} else if board_name.contains("GU604V") {
AnimeType::GU604

View File

@@ -247,7 +247,10 @@ pub fn get_anime_type() -> AnimeType {
if board_name.contains("GA401I") || board_name.contains("GA401Q") {
AnimeType::GA401
} else if board_name.contains("GA402R") || board_name.contains("GA402X") {
} else if board_name.contains("GA402R")
|| board_name.contains("GA402X")
|| board_name.contains("GA402N")
{
AnimeType::GA402
} else if board_name.contains("GU604V") {
AnimeType::GU604