diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cfff1b1..42c56627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +# [4.0.1] - 2021-09-11 +### Changed +- Fix asusd-ledmodes.toml + # [4.0.0] - 2021-09-10 ### Added - AniMe: diff --git a/Cargo.lock b/Cargo.lock index 9f381c75..428e4e26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,7 +209,7 @@ dependencies = [ [[package]] name = "daemon" -version = "4.0.0" +version = "4.0.1" dependencies = [ "env_logger", "log", @@ -934,7 +934,7 @@ dependencies = [ [[package]] name = "rog_profiles" -version = "1.0.0" +version = "1.0.1" dependencies = [ "serde", "serde_derive", diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index 8f3a1e35..c9239f69 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daemon" -version = "4.0.0" +version = "4.0.1" license = "MPL-2.0" readme = "README.md" authors = ["Luke "] diff --git a/data/asusd-ledmodes.toml b/data/asusd-ledmodes.toml index 660ae22d..a884676a 100644 --- a/data/asusd-ledmodes.toml +++ b/data/asusd-ledmodes.toml @@ -96,6 +96,14 @@ standard = ["Static", "Breathe", "Pulse"] multizone = false per_key = false +# GA503QE at higher priority (first match) than GA503Q +[[led_data]] +prod_family = "ROG Zephyrus G15" +board_names = ["GA503QE"] +standard = ["Static", "Breathe", "Pulse"] +multizone = false +per_key = false + [[led_data]] prod_family = "ROG Zephyrus G15" board_names = ["GA503Q"] @@ -112,7 +120,7 @@ per_key = true [[led_data]] prod_family = "ROG Zephyrus Duo 15 SE" -board_name = ["GX551Q"] -standard ["Static", "Breathe", "Pulse", "Rainbow", "Strobe"] +board_names = ["GX551Q"] +standard = ["Static", "Breathe", "Strobe", "Rainbow", "Pulse"] multizone = false per_key = true \ No newline at end of file diff --git a/rog-profiles/Cargo.toml b/rog-profiles/Cargo.toml index e58e1c73..4d99e5b8 100644 --- a/rog-profiles/Cargo.toml +++ b/rog-profiles/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rog_profiles" -version = "1.0.0" +version = "1.0.1" authors = ["Luke D. Jones "] edition = "2018" diff --git a/rog-profiles/src/lib.rs b/rog-profiles/src/lib.rs index 35a4b96a..d276af80 100644 --- a/rog-profiles/src/lib.rs +++ b/rog-profiles/src/lib.rs @@ -243,7 +243,6 @@ impl FanCurveProfiles { pub fn write_to_fan(curve: &CurveData, pwm_num: char, device: &mut Device) { let mut pwm = "pwmN_auto_pointN_pwm".to_string(); - dbg!(&device); for (index, out) in curve.pwm.iter().enumerate() { unsafe { let buf = pwm.as_bytes_mut(); @@ -252,8 +251,6 @@ pub fn write_to_fan(curve: &CurveData, pwm_num: char, device: &mut Device) { buf[15] = char::from_digit(index as u32 + 1, 10).unwrap() as u8; } let out = out.to_string(); - dbg!(&pwm); - dbg!(&out); device.set_attribute_value(&pwm, &out).unwrap(); }