[−][src]Crate rog_fan_curve
The acpi_call kernel module is needed for this crate to interacti with acpi.
let mut curve = Curve::new(); curve.set_point(0, 0x1e, 0x00); curve.set_point(1, 0x2d, 0x01); curve.set_point(2, 0x32, 0x04); curve.set_point(3, 0x3c, 0x04); curve.set_point(4, 0x46, 0x13); curve.set_point(5, 0x50, 0x40); curve.set_point(6, 0x5a, 0x64); curve.set_point(7, 0x64, 0x64); let board = Board::from_name("GA401IV").unwrap(); curve.apply(board, Fan::Cpu)?; curve.apply(board, Fan::Gpu)?;
Structs
Curve |
Enums
Board | |
CurveError | |
Fan | A fan, some boards may not have all fans. |