system76 / thelio-io-windows

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

add fan curve support parity with Linux daemon #12

Closed draeath closed 2 years ago

draeath commented 2 years ago

fan curves and model strings current as-of: https://github.com/pop-os/system76-power/blob/79b02d/src/fan.rs

bump to rust 1.53 (or newer is OK)

This is due to the use of "or patterns" inside a match. This was stabilized in rust 1.53: https://github.com/rust-lang/rust/pull/79278

I see similar syntax used in the Linux daemon, but that uses rust 1.41... I'm uncertain how that was building previously?

This probably closes #5