Fakesmc, Main Driver Topic |
|
|

Mar 9 2012, 12:17 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (Slice @ Mar 2 2012, 02:22 AM)

Is it true that the problem was appeared only with FakeSMC v4?
Hi Slice, back again~
this time, I'm going to bother you to teach me how to build my kext and compile hwsensors
1. I've already use command "svn co
http://subversion.assembla.com/svn/fakesmc/HWSensors4/ " in terminal
2. then I got this folder

3. I'm just eager to know how to make it a executable app and how to build kexts(such as intelmonitor radeonx etc) using terminal or xcode
Thanks in advance~
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 9 2012, 01:02 PM


- Member
- Group: Comrade
- Posts: 25
QUOTE (p.H @ Mar 8 2012, 07:17 PM)

Hi Slice, back again~
this time, I'm going to bother you to teach me how to build my kext and compile hwsensors
1. I've already use command "svn co
http://subversion.assembla.com/svn/fakesmc/HWSensors4/ " in terminal
2. then I got this folder
3. I'm just eager to know how to make it a executable app and how to build kexts(such as intelmonitor radeonx etc) using terminal or xcode
Thanks in advance~
Simply open the
HWSensors.xcodeproj with the
Xcode.app and compile (Run).
This post has been edited by Darwin: Mar 9 2012, 01:05 PM
Mac OS X 10.7.4 on GPT via Chameleon 2.1 on Dell XPS M1530
CPU: Intel Core 2 Duo - T9300 (2.5GHz/6MB Cache/45 nm)
MEMORY: 4GB Dual Channel DDR2 SDRAM at 667MHz
DISPLAY: WSXGA - 15.4 (1680x1050) & 2MP Camera
VIDEO: 256MB DDR2 - NVIDIA GeForce 8600M GT

Mar 9 2012, 02:45 PM



- Member
- Group: Comrade
- Posts: 64
QUOTE (Darwin @ Mar 9 2012, 09:02 PM)

Simply open the
HWSensors.xcodeproj with the
Xcode.app and compile (Run).
thanks for your answer
but when I hit "run" the result is as follows
I have no idea where the kexts which are just built were and if they're able to work since there being so many warnings here
This post has been edited by p.H: Mar 9 2012, 02:46 PM
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 9 2012, 07:32 PM




- Advanced Member
- Group: Developer
- Posts: 5,582
Yes, these warnings are not fully eliminated. But they are only warning.
Produced binaries in the folder "Binaries".

Mar 10 2012, 12:01 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (Slice @ Mar 10 2012, 03:32 AM)

Yes, these warnings are not fully eliminated. But they are only warning.
Produced binaries in the folder "Binaries".

yep
I've compiled all the kexts without error (with warnings )
And I test it myself with Radeon.kext
it works as it should be.
Thank you , Slice
for being that dedicated to the development of Fakesmc and plugins ~
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 10 2012, 05:03 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (Slice @ Mar 10 2012, 03:32 AM)

Yes, these warnings are not fully eliminated. But they are only warning.
Produced binaries in the folder "Binaries".
Slice, since I've compiled kexts then I'm eager to know how to compile HWsensors4 ?
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 10 2012, 06:53 AM




- Advanced Member
- Group: Developer
- Posts: 5,582
QUOTE (p.H @ Mar 10 2012, 09:03 AM)

Slice, since I've compiled kexts then I'm eager to know how to compile HWsensors4 ?

There is a one problem. The application was written to be compilable only with XCode4.2. Credits to koslek.

Mar 10 2012, 09:17 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (Slice @ Mar 10 2012, 02:53 PM)

There is a one problem. The application was written to be compilable only with XCode4.2. Credits to koslek.

That surprised me
if so , I'd wait for updates

btw, is HWsensors4 capable of detecting the temp of HD ? kexts needed ?
This post has been edited by p.H: Mar 10 2012, 09:18 AM
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 10 2012, 10:14 AM

- Initiate
- Group: Comrade
- Posts: 12
QUOTE (p.H @ Mar 10 2012, 10:17 AM)


That surprised me
if so , I'd wait for updates

btw, is HWsensors4 capable of detecting the temp of HD ? kexts needed ?
Yes, it is capable and no other kexts required for that as HD temps are fetched via S.M.A.R.T interface.

Mar 10 2012, 10:48 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (OldNavi @ Mar 10 2012, 06:14 PM)

Yes, it is capable and no other kexts required for that as HD temps are fetched via S.M.A.R.T interface.
if so,I'm quite confused for not showing any in my hack
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 10 2012, 01:44 PM

- Initiate
- Group: Comrade
- Posts: 12
QUOTE (p.H @ Mar 10 2012, 11:48 AM)

if so,I'm quite confused for not showing any in my hack

Depends if you hard drive returns such data, some SDD doesn't have temperature attribute in S.M.A.R.T. But does your HWMonitor is from latest revision ?

Mar 11 2012, 12:05 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (OldNavi @ Mar 10 2012, 09:44 PM)

Depends if you hard drive returns such data, some SDD doesn't have temperature attribute in S.M.A.R.T. But does your HWMonitor is from latest revision ?
yep,the latest version of HWsensors
plus, my hack is using HD not SSD and Istat can show the temp of my HD

onyx (one optimizing software) checks my HD's SMART status fine
Don't know what the problem is
This post has been edited by p.H: Mar 11 2012, 12:06 AM
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

Mar 12 2012, 01:01 AM



- Member
- Group: Comrade
- Posts: 64
QUOTE (p.H @ Mar 11 2012, 08:05 AM)

yep,the latest version of HWsensors
plus, my hack is using HD not SSD and Istat can show the temp of my HD

onyx (one optimizing software) checks my HD's SMART status fine
Don't know what the problem is
updating the latest version of rev581
hwsensors now can report the temp of HD
fantastic
ML 10.8.2 12C3006 || i3-380M || ATI 5650M || HM57

May 12 2012, 06:46 PM

- Initiate
- Group: Comrade
- Posts: 2
Hi guys,
I've compiled FakeSMC 4.0 from here (http://www.projectosx.com/forum/index.php?showtopic=1592).
I noticed that Binaries/ contains a flat structure of all the kexts.
When I used FakeSMC a while ago, FakeSMC.kext had a plugin directory (in Contents/Resources/, I think) where I put different .kext files inside.
Has this changed? I'm not sure if I should place all the kext files (IntelCPUMonitor, RadeonX, etc) inside a newly created plugins directory in FakeSMC.kext, or if I should just place the other kexts alongside FakeSMC.kext.
(I'm planning on placing FakeSMC in /E/E.)
Any help is appreciated!
-R

May 13 2012, 02:08 PM


- Member
- Group: Comrade
- Posts: 25
QUOTE (ryanrhee @ May 12 2012, 01:46 PM)

Hi guys,
I've compiled FakeSMC 4.0 from here (http://www.projectosx.com/forum/index.php?showtopic=1592).
I noticed that Binaries/ contains a flat structure of all the kexts.
When I used FakeSMC a while ago, FakeSMC.kext had a plugin directory (in Contents/Resources/, I think) where I put different .kext files inside.
Has this changed? I'm not sure if I should place all the kext files (IntelCPUMonitor, RadeonX, etc) inside a newly created plugins directory in FakeSMC.kext, or if I should just place the other kexts alongside FakeSMC.kext.
(I'm planning on placing FakeSMC in /E/E.)
Any help is appreciated!
-R
The
FakeSMC.kext/Contents/Plugins/ directory is still applicable. Due to the OS X Lion's use of the
kernelcache (prelinked kernel), all kexts should only be placed in the
System/Library/Extensions/ directory.
Mac OS X 10.7.4 on GPT via Chameleon 2.1 on Dell XPS M1530
CPU: Intel Core 2 Duo - T9300 (2.5GHz/6MB Cache/45 nm)
MEMORY: 4GB Dual Channel DDR2 SDRAM at 667MHz
DISPLAY: WSXGA - 15.4 (1680x1050) & 2MP Camera
VIDEO: 256MB DDR2 - NVIDIA GeForce 8600M GT

May 14 2012, 07:20 AM

- Initiate
- Group: Comrade
- Posts: 2
I currently have all my non-vanilla kexts in /E/E, and the other kexts work fine. Do you mean that only the FakeSMC stuff needs to be placed in /S/L/E?

May 14 2012, 01:42 PM




- Advanced Member
- Group: Developer
- Posts: 5,582
QUOTE (ryanrhee @ May 14 2012, 11:20 AM)

I currently have all my non-vanilla kexts in /E/E, and the other kexts work fine. Do you mean that only the FakeSMC stuff needs to be placed in /S/L/E?
No, FakeSMC stuff can be placed into E/E as well.
But he meant that the religion to place all non-Apple kexts into E/E is obsolete. What about LaCie drivers, Logitech, VirtualBox, CoolBook and so on?
The better way if you forget about E/E and place all kexts into S/L/E and let OSX to create kernelcache with all drivers...
Hope you understand this.

May 14 2012, 02:37 PM

- Initiate
- Group: Comrade
- Posts: 1
Seeing the following with the latest version and 10.7.4:
CODE
May 13 10:50:01 Z kernel[0]: FakeSMCDevice: [Warning] key not found $Num, length - 1
May 13 10:50:01 Z kernel[0]: SMC::smcReadKeyAction ERROR $Num kSMCKeyNotFound(0x84) fKeyHashTable=0x0
May 13 10:50:01 Z kernel[0]: SMC::smcInitHelper ERROR: MMIO regMap == NULL - fall back to old SMC mode
May 13 10:50:01 Z kernel[0]: FakeSMCDevice: [Warning] key info not found DPLM, length - 6
May 13 10:50:01 Z kernel[0]: FakeSMCDevice: [Warning] key not found BEMB, length - 1
May 13 10:50:04 Z kernel[0]: FakeSMCDevice: [Warning] key info not found MSDS, length - 6
Looks like we need to add 3 additional keys.

May 15 2012, 03:21 PM


- Member
- Group: Comrade
- Posts: 34
with adding these values in fake smc plist, i get 79 smc-values in ioreg ?
( can t read them all, but sounds interesting )
acid, clkh, clkt, dplm, epcf, epci, fnum, gcid, lsof, lssb, most, msps, mssd, nati, natj, ntok, nvpr, osk0, osk1, rpr, rev, rpit, scia
This post has been edited by westwaerts: May 15 2012, 03:41 PM
First Unit: i7 2600k, GA-Z68MA-D2H-B3, ATI HD 5670
10.7.5

May 22 2012, 01:19 PM


- Member
- Group: Comrade
- Posts: 38
Slice please take a look to this thread
http://www.projectosx.com/forum/index.php?showtopic=1267the last posts are very very important ATM, please fix this if you can
Thanks so much Slice