Jump to content

1,165 posts in this topic

Recommended Posts

:bag:

 

But be carefull with this new SMART feature - I don't tested it much. If I'll lost my drives, I tell you.

Share this post


Link to post
Share on other sites
Advertisement

I got a warning differently to The Kings' plugin http://www.insanelym...dpost&p=1795969

About CPU multipliers, the last IntelThermal works good.

 

Feb 18 00:54:41 localhost kernel[0]: Found ATI Radeon 6738

Feb 18 00:54:41 localhost kernel[0]: NCT677x: [Warning] wrong vendor id (0xffff), continue loading...

Feb 18 00:54:41 localhost kernel[0]: NCT677x: found Nuvoton NCT6776F

Feb 18 00:54:41 localhost kernel[0]: IntelThermal: CPU family 0x6, model 0x2a, stepping 0x7, cores 4, threads 8, TJmax 98

 

 

Schermata 02-2455976 alle 00.58.59.png

Share this post


Link to post
Share on other sites

12def96a38:

W836x: [Warning] wrong vendor id (0xffff), continue loading...

W836x: found Winbond W83627DHG

 

6ea831fe98:

W836x: [Warning] wrong vendor ID=0xa3a3

Share this post


Link to post
Share on other sites

Hello,

 

To fix Hardware id detection in WindbondW386x.cpp

 

Replace value 0

UInt16 vendor = UInt16( ( readByte(0, WINBOND_VENDOR_ID_REGISTER) << 8 ) | readByte(0, WINBOND_VENDOR_ID_REGISTER) );

 

According to data sheet, you need to select good byte to read.

UInt16 vendor = UInt16( ( readByte(0x80, WINBOND_VENDOR_ID_REGISTER) << 8 ) | readByte(0, WINBOND_VENDOR_ID_REGISTER) );

 

Tested on Asus P5B. :)

 

Feb 22 20:51:03 localhost kernel[0]: FireWire (OHCI) TI ID 8023 built-in now active, GUID 0011d800012e2a2c; max speed s400.

Feb 22 20:51:03 localhost kernel[0]: W836x: found Winbond W83627DHG

Feb 22 20:51:03 localhost kernel[0]: IntelThermal: CPU family 0x6, model 0xf, stepping 0x6, cores 1, threads 2, TJmax 80

 

Regards

Share this post


Link to post
Share on other sites

Hello,

 

To fix Fan detection in WindbondW386x.cpp

 

//if (OSNumber* fanlimit = configuration ? OSDynamicCast(OSNumber, configuration->getObject("FANINLIMIT")) : 0)

// fanLimit = fanlimit->unsigned8BitValue();

 

OSNumber* fanlimit = configuration ? OSDynamicCast(OSNumber, configuration->getObject("FANINLIMIT")) : 0;

 

Fix Fan in my case with Asus P5B.

Now two Fans appear in monitor, one is Cpu other is Power Supply.

 

Regards

Share this post


Link to post
Share on other sites
Hello, To fix Fan detection in WindbondW386x.cpp //if (OSNumber* fanlimit = configuration ? OSDynamicCast(OSNumber, configuration->getObject("FANINLIMIT")) : 0) // fanLimit = fanlimit->unsigned8BitValue(); OSNumber* fanlimit = configuration ? OSDynamicCast(OSNumber, configuration->getObject("FANINLIMIT")) : 0; Fix Fan in my case with Asus P5B. Now two Fans appear in monitor, one is Cpu other is Power Supply. Regards

 

This fix keep fanLimit as is. Default value for fanLimit is 3 or depending of chip model. As I understand, without any fix fanLimit sets to 0... :worried_anim:

 

Fixed! Uploaded. Not tested, need feedback.

Share this post


Link to post
Share on other sites

works, thx a lot!

1d69e0f: W836x: found Winbond W83627DHG

 

i have to edit each time:

  <dict>
   <key>Default</key>
   <dict>
 <key>FANIN0</key>
 <string></string>
 <key>FANIN1</key>
 <string>CPU</string>
 <key>FANIN2</key>
 <string></string>
 <key>FANIN3</key>
 <string></string>
 <key>FANIN4</key>
 <string></string>
 <key>FANINLIMIT</key>
 <integer>2</integer>
 <key>TEMPIN0FORCED</key>
 <true/>
 <key>TEMPIN1FORCED</key>
 <false/>
   </dict>
  </dict>

Share this post


Link to post
Share on other sites

This fix keep fanLimit as is. Default value for fanLimit is 3 or depending of chip model. As I understand, without any fix fanLimit sets to 0... :worried_anim:

 

Fixed! Uploaded. Not tested, need feedback.

 

Hello,

 

fanLimit was good just before execute this line.

fanLimit = fanlimit->unsigned8BitValue(); -> result is 0.

 

 

Now, works fine.

 

But this line is not needed test gives 0.

if (fanlimit && fanlimit->unsigned8BitValue() > 0) fanLimit = fanlimit->unsigned8BitValue();

 

 

Regards

Share this post


Link to post
Share on other sites

hi kozlek, your set of monitoring kexts works beautifully on the system in signature, apart nvclockx (updated from your git repository just yesterday)

The temperature detected is not correct, you can see below the difference between windows and osx

 

post-449896-0-38459000-1329999333_thumb.png post-449896-0-79661500-1329999352_thumb.jpg

 

Thanks for your work and your attention.

Cheers.

Share this post


Link to post
Share on other sites

Hello,

 

fanLimit was good just before execute this line.

fanLimit = fanlimit->unsigned8BitValue(); -> result is 0.

 

 

Now, works fine.

 

But this line is not needed test gives 0.

if (fanlimit && fanlimit->unsigned8BitValue() > 0) fanLimit = fanlimit->unsigned8BitValue();

 

 

Regards

 

This line is needed. The logic is to prevent from reading from unavailable registers... I am not sure but it seems not all models has full fan registers set. I took it from open hardware monitor. They are limiting number of fan depending on model.

Share this post


Link to post
Share on other sites

F718x: [Warning] found unsupported chip ID=0x10 REVISION=0x7

 

please can you add a support for this chip also

 

Fintek F71869A

 

this is what the Lm-sensor return to me

 

 

Found `Fintek F71869A Super IO Sensors' Success!

(address 0x295, driver `f71882fg')

 

Thanks for your Help

lm78.txt

Share this post


Link to post
Share on other sites

on the X-code i change all the value of

 

F71869 with F71869A

 

 

and also here to much the value for the Id 10 and the revision 07

 

 

case 0x10:

{

switch (revision)

{

case 0x07:

model = F71869A;

logicalDeviceNumber = FINTEK_HARDWARE_MONITOR_LDN;

break;

}

 

the KEXT is loaded with no problem

 

 

Feb 24 15:03:43 localhost kernel[0]: IntelThermal: CPU family 0x6, model 0x2a, stepping 0x7, cores 4, threads 8, TJmax 98

Feb 24 15:03:43 localhost kernel[0]: F718x: found Fintek F71869A

 

 

but i get a wrong value

 

please check the snapshot

post-216126-0-86957000-1330086640_thumb.jpg

Share this post


Link to post
Share on other sites
on the X-code i change all the value of F71869 with F71869A and also here to much the value for the Id 10 and the revision 07 case 0x10: { switch (revision) { case 0x07: model = F71869A; logicalDeviceNumber = FINTEK_HARDWARE_MONITOR_LDN; break; } the KEXT is loaded with no problem Feb 24 15:03:43 localhost kernel[0]: IntelThermal: CPU family 0x6, model 0x2a, stepping 0x7, cores 4, threads 8, TJmax 98 Feb 24 15:03:43 localhost kernel[0]: F718x: found Fintek F71869A but i get a wrong value please check the snapshot

 

lmsensors like OpenHardwareMonitor uses the same logic to get temperatures from most of supported Fintek chipsets. Could you run openhardwaremonitor on windows and capture the screen?

 

hi kozlek, your set of monitoring kexts works beautifully on the system in signature, apart nvclockx (updated from your git repository just yesterday)

The temperature detected is not correct, you can see below the difference between windows and osx

 

post-449896-0-38459000-1329999333_thumb.png post-449896-0-79661500-1329999352_thumb.jpg

 

Thanks for your work and your attention.

Cheers.

 

Please, install attached debug version of NVClock and show me your kernel.log

NVClockX.kext.zip

Share this post


Link to post
Share on other sites

OK! Here's the kernel log with the nvclock debug version.... tnx

kerneldebug.rtf

 

Seems NVClock wasn't found integrated monitoring device so trying to read temperature directly from video registers but:

 

/* Reading of the internal gpu sensor, it not entirely correct yet */

static int nv50_get_gpu_temp(void *sensor)

{

int temp;

int correction=0;

float offset;

float slope;

/* For now use a hardcoded offset and gain. This isn't correct but I don't know how the new temperture table works yet; this at least gives something */

offset = -227.0;

slope = 430.0/10000.0;

if(nv_card->debug)

{

printf("NV_20008 (0x20008): %08x\n", nv_card->PMC[0x20008/4]);

printf("slope=%f, offset=%f, correction=%d\n", slope, offset, correction);

}

 

temp = nv_card->PMC[0x20008/4] & 0x1fff;

return (int)(temp * slope + offset) + correction;

}

 

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 DaHarry
      I have installed Hackintosh on to my System, but the CPU cooler is obviously louder then on Windows.
      I am using right now VirtualSMC.kext, but since FakeSMC provides temperature measurement tools, and VirtualSMC not, I asked my self if that might be a hint for my loud cooler?
      My question, has somebody tried maybe both and even compared them? And is FakeSMC maybe less noisy?
      Is it enough to just mount EFI partition, and delete the VirtualSMC.kext and put instead FakeSMC.kexts ? Without any fancy kext installation tool or terminal commands, just replace files and restart in enough?
      My System:
      Mainboard: Gigabyte Aorus Z390 Ultra
      CPU: Intel i9 9900k
      CPU Cooler: BeQuiet! Dark Rock 4
      GPU: Vega 64
      Ram: 2x16GB Corsair 3200
      SSD: 1TB Adata M.2
       
      The Tutorial i have used - https://github.com/cmer/gigabyte-z390-aorus-master-hackintosh/blob/master/STEP_BY_STEP.md
       
      Really works like a charm besides, the more noisy cooler, which i bought because it is extra quietly.
      I asked first at tonymac's forum, but they deleted the post because I haven't used their tool, really disgustig.. I really hope to never use their tools, and I hope here the information freedom is more respected.
      #f. tonyhoremacs
    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
       
    • By amin321
      hello everyones 
      I think i have a problem with my power management i feels like temperature is coming so hot and so on 
      lenovo ideapad 500 
      i7 6500U 2.50 gz
      any help please 
      Send me macbook-pro.zip
    • By vector sigma
      HWSensor Features
      Control temperature of Intel and AMD CPU Control temperature of AMD, Intel and NVidia cards Control temperature of motherboard Control FANS Control Voltages Control HDD/SSD state (SATA & NVMe) with S.M.A.R.T. monitoring  Control frequencies Laptop Battery Monitoring Different applications support High Sierra compatible Installation to /S/L/E or in the ESP (Clover only)  
      Supported languages:
      English (base), Russian, Italian, Korean and semplified Chinese
       
      Source code: at https://sourceforge.net/p/hwsensors/hwsensors3/code3/HEAD/tree/
      Bugs report at https://sourceforge.net/p/hwsensors/hwsensors3/tickets/
      Topic for discussion at: https://www.insanelymac.com/forum/topic/299861-hwsensors3/
       
      Chief Developer @Slice, new HWMonitorSMC2.app and package by @vector sigma
×