Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System Fan Control #5

Merged
merged 1 commit into from
Feb 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ If you have installed an SSD and a HDD in your T430, you can gain the advantages
sudo mkdir /var/vm/sleepimage
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0

#### Fan Patch (Get speed readout and make it quiet)
- Apply "fan patch/t430-fan-patch.txt" to your DSDT file using maciASL.
- Load ACPIPoller.kext using Kext Utility (make sure to use this version because it has a modified Info.plist)
- Reboot and enjoy fan speed readouts and a quiet T430 :)

**And that's it! You're done. (Hopefully.)** =)

Expand Down Expand Up @@ -226,4 +231,4 @@ If you have installed an SSD and a HDD in your T430, you can gain the advantages
https://github.com/bibanon/Coreboot-ThinkPads/wiki/xx30-BIOS-Whitelist-Removal

## Updates
A running log of the changes made with each released update can be found [here](update_log.md).
A running log of the changes made with each released update can be found [here](update_log.md).
79 changes: 79 additions & 0 deletions fan patch/ACPIPoller.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>15C50</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>ACPIPoller</string>
<key>CFBundleGetInfoString</key>
<string>0.8.1, Copyright © 2012 RehabMan. All rights reserved.</string>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.ACPIPoller</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ACPIPoller</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>0.8.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>0.8.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>7C68</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>12D75</string>
<key>DTSDKName</key>
<string>macosx10.8</string>
<key>DTXcode</key>
<string>0720</string>
<key>DTXcodeBuild</key>
<string>7C68</string>
<key>IOKitPersonalities</key>
<dict>
<key>ACPI Poller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.ACPIPoller</string>
<key>IOClass</key>
<string>org_rehabman_ACPIPoller</string>
<key>IONameMatch</key>
<string>FAN00000</string>
<key>IOProviderClass</key>
<string>IOACPIPlatformDevice</string>
<key>Methods</key>
<array>
<string>tcpu</string>
</array>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012 RehabMan. All rights reserved.</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOACPIFamily</key>
<string>1.0d1</string>
<key>com.apple.kpi.iokit</key>
<string>9.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>9.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
<key>Source Code</key>
<string>https://github.com/RehabMan/OS-X-ACPI-Poller</string>
</dict>
</plist>
Binary file not shown.
57 changes: 57 additions & 0 deletions fan patch/t430-fan-patch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Add FAN Sensor and more quiet fan curve

into device label EC insert
begin
Field (ECOR, ByteAcc, NoLock, Preserve)\n
{\n
Offset (0x84),\n
HFN1, 8,\n
HFN2, 8\n
}\n
end;

into device label SMCD remove_entry;
into device label LPC insert
begin
Device (SMCD)\n
{\n
Name (_HID, "MON0000") // _HID: Hardware ID\n
Method (FAN0, 0, NotSerialized)\n
{\n
Store (B1B2 (^^EC.HFN1, ^^EC.HFN2), Local0)\n
Return (Local0)\n
}\n

Method (TCPU, 0, NotSerialized)\n
{\n
Store (^^EC.TMP0, Local0)\n
Store (^^EC.TMP0, Local0)\n
If (LLessEqual (Local0, 0x32))\n
{\n
Store (Zero, ^^EC.HFSP)\n
}\n
If (LGreaterEqual (Local0, 0x55))\n
{\n
Store (0x40, ^^EC.HFSP)\n
}\n
ElseIf (LGreaterEqual (Local0, 0x4B))\n
{\n
Store (0x07, ^^EC.HFSP)\n
}\n
ElseIf (LGreaterEqual (Local0, 0x46))\n
{\n
Store (0x04, ^^EC.HFSP)\n
}\n
ElseIf (LGreaterEqual (Local0, 0x41))\n
{\n
Store (0x02, ^^EC.HFSP)\n
}\n
ElseIf (LGreaterEqual (Local0, 0x3D))\n
{\n
Store (One, ^^EC.HFSP)\n
}\n

Return (Local0)\n
}\n
}\n
end;