Jump to content

Winbond/Nuvoton monitor


Slice
 Share

170 posts in this topic

Recommended Posts

Hi Slice,

 

Is there anything you would like me to test ? I am going on holidays for 3 weeks tomorrow night, so won't be available to test after that

 

Thanks

Test version.

Even if you do this now it will not final solution. It is a dump to choose registers to monitor.

W836x.kext.zip

Link to comment
Share on other sites


2017-12-13 18:27:56.720058+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] initialising...
2017-12-13 18:27:56.720697+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] probing...
2017-12-13 18:27:57.132383+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: Dump Nuvoton registers:
2017-12-13 18:27:57.138034+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 100: 90
2017-12-13 18:27:57.143260+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 200: 90
2017-12-13 18:27:57.148407+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 300: 03
2017-12-13 18:27:57.153558+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 73: 2e
2017-12-13 18:27:57.158633+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 75: 2e
2017-12-13 18:27:57.163697+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 77: 19
2017-12-13 18:27:57.168741+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 79: 2e
2017-12-13 18:27:57.173727+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 336: 2e
2017-12-13 18:27:57.178683+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 1648: ff
2017-12-13 18:27:57.183611+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 39: 23
2017-12-13 18:27:57.188479+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 14423: ff
2017-12-13 18:27:57.193359+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 32: 35
2017-12-13 18:27:57.198134+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 33: d3
2017-12-13 18:27:57.202855+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 35: ce
2017-12-13 18:27:57.207516+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: - 34: ce
2017-12-13 18:27:57.268270+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] starting ...
2017-12-13 18:27:57.273540+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: found NCT6791D
2017-12-13 18:27:57.278591+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: mother vendor=ASRock product=Z270 Gaming K4
2017-12-13 18:27:57.284287+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Warning] set default configuration
2017-12-13 18:27:57.289567+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.294293+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.298927+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.303463+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.307911+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.312341+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.316695+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 34, 34
2017-12-13 18:27:57.321020+0100 0x73 Default 0x0 0 0 kernel: (kernel) W836x: [Debug] mults = 34, 34

  • Like 1
Link to comment
Share on other sites

2017-12-13 18:27:56.720058+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] initialising...
2017-12-13 18:27:56.720697+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] probing...
2017-12-13 18:27:57.132383+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: Dump Nuvoton registers:
2017-12-13 18:27:57.138034+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: - 100: 90
2017-12-13 18:27:57.143260+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: - 200: 90
2017-12-13 18:27:57.148407+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: - 300: 03
2017-12-13 18:27:57.153558+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  73: 2e
2017-12-13 18:27:57.158633+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  75: 2e
2017-12-13 18:27:57.163697+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  77: 19
2017-12-13 18:27:57.168741+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  79: 2e
2017-12-13 18:27:57.173727+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  336: 2e
2017-12-13 18:27:57.178683+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  1648: ff
2017-12-13 18:27:57.183611+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  39: 23
2017-12-13 18:27:57.188479+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  14423: ff
2017-12-13 18:27:57.193359+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  32: 35
2017-12-13 18:27:57.198134+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  33: d3
2017-12-13 18:27:57.202855+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  35: ce
2017-12-13 18:27:57.207516+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: -  34: ce
2017-12-13 18:27:57.268270+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] starting ...
2017-12-13 18:27:57.273540+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: found NCT6791D
2017-12-13 18:27:57.278591+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x:  mother vendor=ASRock product=Z270 Gaming K4
2017-12-13 18:27:57.284287+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Warning] set default configuration
2017-12-13 18:27:57.289567+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.294293+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.298927+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.303463+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.307911+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.312341+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 0, 1
2017-12-13 18:27:57.316695+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 34, 34
2017-12-13 18:27:57.321020+0100 0x73       Default     0x0                  0      0    kernel: (kernel) W836x: [Debug] mults = 34, 34

Good values. What did you see in HWMonitor?

Link to comment
Share on other sites

Good values. What did you see in HWMonitor?

$ /Volumes/Sierra/Users/duffs/bin/SMC_util3 -l
Num: b0=0 b1=0 b2=0 b3=38 size=4
  #KEY  [ui32]  56 (bytes 00 00 00 38)
  $Num  [ui8 ]  1 (bytes 01)
  ACID  [ch8*]  (bytes ba be 3c 45 c0 03 10 43)
  ALI0  [{ali]  (bytes 06 01 02 00)
  ALRV  [ui16]  1 (bytes 00 01)
  ALV0  [{alv]  (bytes 01 01 03 b7 00 a3 00 15 6a f4)
  CLKH  [{clh]  (bytes 00 00 70 80 00 01 19 40)
  CLKT  [ui32]  14 (bytes 00 00 ce 0e)
  EPCI  [flag]  (bytes 09 70 f0 00)
  FNum  [ui8 ]  (bytes 02)
  LSOF  [flag]  (bytes 01)
  LSSB  [{lso]  (bytes 01 01)
  LsNM  [ui8 ]  (bytes 01)
  LsbV  [{rev]  (bytes 01 04 0a 00 06)
  MOST  [ui16]  3 (bytes 80 03)
  MSDW  [ui8 ]  (bytes 01)
  MSPS  [{msp]  (bytes 00)
  MSSD  [si8 ]  (bytes 03)
  NATJ  [ui8 ]  (bytes 02)
  NTOK  [ui8 ]  (bytes 01)
  NVPR  [ui8 ]  (bytes 00)
  OSK0  [ch8*]  (bytes 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c)
  OSK1  [ch8*]  (bytes 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63)
  REV   [{rev]  (bytes 02 41 0f 00 00 01)
  RMde  [char]  (bytes 41)
  RPlt  [ch8*]  (bytes 6a 31 33 35 00 00 00 00)
  RBr   [ch8*]  (bytes 6a 31 33 33 5f 34 5f 00)
  BEMB  [flag]  (bytes 00)
  NATi  [ui16]  30 (bytes 00 1e)
  Th0H  [sp78]  (bytes 24 00)
  TA0P  [sp78]  (bytes 1a 00)
  TN0P  [sp78]  (bytes 24 00)
  Tm0P  [sp78]  (bytes 24 00)
  VS0C  [fp2e]  (bytes 19 16)
  VM0R  [fp2e]  (bytes 41 06)
  Vp3C  [fp2e]  (bytes d2 f1)
  VBAT  [fp2e]  (bytes 00 00)
  F0Ac  [fpe2]  0 (bytes 00 00)
  F0ID  [{fds]  (bytes 00 01 00 41 43 50 55 20 46 61 6e 00 00 00 00 00)
  F1Ac  [fpe2]  0 (bytes 00 00)
  F1ID  [{fds]  (bytes 00 01 00 41 53 79 73 74 65 6d 20 46 61 6e 00 00)
  TC0D  [sp78]  (bytes 26 00)
  FRC0  [freq]  (bytes 03 20)
  VC0C  [fp2e]  (bytes 53 85)
  TC1D  [sp78]  (bytes 27 00)
  FRC1  [freq]  (bytes 10 68)
  TC2D  [sp78]  (bytes 24 00)
  FRC2  [freq]  (bytes 03 20)
  TC3D  [sp78]  (bytes 23 00)
  FRC3  [freq]  (bytes 10 68)
  MPkC  [ui16]  1 (bytes a4 01)
  TG0D  [sp78]  (bytes 1b 00)
  QENA  [ui8 ]  (bytes 01)
  MSTS  [ui8 ]  (bytes 03)
  MSPC  [ui8 ]  (bytes 23)
  HE0N  [ui8 ]  (bytes 10)

No changes. No fans F1Ac [fpe2] 0 (bytes 00 00)

Voltages cpu, cpu vram, ddim, 3.3 vcc

Link to comment
Share on other sites

$ /Volumes/Sierra/Users/duffs/bin/SMC_util3 -l
Num: b0=0 b1=0 b2=0 b3=38 size=4
  #KEY  [ui32]  56 (bytes 00 00 00 38)
  $Num  [ui8 ]  1 (bytes 01)
  ACID  [ch8*]  (bytes ba be 3c 45 c0 03 10 43)
  ALI0  [{ali]  (bytes 06 01 02 00)
  ALRV  [ui16]  1 (bytes 00 01)
  ALV0  [{alv]  (bytes 01 01 03 b7 00 a3 00 15 6a f4)
  CLKH  [{clh]  (bytes 00 00 70 80 00 01 19 40)
  CLKT  [ui32]  14 (bytes 00 00 ce 0e)
  EPCI  [flag]  (bytes 09 70 f0 00)
  FNum  [ui8 ]  (bytes 02)
  LSOF  [flag]  (bytes 01)
  LSSB  [{lso]  (bytes 01 01)
  LsNM  [ui8 ]  (bytes 01)
  LsbV  [{rev]  (bytes 01 04 0a 00 06)
  MOST  [ui16]  3 (bytes 80 03)
  MSDW  [ui8 ]  (bytes 01)
  MSPS  [{msp]  (bytes 00)
  MSSD  [si8 ]  (bytes 03)
  NATJ  [ui8 ]  (bytes 02)
  NTOK  [ui8 ]  (bytes 01)
  NVPR  [ui8 ]  (bytes 00)
  OSK0  [ch8*]  (bytes 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c)
  OSK1  [ch8*]  (bytes 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63)
  REV   [{rev]  (bytes 02 41 0f 00 00 01)
  RMde  [char]  (bytes 41)
  RPlt  [ch8*]  (bytes 6a 31 33 35 00 00 00 00)
  RBr   [ch8*]  (bytes 6a 31 33 33 5f 34 5f 00)
  BEMB  [flag]  (bytes 00)
  NATi  [ui16]  30 (bytes 00 1e)
  Th0H  [sp78]  (bytes 24 00)
  TA0P  [sp78]  (bytes 1a 00)
  TN0P  [sp78]  (bytes 24 00)
  Tm0P  [sp78]  (bytes 24 00)
  VS0C  [fp2e]  (bytes 19 16)
  VM0R  [fp2e]  (bytes 41 06)
  Vp3C  [fp2e]  (bytes d2 f1)
  VBAT  [fp2e]  (bytes 00 00)
  F0Ac  [fpe2]  0 (bytes 00 00)
  F0ID  [{fds]  (bytes 00 01 00 41 43 50 55 20 46 61 6e 00 00 00 00 00)
  F1Ac  [fpe2]  0 (bytes 00 00)
  F1ID  [{fds]  (bytes 00 01 00 41 53 79 73 74 65 6d 20 46 61 6e 00 00)
  TC0D  [sp78]  (bytes 26 00)
  FRC0  [freq]  (bytes 03 20)
  VC0C  [fp2e]  (bytes 53 85)
  TC1D  [sp78]  (bytes 27 00)
  FRC1  [freq]  (bytes 10 68)
  TC2D  [sp78]  (bytes 24 00)
  FRC2  [freq]  (bytes 03 20)
  TC3D  [sp78]  (bytes 23 00)
  FRC3  [freq]  (bytes 10 68)
  MPkC  [ui16]  1 (bytes a4 01)
  TG0D  [sp78]  (bytes 1b 00)
  QENA  [ui8 ]  (bytes 01)
  MSTS  [ui8 ]  (bytes 03)
  MSPC  [ui8 ]  (bytes 23)
  HE0N  [ui8 ]  (bytes 10)

No changes. No fans F1Ac [fpe2] 0 (bytes 00 00)

Voltages cpu, cpu vram, ddim, 3.3 vcc

 

Temperatures good?

Voltages presents? Values good?

About FAN I know. I will rewrite this part today evening.

Link to comment
Share on other sites

  • 1 year later...
4 hours ago, vector sigma said:

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

 

Ok! Sorry, I didn't read the code because I had no time those days but now I'm free to experiment with Hackintosh stuff all day :P

I'm not sure where to find that ioreg. My /Volumes/EFI/ folder has no other entries than EFI and /Volumes/EFI/EFI only has APPLE, BOOT, CLOVER.

I have FANINLIMIT set to 5 since the beginning.

 

My current status is: CPU stuff completely working as well as GPU. Logic board gives voltages which could be fine, could not be fine, idk. No idea what they "should" be :D

And Main Logic Board → North Bridge as well as Main Logic Board → Ambient are both 0°C.
Under fans, the 3 that I have attached to my mainboard are shown and all show 16383 RPM.

It might be possible that it reads my RAM amount (wrong register) since I have 16 GB of RAM ¯\_(ツ)_/¯ 

 

Edit: 

I found out ioreg is a command-line utility lol :D

Unfortunately, got no results like this:

ioreg -p IODeviceTree | grep OEMProduct

ioreg -p IODeviceTree | grep OEMBoard

Edited by unixb0y
Link to comment
Share on other sites

3 hours ago, AKlion said:

That's what happened

needs more investigation. From your .csv the chip should be a Nuvoton NTC6798D, very similar to other ones

35 minutes ago, unixb0y said:

ioreg -p IODeviceTree | grep OEMProduct

try with:

ioreg -lw0 -p IODeviceTree | grep OEM

 

36 minutes ago, unixb0y said:

 

I found out ioreg is a command-line utility lol :D

This is the GUI version: IORegistryExplorer.app.zip

Link to comment
Share on other sites

15 minutes ago, vector sigma said:

needs more investigation. From your .csv the chip should be a Nuvoton NTC6798D, very similar to other ones

try with:


ioreg -lw0 -p IODeviceTree | grep OEM

 

This is the GUI version: IORegistryExplorer.app.zip

 

Oh nice thanks! I'll have to check out ioreg a bit more in the future, seems like a neat utility :)  Maybe I can get the onboard LED strip or the LED header working in the future :P 

It gave me this info; Will try it now.

 

    |       "OEMBoard" = <"PRIME Z370-A">

    |       "OEMProduct" = <"System Product Name">

    |       "OEMVendor" = <"ASUSTeK COMPUTER INC.">

Link to comment
Share on other sites

2 minutes ago, unixb0y said:

 

Oh nice thanks! I'll have to check out ioreg a bit more in the future, seems like a neat utility :)  Maybe I can get the onboard LED strip or the LED header working in the future :P 

It gave me this info; Will try it now.

 

    |       "OEMBoard" = <"PRIME Z370-A">

    |       "OEMProduct" = <"System Product Name">

    |       "OEMVendor" = <"ASUSTeK COMPUTER INC.">

PRIME Z370-A

  • Like 1
Link to comment
Share on other sites

12 minutes ago, vector sigma said:

PRIME Z370-A

 

Yup, that's definitely the right one for my board since now I actually find the fan "names" that I configured in the plist inside of HWMonitor :) 

However, the RPMs are still off. Don't know about the voltages, but the mobo temps are also not working yet.

 

2120872567_Screenshot2019-03-10at20_54_13.png.d66f9a48250b00c83cd5761ee94c5141.png

Edited by unixb0y
Link to comment
Share on other sites

On 3/10/2019 at 8:55 PM, unixb0y said:

 

Yup, that's definitely the right one for my board since now I actually find the fan "names" that I configured in the plist inside of HWMonitor :) 

However, the RPMs are still off. Don't know about the voltages, but the mobo temps are also not working yet.

 

2120872567_Screenshot2019-03-10at20_54_13.png.d66f9a48250b00c83cd5761ee94c5141.png

 

I'm not sure whether changing the values in the .plist would now actually change anything. I understand that getting the Motherboard's name / Sensors Configuration → ASUS → XXXXX right was crucial. But changing the value for the keys "FANIN0" etc. seems to only change what is displayed in the "Fan or Pumps" section of HWMonitor.

If it's something that needs to be done in code, what is it and what should I try to change and experiment with?

Thanks in advance! @vector sigma @Slice

Link to comment
Share on other sites

Hey @Slice, maybe this thread fits better for my issues with the Nuvoton NCT6793D.

I essentially am getting wrong fan RPMs (all show 16383 rpm).
 

* FakeSMC works (org.netkas.FakeSMC (3.5.1))

* RadeonMonitor works (org.slice.RadeonMonitor (1.3.4))

* IntelCPUMonitor works (org.slice.IntelCPUMonitor (1.2.3))

* W836x is loaded (org.mozodojo.W836x (1.3.0))

 

I also ensured that in the Info.plist of W836x.kext I specified the correct mainboard manufacturer and model.

$ ioreg -lw0 -p IODeviceTree | grep OEM
    |       "OEMBoard" = <"PRIME Z370-A">
    |       "OEMProduct" = <"System Product Name">
    |       "OEMVendor" = <"ASUSTeK COMPUTER INC.">

IOKitPersonalities → Winbond W836x Monitor Plugin → Sensors Configuration → ASUS → PRIME Z370-A looks like this:

 

1082158844_Screenshot2019-03-13at01_45_15.png.863f7243c31544de742581e6e7ebd6a0.png

 

Any help is appreciated and I can also compile the kext myself if you tell me which settings to look for or what to try, so we don't have to send kexts and results back and forth :P 

 

Cheers,
Dave

Link to comment
Share on other sites

20 hours ago, AKlion said:

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

Hi and good day to you too!

Sir, to tell you the truth I don't even understand if modified kext is working or not for you. Anyway your Nuvoton chip NCT6798D is so similar to the NCT6796D already supported by the W836x.kext. In fact is the same chip with id 0xD4 but with revision 0x28 instead of 0x23:

 

	NCT6796D   = 0xD423,
  	NCT6798D   = 0xD428

..so should be easy to make the kext give at least sign of life... 

  • Like 1
Link to comment
Share on other sites

17 hours ago, unixb0y said:

 

I'm not sure whether changing the values in the .plist would now actually change anything. I understand that getting the Motherboard's name / Sensors Configuration → ASUS → XXXXX right was crucial. But changing the value for the keys "FANIN0" etc. seems to only change what is displayed in the "Fan or Pumps" section of HWMonitor.

If it's something that needs to be done in code, what is it and what should I try to change and experiment with?

Thanks in advance! @vector sigma @Slice

I've told to you to ensure FANINLIMIT to be non zero. Other parameters are for other stuff (not fans, e.g. voltages etc.) and must reflect the chip that is on your board and not just take ones from the default configuration or on other Asus motherboards already present in the kext. For the fans reading there's must be something wrong, like registers, but each source code I saw in the net already use what is in this kext, more or less since the difference is based by the presence or not of additional fans for a maximum of 7. I would try my self because I have an old nuvoton somewere on a h81m (not sure the family) but I don't think I'll be able to do that until sunday.

Link to comment
Share on other sites

1 hour ago, vector sigma said:

I've told to you to ensure FANINLIMIT to be non zero. Other parameters are for other stuff (not fans, e.g. voltages etc.) and must reflect the chip that is on your board and not just take ones from the default configuration or on other Asus motherboards already present in the kext. For the fans reading there's must be something wrong, like registers, but each source code I saw in the net already use what is in this kext, more or less since the difference is based by the presence or not of additional fans for a maximum of 7. I would try my self because I have an old nuvoton somewere on a h81m (not sure the family) but I don't think I'll be able to do that until sunday.

 

Hmmm I see..... I have already set FANINLIMIT to a non-zero, <-7 value. It's 4 or 5 now.

 

Is this the SMC dump?

Spoiler

HWMonitorSMC2 v2.4.4 devel swift 5 (Accum)

MACHINE STATUS:

CPU:
    Name:        Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
    Vendor:        GenuineIntel
    Physical cores:    6
    Logical cores:    6
    Family:        6
    Model:        0x9E
    Ext Model:        0x9
    Ext Family:        0
    Stepping:        10
    Signature:        0x906EA
    Brand:        0
    Features:  FPU VME DE PSE TSC MSR PAE MCE
                    CX8 APIC SEP MTRR PGE MCA CMOV PAT
                    PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2
                    SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON
                    DSCPL VMX SMX EST TM2 SSSE3 FMA CX16
                    TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES
                    PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C

    Ext Features:  SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP
                          TSCI
    Microcode version:    150
    Thermal sensors:        1
    Thermal APIC timer:    1

    System:    2%
    User:        4%
    Idle:        93%
    Nice:        0%

LPCB:
    IOName:            pci8086,a2c9
    name:            70 63 69 38 30 38 36 2c 61 32 63 39 00
    device-id:            c9 a2 00 00
    vendor-id:            86 80 00 00
    revision-id:        00 00 00 00
    subsystem-id:        94 86 00 00
    subsystem-vendor-id:    43 10 00 00

MEMORY:
    Physical size:    16.0GB
    Free:            7.35GB
    Wired:        2.13GB
    Active:        4.15GB
    Inactive:        2.37GB
    Compressed:    0MB

SYSTEM:
    Model:        iMac18,3
    Sys name:        Darwin
    OS Version:    10.14.3
    Node name:    Davides-iMac-2.fritz.box
    Release:        18.2.0
    Version:        Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64
    Machine:        x86_64
    Uptime:        0d 8h 18m 35s
    Processes:        326
    Threads:        1311
    Load Average:    [0.18, 0.51, 0.54]
    Mach Factor:    [5.186, 5.377, 5.288]

POWER:
    CPU Speed limit:        100.0%
    CPUs available:        6
    Scheduler limit:        100.0%
    Thermal level:        Not Published

VIDEO CARD 1:
    Model:                Radeon RX 580
    Vendor ID:                02 10 00 00 (ATI/AMD)
    Device ID:                df 67 00 00
    Revision ID:            e7 00 00 00
    Subsystem Vendor ID:        a2 1d 00 00
    Subsystem ID:            66 e3 00 00
    class-code:                00 00 03 00
    IOName:                display
    pcidebug:                1:0:0
    built-in:                00
    compatible:            pci1da2,e366pci1002,67dfpciclass,030000GFX0
    acpi-path:                IOACPIPlane:/_SB/PCI0@0/PEG0@10000/GFX0@0
    pci-aspm-default:                0x0
    IOPCIMSIMode            true
    Additional Properties:
        AAPL,aux-power-connected:      01 00 00 00
        ATY,MCLK:                    30000
        ATY,RefClock:               10000
        ATY,SCLK:                     30000
        ATY,TileInfo:                 03 00 00 00 00 00 00 00 02 00 00 00 02 00 00 00 03 00 00 00 0c 00 00 00
        ATY,vram_base:            00 00 00 00 00 00 00 00
        ATY,RefCLK:                 10 27 00 00
        ATY,PageFlipEnable:     01 00 00 00
        ATY,memsize:               8589934592
        ATY,Part#:                    113-BE366EU-Z48
        ATY,remap-size:           0
    Metal properties:
        Recommended Max Working Set Size:    0x0
        Max Threads Per Thread group: width 1024, height 1024, depth 1024
        Depth 24 Stencil 8 Pixel Format:        true
        Max Thread group Memory Length:    65536
        Programmable Sample Positions:        true
        Read-Write Texture:                2
        Removable:                        false
        Headless:                        false
        Is Low Power:                    false
    VRAM,totalMB: 8192

SCREEN 1:
    Framebuffer:    0x745E65C6
    EDID contents:

    Header:        00 ff ff ff ff ff ff 00
    Serial number:    45 54 00 00
    Version:        01 03
    Basic params    80 3c 22 78 2e
    Chroma info:    2c c5 a5 55 54 a1 27 0c 50 54
    Established:    a5 6b 80
    Standard:        81 80 81 c0 81 00 a9 c0 b3 00 d1 c0 01 01 01 01
    Descriptor 1:    02 3a 80 18 71 38 2d 40 58 2c 45 00 56 50 21 00 00 1e
    Descriptor 2:    00 00 00 ff 00 33 31 46 30 36 37 38 34 30 31 39 0a 20
    Descriptor 3:    00 00 00 fd 00 32 4c 1e 53 11 00 0a 20 20 20 20 20 20
    Descriptor 4:    00 00 00 fc 00 42 65 6e 51 20 47 57 32 37 36 30 0a 20
    Extension:        01
    Checksum:        09

    Manufacturer: 09d1 (2LS)
    Model: c678
    Serial Number: 21573
    Resolution: 1920x1080
    Made week 1 of 2015
    EDID version: 1.3
    Digital display
    Established Timings:
        720×400 @ 70 Hz
        640×480 @ 60 Hz
        640×480 @ 75 Hz
        800×600 @ 60 Hz
        800×600 @ 75 Hz
        832×624 @ 75 H
        1024×768 @ 60 Hz
        1024×768 @ 75 Hz
        1280×1024 @ 75 Hz
    Detailed mode (descriptor 1):
        Pixel Clock:        5.7MHz
        Horizontal Active:    1920
        Horizontal Blanking:    280
        Vertical Active:        1080
        Vertical Blanking:    45
        Horizontal Sync Offset:    88
        Horizontal Sync Pulse:    44
        Vertical Sync Offset:    4
        Vertical Sync Pulse:    5
        Interlaced:            false
        Is preferred timing:    true
    Maximum image size: 600mm x 340mm
    Gamma: 2.20
    Model: BenQ GW2760
    Checksum: 0x9 (valid)

    EDID comes from EEPROM
SCREEN 2:
    Framebuffer:    0x2B104717
    EDID contents:

    Header:        00 ff ff ff ff ff ff 00
    Serial number:    57 42 4a 42
    Version:        01 03
    Basic params    80 26 1e 78 ee
    Chroma info:    68 75 a2 5a 49 9f 23 13 50 54
    Established:    a5 4b 00
    Standard:        71 4f 81 80 01 01 01 01 01 01 01 01 01 01 01 01
    Descriptor 1:    30 2a 00 98 51 00 2a 40 30 70 13 00 78 2d 11 00 00 1e
    Descriptor 2:    00 00 00 ff 00 43 43 32 38 38 36 38 4c 42 4a 42 57 0a
    Descriptor 3:    00 00 00 fc 00 44 45 4c 4c 20 31 39 30 37 46 50 0a 20
    Descriptor 4:    00 00 00 fd 00 38 4c 1e 51 0e 00 0a 20 20 20 20 20 20
    Extension:        00
    Checksum:        3e

    Manufacturer: 10ac (DELL 1907FP)
    Model: 1540
    Serial Number: 1112162903
    Resolution: 1280x1024
    Made week 34 of 2006
    EDID version: 1.3
    Digital display
    Established Timings:
        720×400 @ 70 Hz
        640×480 @ 60 Hz
        640×480 @ 75 Hz
        800×600 @ 60 Hz
        800×600 @ 75 Hz
        1024×768 @ 60 Hz
        1024×768 @ 75 Hz
        1280×1024 @ 75 Hz
    Detailed mode (descriptor 1):
        Pixel Clock:        123.3MHz
        Horizontal Active:    1280
        Horizontal Blanking:    408
        Vertical Active:        1024
        Vertical Blanking:    42
        Horizontal Sync Offset:    48
        Horizontal Sync Pulse:    112
        Vertical Sync Offset:    1
        Vertical Sync Pulse:    3
        Interlaced:            false
        Is preferred timing:    true
    Maximum image size: 380mm x 300mm
    Gamma: 2.20
    Model: 8LQ
    Checksum: 0x3E (valid)

    EDID comes from EEPROM

Serial ATA controller:
    Name:                pci8086,a282
    Vendor ID:                86 80 00 00
    Device ID:                82 a2 00 00
    Revision ID:            00 00 00 00
    Subsystem Vendor ID:        43 10 00 00
    Subsystem ID:            94 86 00 00
    class-code:                01 06 01 00
    IOName:                pci8086,a282
    pcidebug:                0:23:0
    built-in:                00
    compatible:            pci1043,8694pci8086,a282pciclass,010601SAT0
    acpi-path:                IOACPIPlane:/_SB/PCI0@0/SAT0@170000


NVMe controller:
    Name:                pci2646,5008
    Vendor ID:                46 26 00 00
    Device ID:                08 50 00 00
    Revision ID:            01 00 00 00
    Subsystem Vendor ID:        46 26 00 00
    Subsystem ID:            08 50 00 00
    class-code:                02 08 01 00
    IOName:                pci2646,5008
    pcidebug:                2:0:0
    built-in:                00
    compatible:            pci2646,5008pciclass,010802PXSX
    acpi-path:                IOACPIPlane:/_SB/PCI0@0/RP17@1b0000/PXSX@0

USB 3.0 controller:
    Vendor ID:                86 80 00 00
    Device ID:                af a2 00 00
    Revision ID:            00 00 00 00
    Subsystem Vendor ID:        43 10 00 00
    Subsystem ID:            94 86 00 00
    class-code:                30 03 0c 00
    IOName:                pci8086,a2af
    pcidebug:                0:20:0
    built-in:                00
    compatible:            pci1043,8694pci8086,a2afpciclass,0c0330XHC
    acpi-path:                IOACPIPlane:/_SB/PCI0@0/XHC@140000
    Additional Properties:
        AAPL,current-extra:           bc 02
        AAPL,clock-id:                   00
        AAPL,current-in-sleep:      e8 03
        AAPL,current-available:     b0 04
USB devices:
    Name: Lioncast LK20 keybord
    Vendor: Lioncast LK20 keybord
    idProduct: 3e6c1243
    idVendor: 3e7dd943
    Port Num.: 14
    Bus Power Available: 250
    Speed: 0
    Device Speed: 0
    bcdDevice: 1
    Serial Number: 0
    non-removable: no
    
    Name: SteelSeries Rival 310 eSports Mouse
    Vendor: SteelSeries
    idProduct: 3e6e2043
    idVendor: 3e693843
    Port Num.: 13
    Bus Power Available: 250
    Speed: 1
    Device Speed: 1
    bcdDevice: 289
    Serial Number: 3
    non-removable: no
    
    Name: BCM20702A0
    Vendor: Broadcom Corp
    idProduct: 3e58ec43
    idVendor: 3e735c43
    Port Num.: 3
    Bus Power Available: 250
    Speed: 1
    Device Speed: 1
    bcdDevice: 274
    Serial Number: 3
    non-removable: no
    
    Name: AppleUSBXHCI Root Hub Simulation
    Vendor: Apple Inc.
    idProduct: 3ef90743
    idVendor: 3e7cac43
    Speed: 3
    Device Speed: 3
    Serial Number: 0
    non-removable: yes
    
    Name: USB PnP Audio Device
    Vendor: C-Media Electronics Inc.
    idProduct: 3e783443
    idVendor: 3e748c43
    Port Num.: 5
    Bus Power Available: 250
    Speed: 1
    Device Speed: 1
    bcdDevice: 256
    Serial Number: 0
    non-removable: no
    
    

LAN controller:
    Name:                ethernet
    Vendor ID:                86 80 00 00
    Device ID:                b8 15 00 00
    Revision ID:            00 00 00 00
    Subsystem Vendor ID:        43 10 00 00
    Subsystem ID:            72 86 00 00
    class-code:                00 00 02 00
    IOName:                ethernet
    pcidebug:                0:31:6
    built-in:                00
    compatible:            pci1043,8672pci8086,15b8pciclass,020000GLAN
    acpi-path:                IOACPIPlane:/_SB/PCI0@0/GLAN@1f0006

WIFI controller:
    Name:                pci14e4,43a0
    Vendor ID:                e4 14 00 00
    Device ID:                a0 43 00 00
    Revision ID:            03 00 00 00
    Subsystem Vendor ID:        6b 10 00 00
    Subsystem ID:            19 06 00 00
    class-code:                00 80 02 00
    IOName:                pci14e4,43a0
    pcidebug:                5:0:0
    compatible:            pci14e4,619pci14e4,43a0pciclass,028000PXSX
    acpi-path:                IOACPIPlane:/_SB/PCI0@0/RP08@1c0007/PXSX@0


SMC DUMP:

    key: #KEY, size: 04, type: ui32, attr: 00, value: <00000042>
    key: $Num, size: 01, type: ui8 , attr: 00, value: <01>
    key: ACID, size: 08, type: ch8*, attr: 00, value: <babe3c45 c0031043>
    key: ALI0, size: 04, type: {ali, attr: 00, value: <06010200>
    key: ALRV, size: 02, type: ui16, attr: 00, value: <0001>
    key: ALV0, size: 10, type: {alv, attr: 00, value: <010103b7 00a30015 6af4>
    key: CLKH, size: 08, type: {clh, attr: 00, value: <00007080 00011940>
    key: CLKT, size: 04, type: ui32, attr: 00, value: <000125af>
    key: EPCI, size: 04, type: flag, attr: 00, value: <0970f000>
    key: FNum, size: 01, type: ui8 , attr: 00, value: <04>
    key: LSOF, size: 01, type: flag, attr: 00, value: <01>
    key: LSSB, size: 02, type: {lso, attr: 00, value: <0101>
    key: LsNM, size: 01, type: ui8 , attr: 00, value: <01>
    key: LsbV, size: 05, type: {rev, attr: 00, value: <01040a00 06>
    key: MOST, size: 02, type: ui16, attr: 00, value: <8003>
    key: MSDW, size: 01, type: ui8 , attr: 00, value: <01>
    key: MSPS, size: 01, type: {msp, attr: 00, value: <00>
    key: MSSD, size: 01, type: si8 , attr: 00, value: <03>
    key: NATJ, size: 01, type: ui8 , attr: 00, value: <02>
    key: NTOK, size: 01, type: ui8 , attr: 00, value: <01>
    key: NVPR, size: 01, type: ui8 , attr: 00, value: <00>
    key: OSK0, size: 32, type: ch8*, attr: 00, value: <6f757268 61726477 6f726b62 79746865 7365776f 72647367 75617264 6564706c>
    key: OSK1, size: 32, type: ch8*, attr: 00, value: <65617365 646f6e74 73746561 6c286329 4170706c 65436f6d 70757465 72496e63>
    key: REV , size: 06, type: {rev, attr: 00, value: <02410f00 0001>
    key: RMde, size: 01, type: char, attr: 00, value: <41>
    key: RPlt, size: 08, type: ch8*, attr: 00, value: <6a313335 00000000>
    key: RBr , size: 08, type: ch8*, attr: 00, value: <6a313333 5f345f00>
    key: BEMB, size: 01, type: flag, attr: 00, value: <00>
    key: NATi, size: 02, type: ui16, attr: 00, value: <001e>
    key: TC0D, size: 02, type: sp78, attr: 00, value: <1e00>
    key: FRC0, size: 02, type: freq, attr: 00, value: <1004>
    key: VC0C, size: 02, type: fp2e, attr: 00, value: <5374>
    key: TC1D, size: 02, type: sp78, attr: 00, value: <2100>
    key: FRC1, size: 02, type: freq, attr: 00, value: <1004>
    key: TC2D, size: 02, type: sp78, attr: 00, value: <1e00>
    key: FRC2, size: 02, type: freq, attr: 00, value: <0fa0>
    key: TC3D, size: 02, type: sp78, attr: 00, value: <1d00>
    key: FRC3, size: 02, type: freq, attr: 00, value: <0fa0>
    key: TC4D, size: 02, type: sp78, attr: 00, value: <1e00>
    key: FRC4, size: 02, type: freq, attr: 00, value: <0fa0>
    key: TC5D, size: 02, type: sp78, attr: 00, value: <1b00>
    key: FRC5, size: 02, type: freq, attr: 00, value: <1004>
    key: MPkC, size: 02, type: ui16, attr: 00, value: <9a01>
    key: TG0D, size: 02, type: sp78, attr: 00, value: <2900>
    key: Th0H, size: 02, type: sp78, attr: 00, value: <0000>
    key: TA0P, size: 02, type: sp78, attr: 00, value: <0000>
    key: TN0P, size: 02, type: sp78, attr: 00, value: <0000>
    key: Tm0P, size: 02, type: sp78, attr: 00, value: <0000>
    key: VS0C, size: 02, type: fp2e, attr: 00, value: <828f>
    key: VP0R, size: 02, type: sp4b, attr: 00, value: <7293>
    key: Vp3C, size: 02, type: fp2e, attr: 00, value: <051e>
    key: Vp1C, size: 02, type: sp4b, attr: 00, value: <30f5>
    key: Vp4C, size: 02, type: fp2e, attr: 00, value: <051e>
    key: VBAT, size: 02, type: fp2e, attr: 00, value: <051e>
    key: F0Ac, size: 02, type: fpe2, attr: 00, value: <fffc>
    key: F0ID, size: 16, type: {fds, attr: 00, value: <00010017 53797374 656d2046 616e0000>
    key: F1Ac, size: 02, type: fpe2, attr: 00, value: <fffc>
    key: F1ID, size: 16, type: {fds, attr: 00, value: <00010017 43505520 46616e00 00000000>
    key: F2Ac, size: 02, type: fpe2, attr: 00, value: <fffc>
    key: F2ID, size: 16, type: {fds, attr: 00, value: <00010017 41757869 6c696172 79000000>
    key: F3Ac, size: 02, type: fpe2, attr: 00, value: <fffc>
    key: F3ID, size: 16, type: {fds, attr: 00, value: <00010017 43505520 46616e20 32000000>
    key: QENA, size: 01, type: ui8 , attr: 00, value: <01>
    key: MSTS, size: 01, type: ui8 , attr: 00, value: <07>
    key: MSPC, size: 01, type: ui8 , attr: 00, value: <1d>
    key: HE0N, size: 01, type: ui8 , attr: 00, value: <10>
    
 

 

Link to comment
Share on other sites

1 hour ago, vector sigma said:

yes. For example your fan 0 is:


 key: F0Ac, size: 02, type: fpe2, attr: 00, value: <fffc>

fffc is not a good value. Just to ensure wasn't the app.

 

Yup. What can we do about it?

Link to comment
Share on other sites

On 3/19/2019 at 10:23 PM, unixb0y said:

@Slice Did you have time to look into my situation yet? I explained everything pretty detailed and would really enjoy getting everything to work.

Did you test a kext from my previous post at December 14, 2017?

What do you see in kernel.log?

Link to comment
Share on other sites

8 hours ago, Slice said:

Did you test a kext from my previous post at December 14, 2017?

What do you see in kernel.log?

 

I think kernel.log doesn't exist anymore 

 

Here is your file and the one I used before (both are configured fine for my PRIME Z-370 MB) but both show invalid fan info (16k RMP):

 

 

W836x_Slice_with_370.kext.zip

W836x_vector_with_370.kext.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...