双路主板如何安装intel power gadget ,查了资料方案1拆一个CPU安装完成后再插入另一个CPU,方案2.添加CPUS=1,方案3,修改定制intel power gadget 。方案2试过开不了机,方案3 github.com/mattferroni/intel-power-gadget/tree/master上没成功,方案4
Intel Power Gadget (IPG)
The Intel Power Gadget installer checks for supported CPUs and won't install
if it can't find one it likes. As my hackintosh is a Haswell-E 5930K on X99 I'm way offside.
Here's how to install IPG manually by-passing the installer, form the command line
Download and mounter the IPG dmg.
Now, deep breath open a terminal window
# mkdir IPG
# cd IPG
# cp cp /Volumes/Intel®\ Power\ Gadget/Install\ Intel\ Power\ Gadget.pkg .
Let's see what we have
# file *
Install Intel Power Gadget.pkg: xar archive - version 1
Ok, it's a xar file, let's extract it.
# xar -xvf Install\ Intel\ Power\ Gadget.pkg
Intel Power Gadget Application.pkg/Bom
Intel Power Gadget Application.pkg/Payload
Intel Power Gadget Application.pkg/Scripts
Intel Power Gadget Application.pkg/PackageInfo
Intel Power Gadget Driver (>=10.9).pkg/Bom
Intel Power Gadget Driver (>=10.9).pkg/Payload
Intel Power Gadget Driver (>=10.9).pkg/Scripts
Intel Power Gadget Driver (>=10.9).pkg/PackageInfo
Intel Power Gadget Framework.pkg/Bom
Intel Power Gadget Framework.pkg/Payload
Intel Power Gadget Framework.pkg/Scripts
Intel Power Gadget Framework.pkg/PackageInfo
Resources/license.txt
Distribution
Resources
Intel Power Gadget Framework.pkg
Intel Power Gadget Driver (>=10.9).pkg
Intel Power Gadget Application.pkg
What did we get ?
# ls -1
Distribution
Install Intel Power Gadget.pkg
Intel Power Gadget Application.pkg/
Intel Power Gadget Driver (>=10.9).pkg/
Intel Power Gadget Framework.pkg/
Resources/
So we got the IPG app itself, a Framework and a driver (kext)
Let's start with the kext
# cd Intel\ Power\ Gadget\ Driver\ \(\>=10.9\).pkg/
And what's in here
# file *
Bom: Mac OS X bill of materials (BOM) file
PackageInfo: XML 1.0 document text, ASCII text
Payload: gzip compressed data, from Unix
Scripts: gzip compressed data, from Unix
Not much we can do with the Bom or PackageInfo, so let's mess with the gzips
# mv Payload Payload.gz
# gunzip Payload.gz
Now what do we have
# file Payload
Payload: ASCII cpio archive (pre-SVR4 or odc)
A cpio file, well let's deal with that
# cpio -idv < Payload
.
./EnergyDriver.kext
./EnergyDriver.kext/Contents
./EnergyDriver.kext/Contents/_CodeSignature
./EnergyDriver.kext/Contents/_CodeSignature/CodeResources
./EnergyDriver.kext/Contents/Info.plist
./EnergyDriver.kext/Contents/MacOS
./EnergyDriver.kext/Contents/MacOS/EnergyDriver
122 blocks
Ah, there's the kext, we know what to do with that
# sudo pax -pe -rw EnergyDriver.kext /Library/Extensions
# sudo kextload /Libarary/Extensions/EnergyDriver.kext
Now for the Framework
# cd ..
# cd Intel\ Power\ Gadget\ Framework.pkg/
# file *
Bom: Mac OS X bill of materials (BOM) file
PackageInfo: XML 1.0 document text, ASCII text
Payload: gzip compressed data, from Unix
Scripts: gzip compressed data, from Unix
Repeat . . .
# mv Payload Payload.gz
# gunzip Payload.gz
# cpio -dv < Payload
.
./IntelPowerGadget.framework
./IntelPowerGadget.framework/Headers
./IntelPowerGadget.framework/IntelPowerGadget
./IntelPowerGadget.framework/Resources
./IntelPowerGadget.framework/Versions
./IntelPowerGadget.framework/Versions/A
./IntelPowerGadget.framework/Versions/A/_CodeSignature
./IntelPowerGadget.framework/Versions/A/_CodeSignature/CodeResources
./IntelPowerGadget.framework/Versions/A/Headers
./IntelPowerGadget.framework/Versions/A/Headers/EnergyLib.h
./IntelPowerGadget.framework/Versions/A/Headers/IntelPowerGadgetLib.h
./IntelPowerGadget.framework/Versions/A/IntelPowerGadget
./IntelPowerGadget.framework/Versions/A/Resources
./IntelPowerGadget.framework/Versions/A/Resources/Info.plist
./IntelPowerGadget.framework/Versions/Current
180 blocks
K, let's put that with the other Frameworks
# sudo pax -pe -rw IntelPowerGadget.framework /Library/Frameworks
Now for the app
# cd ..
# cd Intel\ Power\ Gadget\ Application.pkg/
Looks familiar
# file *
Bom: Mac OS X bill of materials (BOM) file
PackageInfo: XML 1.0 document text, ASCII text
Payload: gzip compressed data, from Unix
Scripts: gzip compressed data, from Unix
One more time
# mv Payload Payload.gz
# gunzip Payload.gz
# cd Intel\ Power\ Gadget/
# ls -1
Intel(R) Power Gadget.app/
PowerLog*
Read Me.html
Uninstaller.pkg
Now we can "install" the app
# pax -pe -rw Intel\(R\)\ Power\ Gadget.app/ /Applications
At this point we should just be able the launch the app by double-clicking
卡在sudo kextload /Libarary/Extensions/EnergyDriver.kext 这一步。有大佬是怎么解决的,难道只能拆一个cpu安装吗? |