trulyspinach / SMCAMDProcessor

Power management, monitoring and VirtualSMC plugin for AMD processors
BSD 3-Clause "New" or "Revised" License
1.03k stars 87 forks source link

Feature Request - control fan speed via cpu temp #130

Closed mlch911 closed 3 years ago

mlch911 commented 3 years ago

Now it can change fan speed once.

Is it possible to add a tool to control fan speed via cpu temp? like many other fan control tool.

Or is there any cli tool to call that can read cpu temp and change fan speed ? And I can write a script to do the same thing.

trulyspinach commented 3 years ago

Hi mlch991. I can understand this and it wasn't any hard to implement. But this just isn't right: this type of automation is typically handled by specialized hardware(SMC, PCH, etc.), with much better accuracy and response time while not wasting CPU resources. It's the vender's job to make sure it was configured correctly. In term of DIY builds you can typically configure this with the EFI config menu. For me the only reason of having control of fan speed in OS is just to have fun by pushing them to max :)

mlch911 commented 3 years ago

Hi mlch991. I can understand this and it wasn't any hard to implement. But this just isn't right: this type of automation is typically handled by specialized hardware(SMC, PCH, etc.), with much better accuracy and response time while not wasting CPU resources. It's the vender's job to make sure it was configured correctly. In term of DIY builds you can typically configure this with the EFI config menu. For me the only reason of having control of fan speed in OS is just to have fun by pushing them to max :)

I agree with you. But the fan curve I can setup in BIOS is so stupid and limited. So I usually config custom fan curve in software. And I can change it whenever I want.

trulyspinach commented 3 years ago

Indeed, I also feel that those UIs are trash. But adding automation to this software won't solve this problem. Maybe one can take a look into if it is possible to modify those configurations. It is definitely possible since most MB vendor also provide a OS level application that can modify fan curve, also trash tho. But I believe there isn't any API document available and we need to hack our own way through. I will definitely take a look at the possibilities sometime :)

mlch911 commented 3 years ago

Indeed, I also feel that those UIs are trash. But adding automation to this software won't solve this problem. Maybe one can take a look into if it is possible to modify those configurations. It is definitely possible since most MB vendor also provide a OS level application that can modify fan curve, also trash tho. But I believe there isn't any API document available and we need to hack our own way through. I will definitely take a look at the possibilities sometime :)

Thx a lot.

BTW. Is it possible to add Power and Frequency data to iStat ?

trulyspinach commented 3 years ago

There's an old thread #10 that talked about this. Power should be shown in iStat for some SMBIOS if you get SMCAMDProcessor loaded. I don't think frequency is possible since iStat doesn't not display it.