SMCAMDProcessor icon indicating copy to clipboard operation
SMCAMDProcessor copied to clipboard

SMC keys for iStat and MacFanControl

Open trulyspinach opened this issue 5 years ago • 24 comments

I'm having a hard time figuring out the combinations of SMC keys required for iStat to display a type of sensor. So some sensors might not be available based on your SMBios type.

For example, if both KeyPCPT and KeyPCTR are enabled power sensor would show up but CPU Proximity disappears at the same time.

Any suggests are welcomed.

trulyspinach avatar Feb 27 '20 07:02 trulyspinach

Have you seen this file, from VirtualSMC repo?

It specifically addresses iStat support.

radianttap avatar Feb 29 '20 20:02 radianttap

@radianttap I have tried to register only combination of keys listed for a SMBios type in the file you've mentioned but still no luck.

trulyspinach avatar Mar 01 '20 04:03 trulyspinach

Works well on TG Pro.. thanks! Any plans to break it down by cores (if that's even possible) or expose fan controls?

Murmur2k avatar Mar 02 '20 23:03 Murmur2k

@Murmur2k i don’t think per core temperatures are possible due the AMD lack of those sensors(as far as I know). Yes, there are plans for adding fan control. But not in any priority.

trulyspinach avatar Mar 03 '20 00:03 trulyspinach

@trulyspinach yes, sorry I think you are right on the per core sensor temperatures. Really appreciate your work here, I'm after the holy grail of CPU (3900X) temp, fan control access and GPU temps (haven't been able to get this working on Radeon VII).. let me know if I can assist with testing or if you have a beer pot!

Murmur2k avatar Mar 03 '20 23:03 Murmur2k

@Murmur2k I believe iStat can show GPU temperature and power? At least it is working for my RX580. I have no plan for adding GPU reading as this project is focused on AMD CPU. You are more than welcomed to join the testing, tho. as a new release is coming soon :)

trulyspinach avatar Mar 05 '20 08:03 trulyspinach

@trulyspinach I've just updated to the latest version and I just wanted to thank you again - amazing work. By the way, is it intentional that the CPU proximity temperature is exposed twice for example in TG Pro? It could be TG Pro at fault here of course.

Screenshot 2020-03-21 at 14 13 21

Murmur2k avatar Mar 21 '20 14:03 Murmur2k

@Murmur2k I really have no idea. How different third party tool using SMC keys is very odd. So I'm hoping someone with better knowledge would help me here.

trulyspinach avatar Mar 21 '20 14:03 trulyspinach

I also have this. What portion of SMCAMDProcessor deals with this? I think the issue is with VirtualSMC actually. When using FakeSMC and the AMD CPU sensor kext it was displayed correctly. Maybe check the source of that and compare.

Screenshot 2020-03-21 22 57 26

Shaneee avatar Mar 21 '20 22:03 Shaneee

Should not be VirtualSMC's issue, all it does is present registered keys to applications. It is mostly how different applications interpret them as I believe there isn't any official documentation from Apple states SMC keys of each model.

trulyspinach avatar Mar 22 '20 10:03 trulyspinach

Minor issue, since you say this is entirely dependent on SMBIOS as well. I had working CPU sensor in the current release when I had an iMacPro1,1 SMBIOS, but now I'm on MacPro7,1, and it no longer has a working CPU sensor.

kode54 avatar Apr 01 '20 05:04 kode54

Hi

Thanx for tall the work you put into this. I would really like to have fan control integrated. Is it possible?

Keep up the good work

Best regards Bjørn

prawler74 avatar Apr 27 '20 09:04 prawler74

@prawler74 definitely possible.

trulyspinach avatar Apr 27 '20 09:04 trulyspinach

That would be awesome. Have you been looking into it?

Is there a way for a noob like me to do this? Though i would rather have you implent it on the gadget.

Bjørn

prawler74 avatar Apr 27 '20 09:04 prawler74

@prawler74 I believe I have mentioned somewhere previously that I got the code working on my motherboard. However it is just some experiment. It will take more time to make a working application. I do still interested in making one but currently not have much time on it.

It wasn't hard at all, there're a lot of open source implementation out there that you can look for reference.

trulyspinach avatar Apr 27 '20 09:04 trulyspinach

Hi

Yes. You have mentioned it. I will give it a go. Cant wait for you’re comning updates.

Best regards Bjørn

prawler74 avatar Apr 27 '20 09:04 prawler74

@trulyspinach Could you push your experiment on a branch? Might be a good starting point for people wanting to get into it.

aluveitie avatar Apr 27 '20 09:04 aluveitie

@trulyspinach Could you push your experiment on a branch? Might be a good starting point for people wanting to get into it.

That would be awesome and may even work for some with the same controller.

Murmur2k avatar Apr 27 '20 09:04 Murmur2k

Unfortunately they're gone. It was just a couple lines of code added to some random function.

But if you want some starting point I am sure this will be inspiring :)

trulyspinach avatar Apr 27 '20 09:04 trulyspinach

I have something new. I loaded SMCSuperIO after CPUPowerManagement and TG Pro shown my fans Screen Shot 2020-05-15 at 16 46 41

nguyennghia9222 avatar May 15 '20 09:05 nguyennghia9222

I have something new. I loaded SMCSuperIO after CPUPowerManagement and TG Pro shown my fans Screen Shot 2020-05-15 at 16 46 41

Amazing - does it allow you to control the fans?

Murmur2k avatar May 15 '20 09:05 Murmur2k

I cannot control fan speed manually via TG Pro. I did some fan setups but nothing effected :)

nguyennghia9222 avatar May 15 '20 10:05 nguyennghia9222

Minor issue, since you say this is entirely dependent on SMBIOS as well. I had working CPU sensor in the current release when I had an iMacPro1,1 SMBIOS, but now I'm on MacPro7,1, and it no longer has a working CPU sensor.

@kode54 I can confirm that on r5 3600 and rx5700 XT.

memegauste avatar Feb 23 '22 17:02 memegauste

Unsubscribing, as I no longer run any Hackintosh systems.

kode54 avatar Feb 24 '22 00:02 kode54