Jump to content
Slice

Dell monitoring by SMM and fan control

31 posts in this topic

Recommended Posts

So the function get_temp_type is not working with your PCH.

I may propose to manually set

-      int type = i8k_get_temp_type(i);

+    int type = i;

Which is not correct but gives your sensors.

Share this post


Link to post
Share on other sites
Advertisement

I got it, registered without acpimonitor.kext

 

2019-11-15 16:04:08.866523+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: Got sigs 44494147 and 44454c4c


2019-11-15 16:04:08.866526+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: Based on I8kfan project adopted to HWSensors by Slice 2014
2019-11-15 16:04:08.866879+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: [Warning] No power status
2019-11-15 16:04:09.211434+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: found fan 0 type -1
2019-11-15 16:04:09.212126+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor:    min speed 2500
2019-11-15 16:04:09.212826+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor:    max speed 4900
2019-11-15 16:04:09.229816+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: found fan 1 type -1
2019-11-15 16:04:09.230378+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor:    min speed 2500
2019-11-15 16:04:09.231072+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor:    max speed 4900
2019-11-15 16:04:09.234111+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: sensor 0 type 0
2019-11-15 16:04:09.234766+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: sensor 1 type 1
2019-11-15 16:04:09.235420+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: sensor 2 type 2
2019-11-15 16:04:09.236075+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: sensor 3 type 3
2019-11-15 16:04:09.236725+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: sensor 4 type 4
2019-11-15 16:04:09.237379+0700  localhost kernel[0]: (SMIMonitor) SMIMonitor: sensor 5 type 5

hopefully someday I can't monitor the PCH temp,

 

thank you @Slice

Edited by Regi Yassin

Share this post


Link to post
Share on other sites

yeah, I see it, but I wonder why multiplier isn't showing the correct value with istatmenus ?

I haven't corrected the name of the temp

 

1477213250_ScreenShot2019-11-16at01_07_45.png.58f501121d593f66c248d92559ff653a.png

 

EDIT:

got it fixed for multiplier

 

Edited by Regi Yassin

Share this post


Link to post
Share on other sites
Posted (edited)
On 8/12/2019 at 9:22 AM, Slice said:

Big news!

I added an ability to manually set Fan speed.

See how it works:

1. The computer is cool and the fan is stopped

Снимок экрана 2019-08-12 в 18.52.21.png

2. I set Manual Drive

sudo smcwrite F0Md 0100

and then set the fan 0 to low speed

sudo smcwrite F0As 0100

Снимок экрана 2019-08-12 в 19.01.36.png

3. Then I forced the fan to HIGH speed

sudo smcwrite F0As 0200

Снимок экрана 2019-08-12 в 19.01.57.png

OK, I need no more the high speed so I stopped the fan

sudo smcwrite F0As 0000

Or I want to give the computer automatic control on fans

sudo smcwrite F0Md 0000

 

@vector sigma

Can we add this function to HWMonitorSMC2? I see there is a template for FAN control.

What I need is to set in preferences

Temp01 - a temperature to switch fan from OFF to LOW. (default 50)

Temp12 - from LOW to HIGH (default 70)

Temp21 - from HIGH to LOW (default 60)

Temp10 - from LOW to OFF (default 40)

and a switch manual/auto.

When the Monitor checks CPU Temp it will write SMC keys as shown above.

This is great! it works quite well on my DELL m3800, and I can use it to control the speed. Slice, is the source code of SMIMonitor updated on sf.net to include the change? I'm currently using Rehabman's fakesmc which gives me quick boot time. I used your version of fakesmc, but it gave me random restart when booting into the system. I will be interested to look at the codes, and hopefully integrate your fan control function in Rehabman's fakesmc sets. Thanks!

Edited by roswellian

Share this post


Link to post
Share on other sites
3 hours ago, roswellian said:

This is great! it works quite well on my DELL m3800, and I can use it to control the speed. Slice, is the source code of SMIMonitor updated on sf.net to include the change? I'm currently using Rehabman's fakesmc which gives me quick boot time. I used your version of fakesmc, but it gave me random restart when booting into the system. I will be interested to look at the codes, and hopefully integrate your fan control function in Rehabman's fakesmc sets. Thanks!

Take my sources from github. The link is in my signature.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Slice
      Guys,
      Don't mix 6.18 and 3.41.
       
      There are three different projects for monitoring temperatures, voltages, fans speed and other hardware parameters:
      Initially it was FakeSMC with plugins for producing SMC keys for hardware parameters for different hardware. But sometimes ago Kozlek separated own version of FakeSMC and producing new set of plugins while I stay with good working version 3. So..
      1. FakeSMC v3 with Hardware Sensors3  which I still supported.
      2. FakeSMC v6 (rev1800) by Kozlek and supported by Rehabman. AFAIK both are abandoned and the project is not supported. Or may be maintained by coauthors.
      3. New VirtualSMC by vit9696 with own set of sensors kexts. It depends on Lilu.kext. The project is in active development.
      All three project have incompatible interfaces sensors<->SMC so they are incompatible with each other.
       
      There are applications for monitoring hardware parameters and they commonly depends on these projects.
      1. iStat, iStatMenu, iStatPro compatible with real Macs because they use SMC keys just like those presents in real Macs.
      2. HWMonitorSMC by Navi (initial codes from Kozlek)  used in my HWSensors3.
      3. HWMonitor by Kozlek with graphics like in IntelPowerGadget used in his HWSensors version.
      4. HWMonitorSMC2 by Vector_Sigma tends to be universal supporting all project. It also may use sensors information produces by Apple graphics and by IntelPowerGadget.
       
      Let us discuss here differences and common ideas for this projects.
       
    • By Slice
      This thread devoted to share information about different SMC keys found or investigated anywhere.
       
      What are they?
      SMC keys is a somehow language to speak between macOS and hardware microcontroller presented in real Mac and absent in Hackintosh.
      They inform macOS about Hardware ID and current status. Moreover macOS can write something through SMC protocol to control hardware.
      FakeSMC ( ©Netkas) is the driver to emulate this microcontroller on PC having no such device which is necessary to boot macOS here.
      But FakeSMC contain only ~20 keys while real Mac answers ~200 keys.
      Some keys we added by HWSensors project reporting temperatures, FAN speeds, voltages etc.
      Some keys are model dependent was added by Clover to be sure if user changed model in GUI then corresponding keys will be changed automatically.
      Clover sets
      LogDataHub(&gEfiMiscSubClassGuid, L"RPlt", &gSettings.RPlt, 8);
      LogDataHub(&gEfiMiscSubClassGuid, L"RBr", &gSettings.RBr, 8);
      LogDataHub(&gEfiMiscSubClassGuid, L"EPCI", &gSettings.EPCI, 4);
      LogDataHub(&gEfiMiscSubClassGuid, L"REV", &gSettings.REV, 6);
      LogDataHub(&gEfiMiscSubClassGuid, L"BEMB", &gSettings.Mobile, 1);
      BEMB - is a mobility sign. =0 -desktop, =1 - mobile.
      REV - SMC hardware revision, changes sometimes with Apple updates.
      RPlt, RBr and EPCI is hardware capabilities, noticed used in Intel HD drivers.
       
      Structure.
      All SMC keys consists of name 4 ascii chars as 32bit integer, type and value.
      Types:
       "flag", len 1
       "ui8 ", len 1
       "ui16", len 2
       "sp78", len 2
       "ui32", len 4
      "fp2e", len 2
      "fpe2", len 2
      "{rev", and others...
       
      List of known keys
      SMC_list.plist.zip
      More keys will be discussed in the thread
       
       
      Feel free to share you knowledge and ask about noticed keys.
    • By Slice
      Hi all,
       
      I created an installer for my version of FakeSMC with plugins and applications latest revision.
       
      Compatibility from 10.6 up to 10.15.
      Test, please.

      Download here: HWSensors.pkg.zip
      See my signature
       
      02.11.2019
      New project home
      https://github.com/CloverHackyColor/FakeSMC3_with_plugins
      FakeSMC v3.5.3 and plugins
       
      HWMonitorSMC2 at
      https://github.com/CloverHackyColor/HWMonitorSMC2
       
       
      FakeSMC 3.4.0 revision 751
      HWSensors.pkg-751.zip
       
      New project home is
      https://sourceforge.net/projects/hwsensors3.hwsensors.p/
      where you can download most recent versions.
      Now it is FakeSMC 3.4.1
       
      Explanations about the difference between versions 3 and 6
        #137 
       
      20.05.2016
      Revision 32 with explanation at    #220 
       
      10.10.2017
      FakeSMC is 3.5.0 compatible with High Sierra.
      New plugin VoodooBatterySMC created on the base of VoodooBattery by Superhai but with SMC keys generating to show Battery voltage and amperage. As well it created key BATP needed for right speedstep and FileVault2.
      Other kexts revised.
    • By DerNuntius
      Hi,
       
      Finally I finished the installation of 10.14.6 on my Dell E5440. Everything works just fine, but HDMI will not work. Every time I plug it in, it causes a grey screen on my laptop monitor. Also on boot up. I attached my EFI Folder, maybe someone can help me. I searched a bit and read something about Azul Framebuffer Kext.
       
      Thank you for helping.
      Greedings,
      Hugo
       
       
      CLOVER.zip
    • By spec3
      hi,
       
      Is someone using ultrawide monitor 75hz whit hackintosh?
       
      I would like to buy LG 34UC99 (resolution 3440x1440 and freq: 75hz)
       
      will it work for you?
       
       
×