- Joined
- May 22, 2020
- Messages
- 148 (0.09/day)
- Location
- Ukraine
ACPI RESEARCH:
GTFV | _SB.PCI0.LPCB.EC0.FT2C
Code:Method (GTFV, 1, Serialized) { Store (Zero, Local0) If (\_SB.PCI0.LPCB.EC0.ECRG) { Acquire (\_SB.PCI0.LPCB.EC0.ECMX, 0xFFFF) If (LEqual (Arg0, One)) { Store (\_SB.PCI0.LPCB.EC0.FTGC, Local0) } ElseIf (LEqual (Arg0, 0x02)) { Store (\_SB.PCI0.LPCB.EC0.FT2C, Local0) } Release (\_SB.PCI0.LPCB.EC0.ECMX) } Return (Local0) }
_SB.PCI0.LPCB.EC0.FT2C, Local0 - That one is reading TARGET FAN SPEED. When i change speed in NBFC, this value changes in exact same time. So reading Only!
STMM | ^^PCI0.LPCB.EC0.FT2C
Code:If (LEqual (IDTA, 0x30)) { Store (DerefOf (Index (Arg0, One)), Local1) Store (DerefOf (Index (Arg0, 0x02)), Local2) If (LGreater (Local1, One)) { Store (DerefOf (Index (Arg0, 0x04)), Local3) } If (^^PCI0.LPCB.EC0.ECRG) { Acquire (^^PCI0.LPCB.EC0.ECMX, 0xFFFF) Store (Local2, ^^PCI0.LPCB.EC0.FTGC) If (LGreater (Local1, One)) { Store (Local1, ^^PCI0.LPCB.EC0.FT2C) } Release (^^PCI0.LPCB.EC0.ECMX) } Return (Package (0x01) { Zero }) }
Local1, ^^PCI0.LPCB.EC0.FT2C - That one is setting TARGET FAN SPEED
\\\\\\\\\ \\\\\\\\\ \\\\\\\\\ \\\\\\\\\
Clean AMDSGTBL
DefinitionBlock ("", "SSDT", 1, "HP", "AMDSGTBL", 0x00001000
\\\\\\\\\ \\\\\\\\\ \\\\\\\\\ \\\\\\\\\
Interesting:
thermal.c source code [linux/drivers/acpi/thermal.c] - Codebrowser
Browse the source of linux v6.9-rc using KDAB Codebrowser which provides IDE like features for browsing C, C++, Rust & Dart code in your browser
code.woboq.org
intel_pch_thermal.c source code [linux/drivers/thermal/intel/intel_pch_thermal.c] - Codebrowser
Browse the source of linux v6.9-rc using KDAB Codebrowser which provides IDE like features for browsing C, C++, Rust & Dart code in your browser
code.woboq.org
\\\\\\\\\ \\\\\\\\\ \\\\\\\\\ \\\\\\\\\
Thermal controller DUFC for WX4150
\\\\\\\\\ \\\\\\\\\ \\\\\\\\\ \\\\\\\\\
Adding TROPPO \ CAPE VERDE MOBILE GPUz for research of smbus compatibility
Attachments
Last edited: