crystalidea / macs-fan-control

Control fans on Apple computers
https://crystalidea.com/macs-fan-control
834 stars 96 forks source link

Temperature and fan and watt cpu pwr pkg reading on hackintosh ryzen #662

Open Lorys89 opened 1 year ago

Lorys89 commented 1 year ago

Hello, I wanted to ask you if you can implement temperature reading and fans on ryzen hackintosh.

https://github.com/trulyspinach/SMCAMDProcessor At the moment we use kext and app from the link above, but I have always used your app in my mac and hackintosh and would like to use it in ryzen hackintosh. Thank you

Lorys89 commented 1 year ago

Screenshot 2023-01-23 alle 22 06 04

kleuter commented 1 year ago

It says "SMCAMDProcessor.kext to publish readings to VirtualSMC, which enables macOS applications like iStat to display sensor data"

So basically it should be in Macs Fan Control as well

Lorys89 commented 1 year ago

not work, i always used smcamd
Screenshot 2023-01-30 alle 18 59 49

kleuter commented 1 year ago

It's not related to our app https://github.com/trulyspinach/SMCAMDProcessor/issues/138 https://github.com/trulyspinach/SMCAMDProcessor/issues/156 https://github.com/mikigal/ryzen-hackintosh/issues/36

Lorys89 commented 1 year ago

Should I try older versions of kext? And see if mac fan control reads temps and fans?

kleuter commented 1 year ago

You could try

Lorys89 commented 1 year ago

Screenshot 2023-03-30 alle 23 17 28

I did all the tests with all the kext versions and I also tested with istatmenu and it doesn't read the cpu temp

i have ryzen 7 7700x

Lorys89 commented 1 year ago

Fixed Screenshot 2023-05-16 alle 23 49 29

kleuter commented 1 year ago

how?

Lorys89 commented 1 year ago

For fan reading I entered this https://github.com/acidanthera/VirtualSMC/pull/73 For cpu temperature reading I used this version of smcamd https://github.com/trulyspinach/SMCAMDProcessor/releases/download/0.6.4/SMCAMDProcessor.kext.zip

Lorys89 commented 1 year ago

@kleuter Can you implement pkg pwr cpu reading in watts?

Lorys89 commented 1 year ago

and add 3 read value to menu bar Screenshot 2023-05-29 alle 17 21 25

fan / temp / watt

Lorys89 commented 1 year ago

@kleuter Where can I find the source code of the app? I would be curious to try to add the cpu power reading in watts

kleuter commented 1 year ago

The app is not open source, currently 😃

Lorys89 commented 1 year ago

The app is not open source, currently smiley And the mod I requested can be done?

kleuter commented 1 year ago

The app doesn't support Hackintosh officially, moreover Sonoma seems to be the last to support x86_64 CPUs.

Lorys89 commented 1 year ago

The app doesn't support Hackintosh officially, moreover Sonoma seems to be the last to support x86_64 CPUs.

the key for read cpu package watt is :

suc &= VirtualSMCAPI::addKey(KeyPCPT, vsmcPlugin.data, VirtualSMCAPI::valueWithSp(0, SmcKeyTypeSp96, new EnergyPackage(this, 0)));

static constexpr SMC_KEY KeyPCPT = SMC_MAKE_IDENTIFIER('P','C','P','T');
Lorys89 commented 1 year ago

please try to add it..so that more people can use your amazing app :)

Lorys89 commented 1 year ago

Screenshot 2023-06-23 alle 13 06 28