微信扫一扫 分享朋友圈

已有 13538 人浏览分享

开启左侧

双路主板如何安装intel power gadget

[复制链接]
13538 50
双路主板如何安装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安装吗?

评论 50

apere  高级会员  发表于 2023-7-14 16:07 | 显示全部楼层
我喜欢黑妹,可以约起来吗

举报 使用道具

回复 支持 反对
二多  高级会员  发表于 2023-7-14 17:28 | 显示全部楼层
来顶下,攒一些窝币

举报 使用道具

回复 支持 反对
edwardseo  高级会员  发表于 2023-7-14 18:49 | 显示全部楼层
不错,支持下楼主

举报 使用道具

回复 支持 反对
zchongying  高级会员  发表于 2023-7-14 20:24 | 显示全部楼层
水窝老用户,支持下

举报 使用道具

回复 支持 反对
sonicxyz  高级会员  发表于 2023-7-14 21:30 | 显示全部楼层
20年水粉

举报 使用道具

回复 支持 反对
vision323  高级会员  发表于 2023-7-14 22:39 | 显示全部楼层
我是来抢楼的

举报 使用道具

回复 支持 反对
tieguanyincha  高级会员  发表于 2023-7-15 06:38 | 显示全部楼层
来顶下,攒一些窝币

举报 使用道具

回复 支持 反对
daystre  高级会员  发表于 2023-7-15 08:09 | 显示全部楼层
黑哥的论坛,要支持

举报 使用道具

回复 支持 反对
WWG1969  高级会员  发表于 2023-7-15 09:28 | 显示全部楼层
黑哥的论坛,要支持

举报 使用道具

回复 支持 反对
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

关注

23

粉丝

161

主题
精彩推荐
热门资讯
网友晒图
图文推荐
  • 微信公众平台

  • 扫描访问手机版

Archiver|手机版|小黑屋|水窝ibm

GMT+8, 2024-11-24 09:41 , Processed in 0.081075 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2022 Comsenz Inc.