diff --git a/src/ec/system76/ec/acpi/s76.asl b/src/ec/system76/ec/acpi/s76.asl index 3101a996d68..2ab8d5ce87f 100644 --- a/src/ec/system76/ec/acpi/s76.asl +++ b/src/ec/system76/ec/acpi/s76.asl @@ -143,6 +143,24 @@ Device (S76D) { Return ((Local1 << 8) | Local0) } + // Set Fan speed + Method (SFD0, 1, Serialized) { + If (^^PCI0.LPCB.EC0.ECOK) { + ^^PCI0.LPCB.EC0.FDAT = Zero + ^^PCI0.LPCB.EC0.FBUF = Arg0 + ^^PCI0.LPCB.EC0.FCMD = 0xCE + } + } +#if CONFIG(EC_SYSTEM76_EC_DGPU) + Method (SFD1, 1, Serialized) { + If (^^PCI0.LPCB.EC0.ECOK) { + ^^PCI0.LPCB.EC0.FDAT = Zero + ^^PCI0.LPCB.EC0.FBUF = Arg0 + ^^PCI0.LPCB.EC0.FCMD = 0xCF + } + } +#endif // CONFIG(EC_SYSTEM76_EC_DGPU) + // Temperature names Method (NTMP, 0, Serialized) { Return (Package (2) {