Jump to content

fluid | fixed

HWSensors

FakeSMC Plugins Hardware Monitoring Sensors SuperIO Temperature Voltage Tachometer Frequency

  • Please log in to reply
856 replies to this topic

#341
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel

View PostMohamed Khairy, on 17 April 2012 - 08:11 AM, said:

also latest hwmonitor.app doesnt work under snow leopard  .. works on 10.7 or above message !!


------
edit

changed deployment  to 10.6 but the same problem the program exit after 1 second :(

Run Console.app in Snow Leo and check CrashReporter logs (in ~/Library/Logs or /Library/Logs category). If you'll locate HWMonitor logs, please, upload one here. I need more information about this problem.

#342
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,797 posts
  • Gender:Male

View Postkozlek, on 18 April 2012 - 05:06 PM, said:

Run Console.app in Snow Leo and check CrashReporter logs (in ~/Library/Logs or /Library/Logs category). If you'll locate HWMonitor logs, please, upload one here. I need more information about this problem.

4/18/12 9:54:52 PM HWMonitor[293] +[NSColor colorWithSRGBRed:green:blue:alpha:]: unrecognized selector sent to class 0x10149b800
4/18/12 9:54:52 PM HWMonitor[293] An uncaught exception was raised
4/18/12 9:54:52 PM HWMonitor[293] +[NSColor colorWithSRGBRed:green:blue:alpha:]: unrecognized selector sent to class 0x10149b800
4/18/12 9:54:52 PM HWMonitor[293] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSColor colorWithSRGBRed:green:blue:alpha:]: unrecognized selector sent to class 0x10149b800'
*** Call stack at first throw:
(
0   CoreFoundation					  0x000000010046e784 __exceptionPreprocess + 180
1   libobjc.A.dylib					 0x00000001002fcf03 objc_exception_throw + 45
2   CoreFoundation					  0x00000001004c81a0 __CFFullMethodName + 0
3   CoreFoundation					  0x00000001004408ef ___forwarding___ + 751
4   CoreFoundation					  0x000000010043ca38 _CF_forwarding_prep_0 + 232
5   HWMonitor						   0x0000000100009c8d -[AppDelegate awakeFromNib] + 1005
6   CoreFoundation					  0x000000010041c9fd -[NSSet makeObjectsPerformSelector:] + 205
7   AppKit							  0x0000000100a4e85b -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1445
8   AppKit							  0x0000000100a4ca91 loadNib + 226
9   AppKit							  0x0000000100a4bfa1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 248
10  AppKit							  0x0000000100a4bdd9 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
11  AppKit							  0x0000000100a4935b NSApplicationMain + 279
12  HWMonitor						   0x000000010000b152 main + 34
13  HWMonitor						   0x0000000100001494 start + 52
)
4/18/12 9:54:52 PM [0x0-0x2e02e].org.kozlek.HWMonitor[293] terminate called after throwing an instance of 'NSException'
4/18/12 9:54:53 PM com.apple.launchd.peruser.501[118] ([0x0-0x2e02e].org.kozlek.HWMonitor[293]) Job appears to have crashed: Abort trap
4/18/12 9:54:53 PM ReportCrash[295] Saved crash report for HWMonitor[293] version 1.0 (1.0) to /Users/Mido/Library/Logs/DiagnosticReports/HWMonitor_2012-04-18-215453_The-Kings-Mac-Pro.crash

Attached File  HWMonitor_2012-04-18-215453_The-Kings-Mac-Pro.crash.zip   7.74K   3 downloads

#343
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel

View PostMohamed Khairy, on 18 April 2012 - 05:59 PM, said:

4/18/12 9:54:52 PM HWMonitor[293] +[NSColor colorWithSRGBRed:green:blue:alpha:]: unrecognized selector sent to class 0x10149b800
4/18/12 9:54:52 PM HWMonitor[293] An uncaught exception was raised
4/18/12 9:54:52 PM HWMonitor[293] +[NSColor colorWithSRGBRed:green:blue:alpha:]: unrecognized selector sent to class 0x10149b800
4/18/12 9:54:52 PM HWMonitor[293] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSColor colorWithSRGBRed:green:blue:alpha:]: unrecognized selector sent to class 0x10149b800'
*** Call stack at first throw:
(
0   CoreFoundation					  0x000000010046e784 __exceptionPreprocess + 180
1   libobjc.A.dylib					 0x00000001002fcf03 objc_exception_throw + 45
2   CoreFoundation					  0x00000001004c81a0 __CFFullMethodName + 0
3   CoreFoundation					  0x00000001004408ef ___forwarding___ + 751
4   CoreFoundation					  0x000000010043ca38 _CF_forwarding_prep_0 + 232
5   HWMonitor						   0x0000000100009c8d -[AppDelegate awakeFromNib] + 1005
6   CoreFoundation					  0x000000010041c9fd -[NSSet makeObjectsPerformSelector:] + 205
7   AppKit							  0x0000000100a4e85b -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1445
8   AppKit							  0x0000000100a4ca91 loadNib + 226
9   AppKit							  0x0000000100a4bfa1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 248
10  AppKit							  0x0000000100a4bdd9 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
11  AppKit							  0x0000000100a4935b NSApplicationMain + 279
12  HWMonitor						   0x000000010000b152 main + 34
13  HWMonitor						   0x0000000100001494 start + 52
)
4/18/12 9:54:52 PM [0x0-0x2e02e].org.kozlek.HWMonitor[293] terminate called after throwing an instance of 'NSException'
4/18/12 9:54:53 PM com.apple.launchd.peruser.501[118] ([0x0-0x2e02e].org.kozlek.HWMonitor[293]) Job appears to have crashed: Abort trap
4/18/12 9:54:53 PM ReportCrash[295] Saved crash report for HWMonitor[293] version 1.0 (1.0) to /Users/Mido/Library/Logs/DiagnosticReports/HWMonitor_2012-04-18-215453_The-Kings-Mac-Pro.crash

Attachment HWMonitor_2012-04-18-215453_The-Kings-Mac-Pro.crash.zip

Thank you for report! Fixed.

#344
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,797 posts
  • Gender:Male
this one work :D
thanks

Attached File  HWMonitor.zip   159.34K   63 downloads

#345
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,797 posts
  • Gender:Male
Posted Image


this is my customization  for my motherboard ASUS M5A97
sensor is  IT8721F

	<key>Default</key>
	<dict>
	 <key>FANIN0</key>
	 <string>CPU Fan</string>
	 <key>FANIN1</key>
	 <string>Chassis Fan #1</string>
	 <key>FANIN2</key>
	 <string>Chassis Fan #2</string>
	 <key>FANIN3</key>
	 <string>Power Fan</string>
	 <key>TEMPIN0</key>
	 <string>CPU</string>
	 <key>TEMPIN1</key>
	 <string>System</string>
	 <key>VIN0</key>
	 <dict>
	  <key>name</key>
	  <string>Main 12V</string>
	  <key>reference</key>
	  <integer>0</integer>
	  <key>gain</key>
	  <integer>3308</integer>
	  <key>offset</key>
	  <integer>0</integer>
	 </dict>
	 <key>VIN1</key>
	 <dict>
	  <key>name</key>
	  <string>Main 5V</string>
	  <key>reference</key>
	  <integer>0</integer>
	  <key>gain</key>
	  <integer>786</integer>
	  <key>offset</key>
	  <integer>0</integer>
	 </dict>
	 <key>VIN2</key>
	 <string>CPU</string>
	 <key>VIN3</key>
	 <dict>
	  <key>name</key>
	  <string>Main 3V</string>
	  <key>reference</key>
	  <integer>0</integer>
	  <key>gain</key>
	  <integer>1000</integer>
	  <key>offset</key>
	  <integer>0</integer>
	 </dict>
	 <key>VIN5</key>
	 <string>Power/Battery</string>
	</dict>



about freqs of my amd gfx card 6850 it is readed by thz  :|

#346
Pietruszka

Pietruszka

    InsanelyMac Protégé

  • Members
  • PipPip
  • 98 posts
  • Gender:Male

View PostPietruszka, on 15 April 2012 - 08:14 PM, said:

Hi kozlek

this is .zip with changes for my Palit 8800GS

send you PM with more info

thank you

Hi kozlek

can you make small exception for my 8800gs??? no more KP
it's simple IF...ELSE... construction

IF my card device -->>nv50 temp
ELSE normal G92 temp

here is what I've changed:

info.cpp


case 0x600: /* G92 */
arch = G92; //CHANGED for G92 PALIT 8800GS
break;
case 0x610: /* G92 */
arch = G84;
break;

nv50.cpp (change nr 1):

static int nv50_get_gpu_temp(void *sensor)
.
.
.
slope = 430.0/10000.0;

if (nv_card->device_id == 0x606) {//ADDED for G92 PALIT 8800GS
correction = nv_card->bios->sensor_cfg.temp_correction<<2;//ADDED for G92 PALIT 8800GS
}//ADDED for G92 PALIT 8800GS

if(nv_card->debug)
.
.
.

nv50.cpp (change nr 2):


/* Temperature monitoring; all NV50 cards feature an internal temperature sensor
/  but only use it when there is no I2C sensor around.
*/
.
.
.
else if((nv_card->arch & G92) && !(nv_card->caps & GPU_TEMP_MONITORING))
{
/* Nearly all G92 boards use a ADT7473 except some Asus models. They don't use the bios data properly, so give it its own function */
nv_card->caps |= GPU_TEMP_MONITORING;
nv_card->sensor_name = (char*)STRDUP("GPU Internal Sensor", sizeof("GPU Internal Sensor"));
if (nv_card->device_id == 0x606) //CHANGED for G92 PALIT 8800GS
{ //CHANGED for G92 PALIT 8800GS
nv_card->get_gpu_temp = (int(*)(I2CDevPtr))nv50_get_gpu_temp; //CHANGED for G92 PALIT 8800GS
} //CHANGED for G92 PALIT 8800GS
else //CHANGED for G92 PALIT 8800GS
nv_card->get_gpu_temp = (int(*)(I2CDevPtr))g92_get_gpu_temp;

.
.
.

this could solve the problem with next updates of HWSensors for G92 0x606 cards

Thank you for help

Attached Files



#347
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel
Pietruszka, forget about NVCLockX it's old and not in development. Try new GeForceX plugin.

#348
DarkUser89

DarkUser89

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 300 posts
  • Gender:Male
  • Location:Germany / Saarbrücken
the new GeForceX plugin no works by me :-(

http://dl.dropbox.co...0420_154120.jpg

#349
Carstiman

Carstiman

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 106 posts
  • Gender:Male
same for me GTS450

#350
deckert

deckert

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Not Telling
Kernel Panic for me as well with GeForceX

#351
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel
Is it working for somebody or only for me? :)

Attached File  Снимок экрана 2012-04-21 в 7.58.36.png   59.56K   55 downloads

Anyway try latest revision. I have added some workarounds to VBIOS processing I think it is a source of KP. Also try to enable VBIOS in Chameleon, It  will export VBIOS image into I/O registry were GeForceX could read it.

#352
deckert

deckert

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Not Telling
Added VBIOS to boot.plist, rebooted, installed latest release and GeForceX.kext loaded successfully
Posted Image

Ran Unigine Heaven 3.0 to test GPU throttling
Posted Image


Rebooted and got kernel panic again
Posted Image

#353
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel

View Postdeckert, on 21 April 2012 - 06:52 AM, said:

Added VBIOS to boot.plist, rebooted, installed latest release and GeForceX.kext loaded successfully Ran Unigine Heaven 3.0 to test GPU throttling Rebooted and got kernel panic again

Please boot with -v and check where it get KP. You should see a couple of messages from GeForceX before KP. I want to see them.

#354
Carstiman

Carstiman

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 106 posts
  • Gender:Male
kozlek-HWSensors-6e30434
hello, still KP GTS450

Attached Files



#355
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel
I have compiled debug version of GeForceX, please try to boot with it and -v bootarg

Attached File  GeForceX.kext.zip   35.98K   8 downloads

#356
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,797 posts
  • Gender:Male
@ kozlek

thanks kozlek for adding my motherboard to source :)

i sent to you message can you please reply me :)

#357
Carstiman

Carstiman

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 106 posts
  • Gender:Male
do you need a log file?

Attached Files



#358
The Edge3000

The Edge3000

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
  • Gender:Male
  • Location:McKinney, TX
Hey just checking back on how this project is going since I haven't had time to fool with my hackintosh the last few months. Looking really good Kozlek! HWMonitor and iStat show more than ever now. I really like that it shows the current CPU multiplier now, however it appears the new version has removed the ability to view the multiplier in SMC Monitor. I don't know what rate it polls the values at, but before my system would go to x16 multiplier most of the time; now HWMonitor only rarely shows x16. Temps are still fine, so I assume this is only cosmetic.

Attached Files



#359
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel

View PostCarstiman, on 21 April 2012 - 10:41 AM, said:

do you need a log file?

Not needed. Thank you for report. I can reproduce now this KP so I am working to solve it. As a workaround you could install  NVClockX and GeForceX together, only GeForceX will start and without KP.

View PostThe Edge3000, on 21 April 2012 - 12:03 PM, said:

Hey just checking back on how this project is going since I haven't had time to fool with my hackintosh the last few months. Looking really good Kozlek! HWMonitor and iStat show more than ever now. I really like that it shows the current CPU multiplier now, however it appears the new version has removed the ability to view the multiplier in SMC Monitor. I don't know what rate it polls the values at, but before my system would go to x16 multiplier most of the time; now HWMonitor only rarely shows x16. Temps are still fine, so I assume this is only cosmetic.

Then you open sensors menu each sensor takes updates so it is make influence on CPU usage and power management.

#360
Carstiman

Carstiman

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 106 posts
  • Gender:Male
kozlek-HWSensors-8053a90 GeForce is working now without NVClockX :)

MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S3 S4 S5] (S3)
PCI configuration changed (bridge=0 device=2 yenta=0)
AppleIntelCPUPowerManagement: (built 18:56:37 Jan 12 2012) initialization complete
FakeSMC: Opensource SMC device emulator. Copyright 2009 netkas. All rights reserved.
FakeSMC: Hardware monitoring plugins. Copyright 2012 kozlek, usr-sse2, slice, navi. All rights reserved.
FakeSMCDevice: 19 preconfigured key(s) added
SMC: successfully initialized
IntelThermal: CPU family 0x6, model 0x17, stepping 0xa, cores 2, threads 2, TJmax 100
SuperIO: found Winbond W83627DHG on port=0x2e address=0x290
GeForceX: detected an NVC0 generation card (0x0c3200a1)
RTC: Only single RAM bank (128 bytes)
mbinit: done [64 MB total pool size, (42/21) split]
Pthread support ABORTS when sync kernel primitives misused
GeForceX: VBIOS successfully read from PRAMIN
GeForceX: BIT VBIOS found
GeForceX: 0x100800: 0x00000002
GeForceX: 1024Mb of unknown type (0)


looks great, pls check my WIN GPU-Z for cosmetic or do i have to change it by myself ?

i managed to get 5V real shown with SuperIOSensors but iám not shure if VIN4 is really Voltage 4 of my board.
Hardware monitor Winbond W83627DHG
Voltage 0 1.31 Volts [0xA4] (CPU VCORE)
Voltage 1 1.75 Volts [0xDB] (VIN1)
Voltage 2 3.22 Volts [0xC9] (+3.3V)
Voltage 3 4.82 Volts [0xC9] (+5V)
Voltage 4 9.48 Volts [0xAA] (+12V)
Voltage 5 1.68 Volts [0xD2] (VIN5)
Voltage 6 1.36 Volts [0xAA] (VIN6)
Temperature 0 40∞C (103∞F) [0x28] (SYSTIN)
Temperature 1 46∞C (114∞F) [0x5C] (CPUTIN)
Temperature 2 19∞C (66∞F) [0x26] (AUXTIN)
Fan 1  1361 RPM [0x7C] (CPUFANIN0)


and could i change or add something to get Temperature 2 19∞C (66∞F) [0x26] (AUXTIN) shown?

i just want to tell you that iám just playing arround and i have no knowledge and won´t steal your time. ;)
thx in advance for your next release :)

Attached Files







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2013 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy