Jump to content
2,189 posts in this topic

Recommended Posts

58 minutes ago, unixb0y said:

 

Actually I had an issue after putting the kexts into S/L/E where it wouldn't boot anymore but starting from the Clover USB was easily possible and from there I could move the files back to EFI/EFI/.... :thumbsup_anim:

yes, using a copy of Clover from a USB pen it's enough because leave your setup working. I made more then one change but I think I have to go step by step. So here a tiny change only reading the Fans from this:

if (model >= NCT6681) {
    for (int i = 0; i < fanLimit; i++) {
      int bank = NUVOTON_TACHOMETER[i] >> 8;
      int reg  = NUVOTON_TACHOMETER[i] & 0xFF;
      int16_t msbyte = readByte(bank, reg);
      int16_t lsbyte = readByte(bank, reg + 1);
      fanValue[i] = (msbyte << 8) + lsbyte;
      fanValueObsolete[i] = false;
    }
    return;
  }

to this: 

if (model >= NCT6681) {
    for (int i = 0; i < fanLimit; i++) {
      UInt8 bank = NUVOTON_TACHOMETER[i] >> 8;
      UInt8 reg  = NUVOTON_TACHOMETER[i] & 0xFF;
      UInt8 msbyte = readByte(bank, reg);
      UInt8 lsbyte = readByte(bank, reg + 1);
      fanValue[i]  = (UInt16)((msbyte << 8) | lsbyte);
      fanValueObsolete[i] = false;
    }
    return;
  }

..should work, at least without kernel panic.

 

W836x.kext.zip

Edited by vector sigma
typo
  • Like 1
Link to comment
Share on other sites

4 hours ago, vector sigma said:

I tried to put a kext on a bootable USB flash drive with clover, but it did not work. Temperature sensors on the motherboard and fans also do not work.

Link to comment
Share on other sites

If I put FakeSMC my machine starts working slower. And while working, I see that it is slower. Therefore, I put VirtualSMC.kext and so everything works much better.

Link to comment
Share on other sites

8 hours ago, AKlion said:

If I put FakeSMC my machine starts working slower. And while working, I see that it is slower. Therefore, I put VirtualSMC.kext and so everything works much better.

:), this explain why nothing happened. Could you please try, anyway, FakeSMC.kext + IntelCPUMonitor.kext + W836x.kext attached just for testing purpose as I working on it :D?

FakeSMC.kext.zip

IntelCPUMonitor.kext.zip

W836x.kext.zip

 

To do that you have to take away temporarily VirtualSMC.kext, SMCSuperIO.kext and SMCProcessor.kext.

 

P.S. using a USB pen drive

8 hours ago, Rodion2010 said:

is it about FakeSMC or VirtualSMC? they use completely different sets of SuperIO plugins

Thanks

Edited by vector sigma
typo
Link to comment
Share on other sites

1 hour ago, vector sigma said:

Did you tried the kext here?

 

No, I thought it's for the other superIO! I have the NCT6793D.

I "switched" to your new kext and it made no difference :-/ By the way: What does changing the values in the Info.plist → IOKitPersonalities → Winbond W836x Monitor Plugin → Sensors Configuration → ASUS → Z370-A actually do? Is it just for the text / labels that HWMonitor displays or does it actually affect if the kext works or not?

Edited by unixb0y
Link to comment
Share on other sites

52 minutes ago, unixb0y said:

By the way: What does changing the values in the Info.plist → IOKitPersonalities → Winbond W836x Monitor Plugin → Sensors Configuration → ASUS → Z370-A actually do? Is it just for the text / labels that HWMonitor displays or does it actually affect if the kext works or not?

For the app does nothing since it reads SMC keys. The "Sensors Configuration" instead yes, it matter, and it is up to you to adjust it. Once we have a working and tested configuration we can add it to the project so that anyone else with your motherboard will be happy.

Then, you told me you are a programmer so I was expecting from you to read the code :), and make sure that under "Sensors Configuration"->ASUS you create a dictionary called like your motherboard name. Name that you can find in the ioreg (IODeviceTree) under "/efi->platform->OEMBoard" (or "/efi->platform->OEMProduct" if OEMBoard does not exist). This just to read a custom configuration, otherwise "Default" will taken into account instead.

 

So,  IOKitPersonalities → Winbond W836x Monitor Plugin → Sensors Configuration → ASUS → Z370-A will be read only if that match.

Here you told that everything works but the fan's reading, please ensure we are working in the same direction and ensure the custom configuration is read.

 

EDIT

and ensure FANINLIMIT is not 0 and <=7

Edited by vector sigma
Link to comment
Share on other sites

30 minutes ago, vector sigma said:

This is the GUI version: IORegistryExplorer.app.zip

I did ioreg.

 

I can not understand why the forum subscription does not work and I do not receive letters from the forum. How to set up correct emails to arrive immediately?

iMac — AKlion.ioreg.zip

Link to comment
Share on other sites

On 3/10/2019 at 1:22 PM, vector sigma said:

:), this explain why nothing happened. Could you please try, anyway, FakeSMC.kext + IntelCPUMonitor.kext + W836x.kext attached just for testing purpose as I working on it :D?

FakeSMC.kext.zip

IntelCPUMonitor.kext.zip

W836x.kext.zip

Good day.
Tell me if you can do the same for VirtualSMC.kext?

Link to comment
Share on other sites

4 hours ago, vector sigma said:

Anyway, can you show me the SMC dump by right clicking on first row in HWMonitorSMC2.app?

I made two dumps, one when I started with FakeSMC, the second when I started with VirtualSMC.

 

Compressed file.zip

Link to comment
Share on other sites

On 3/13/2019 at 10:13 PM, vector sigma said:

Anyway, can you show me the SMC dump by right clicking on first row in HWMonitorSMC2.app?

Good day, today I was adjusting the processor and it was understood that the processor consumed power was not enough. It is very necessary to know the power consumed by the processor. Can this be done?

Снимок экрана 2019-03-16 в 5.45.11.png

Link to comment
Share on other sites

12 hours ago, AKlion said:

Good day, today I was adjusting the processor and it was understood that the processor consumed power was not enough. It is very necessary to know the power consumed by the processor. Can this be done?

Снимок экрана 2019-03-16 в 5.45.11.png

 

Сенсоры от @slice не выдают smc ключей для мощности cpu и igpu, в отличии от vsmc и варианта козлика.

Нужно просить слайса чтобы добавил.

Link to comment
Share on other sites

  • 2 weeks later...

Not sure why I see no fan speed for my RX570. I have the following kexts in the EFI/Clover/kexts/Other folder:

ACPIMonitor.kext
FakeSMC.kext
IntelCPUMonitor.kext
ITEIT87x.kext
PC8739x.kext
RadeonMonitor.kext

Screen Shot 2019-03-29 at 10.56.30 AM.jpg

Link to comment
Share on other sites

15 minutes ago, pico joe said:

@Slice my RX 460 show fans monitoring

This depend by the OS driver and not by the plugins. Don't know if that happens on a not supported id(??) and we cannot do other then hide those values. Only when aren't good values. I'll do that in a next commit as soon as I'll have time.

Edited by vector sigma
typo
  • Like 1
Link to comment
Share on other sites

21 hours ago, vector sigma said:

Guys, ooc what can be a max value for a Fan? How many rpm can have a pump?

There is no physical limits because drive has DC power.

But in common sense it will not be more then 4000rpm.

  • Like 1
Link to comment
Share on other sites

On 4/5/2019 at 6:07 PM, vector sigma said:

Guys, ooc what can be a max value for a Fan? How many rpm can have a pump?

 

Mine actually run at under 1k (Noctua) :thumbsup_anim:

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...