system76 / thelio-io-windows

WIP Windows driver for System76 Thelio Io
GNU General Public License v3.0
16 stars 8 forks source link

Thelio mira r3 needs updating for this #21

Open hmalmstrom1 opened 11 months ago

hmalmstrom1 commented 11 months ago

This worked for me:

diff --git a/src/main.rs b/src/main.rs
index e5b2a12..91fc34d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -86,7 +86,7 @@ fn driver() -> io::Result<()> {
     ).unwrap_or(String::new());

     let curve = match (sys_vendor.as_str(), product_version.as_str()) {
-        ("System76", "thelio-mira-r1" | "thelio-mira-r2" | "thelio-mira-r3") => {
+        ("System76", "thelio-mira-r1" | "thelio-mira-r2" | "thelio-mira-r3" | "thelio-mira-b4.1") => {
             debug!("{} {} uses standard fan curve", sys_vendor, product_version);
             FanCurve::standard()
         },