Contribute
Register

# Who can help me add fan speed patch?

#### devon

Who can help me add fan speed patch?
I've tried many ways, but I can't solve the problem.

Scope (_TZ)
{
Name (TBSE, 0x0AAC)
Name (CRT0, Zero)
Name (PSV0, Zero)
ThermalZone (TZS0)
{
Method (_TMP, 0, NotSerialized) // _TMP: Temperature
{
Local0 = \_SB.PCI0.LPCB.H_EC.THS0
Local1 = \_SB.PCI0.LPCB.H_EC.KCSS
Local2 = \_SB.PCI0.LPCB.H_EC.KOSD
If (Local2)
{
If ((Local0 <= CRT0))
{
TSDL ()
Local0 = (CRT0 + 0x02)
}
}

Return (C2K (Local0))
}

Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature
{
Local0 = \_SB.PCI0.LPCB.H_EC.TSC0
If (((Local0 >= 0x80) || (Local0 < 0x1E)))
{
Local0 = 0x78
}

CRT0 = Local0
Return (C2K (Local0))
}
}

ThermalZone (TZS1)
{
Method (_TMP, 0, NotSerialized) // _TMP: Temperature
{
Local0 = \_SB.PCI0.LPCB.H_EC.THS1
Return (C2K (Local0))
}

Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature
{
Local0 = \_SB.PCI0.LPCB.H_EC.TSC1
If (((Local0 >= 0x80) || (Local0 < 0x1E)))
{
Local0 = 0x78
}

Return (C2K (Local0))
}
}

Method (C2K, 1, NotSerialized)
{
Local0 = Arg0
If ((Local0 <= 0x10))
{
Local0 = 0x1E
}

If ((Local0 >= 0x7F))
{
Local0 = 0x1E
}

Local0 = ((Local0 * 0x0A) + TBSE) /* \_TZ_.TBSE */
Return (Local0)
}
}

#### Attachments

• DSDT.aml
57.4 KB · Views: 17