olarila.com

Mac OS X x86 - Hackintosh
It is currently 20 May 2013, 03:48

All times are UTC [ DST ]




Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: 30 Jul 2012, 18:47 
User avatar
Staff

Joined: 24 May 2011, 12:04
Posts: 1873
For Sandy Bridge CPUs, GeneratePStates is not working since 10.7.4 update, you can use this script to generate a SSDT.aml with P and C states
viewtopic.php?f=10&t=1340&start=10#p12849

Put SSDT.aml in Extra folder, enable the option DropSSDT, disable GeneratePStates and GenerateCStates.

Several PCs (desktop and laptop) with Sandy Bridge chipset need AppleIntelCPUPowerManagement to be patched
viewtopic.php?f=9&t=1003

Chameleon can generate P and C states automatically, simply enable the options
Code:
   <key>GeneratePStates</key>
   <string>Yes</string>
   <key>GenerateCStates</key>
   <string>Yes</string>


You still need to make sure that the kext AppleLPC is loaded. If it's not, adjust ID of device LPC with DSDT patch
viewtopic.php?f=19&t=634

What SMBIOS use for your hardware
viewtopic.php?f=2&t=1302

The original kext responsible for power management is AppleIntelCPUPowerManagement, but few motherboards work with this kext without any adjustment, so the installation guides suggest using some kext that disables AppleIntelCPUPowerManagement to avoid kernel panic or overheating of the processor.
NullCPUPowerManagement.kext

Since Leopard 10.5.8 sleep only works if the AppleIntelCPUPowerManagement is running, using a disabler kext breaks the sleep. To solve the problem the kext SleepEnabler was created, it enables AppleIntelCPUPowerManagement when the computer is going to sleep.
http://code.google.com/p/xnu-sleep-enab ... loads/list

Application to monitor temperature, frequency and voltage of the processor: SMC Monitor

Image

Download: viewtopic.php?f=6&t=83

For the application to show frequency and voltage, you need to use this new version of the kext FakeSMC and the plugin IntelCPUMonitor. Plugins for monitoring the motherboard and video card sensors are also available. Install only the plugins corresponding to your hardware.
http://www.projectosx.com/forum/index.php?showforum=165

The value reported by the CPU is not the actual temperature, but the difference to Tjmax, which is the temperature the CPU would turn itself off to avoid damage. The Tjmax is calculated automatically, but may be incorrect, causing the temperature shown in degrees Celsius to be also wrong. In this case you can set the value manually by editing the Info.plist of the kext and entering the key TjMax
Code:
<key>Intel CPU Monitor Plugin</key>
<dict>
<key>TjMax</key>
<integer>100</integer>


How to edit Info.plist
viewtopic.php?f=18&t=1704

_________________
PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI - ML 10.8.3/ Lion 10.7.5/SL 10.6.8/W 8 Pro x64/Ubuntu 12.04 - Quadriboot GUID - My OS X Files - join me at irc.freenode.net/#olarila


Top
 Profile  
 
PostPosted: 15 Aug 2012, 19:49 
eGeek

Joined: 01 Jul 2012, 17:19
Posts: 59
I was trying to create my SSDT file, but getting this error in terminal.

My CPU:
Intel® Core™ i5-2400 Processor (6M Cache, up to 3.40 GHz)
Max Turbo Frequency 3.4 GHz
Max TDP 95 W

In Terminal i get this message:
Last login: Wed Aug 15 20:02:19 on console
Macintoshs-Mac-Pro:~ Macintosh$ sudo ./ssdtPRGen.sh 95 3400
Password:
sudo: ./ssdtPRGen.sh: command not found
Macintoshs-Mac-Pro:~ Macintosh$

Any suggestion?


Top
 Profile  
 
PostPosted: 15 Aug 2012, 19:54 
User avatar
Staff

Joined: 05 Dec 2010, 21:49
Posts: 1120
Put ssdtPRGen.sh in your user's home folder, or cd to the folder where you put the script before running it.

Example
Code:
cd Downloads
sudo ./ssdtPRGen.sh 95 3400


Top
 Profile  
 
PostPosted: 15 Aug 2012, 22:38 
eGeek

Joined: 01 Jul 2012, 17:19
Posts: 59
I put SSDT in Extra Folder.

Added Stings in org.chameleon.Boot.plist as below:
<key>DropSSDT</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

Is that correct? In the tutorial it says: Enable the option DropSSDT, disable GeneratePStates and GenerateCStates. Disable from where?


Top
 Profile  
 
PostPosted: 15 Aug 2012, 22:57 
User avatar
Staff

Joined: 05 Dec 2010, 21:49
Posts: 1120
No, it's wrong.

Disable means set
Code:
   <key>GeneratePStates</key>
   <string>No</string>
   <key>GenerateCStates</key>
   <string>No</string>

or just remove those keys, since their default value is No.


Top
 Profile  
 
PostPosted: 16 Aug 2012, 00:14 
eGeek

Joined: 01 Jul 2012, 17:19
Posts: 59
No AppleLPC loaded in terminal, i used "kextstat" command.


I already followed that process even AppleLPC not loaded.Bro i have downloaded LPC SANDY BRIDGE from patches section and patched with DSDT EDIT.

Note: I opened again SSDT.aml with DSDT Edit and try LPC SANDYBRIDGE patch.


Top
 Profile  
 
PostPosted: 16 Aug 2012, 04:00 
User avatar
Staff

Joined: 05 Dec 2010, 21:49
Posts: 1120
Man, pay attention, apply LPC patch in DSDT, not SSDT.

Isn't there a complete patch for your mobo in packs.php ?


Top
 Profile  
 
PostPosted: 16 Aug 2012, 14:40 
eGeek

Joined: 01 Jul 2012, 17:19
Posts: 59
oldnapalm wrote:
Man, pay attention, apply LPC patch in DSDT, not SSDT.

Isn't there a complete patch for your mobo in http://olarila.com/forum/packs.php ?


Brother i have been searching DSDT for my mobo, before i start installation OS X. But i could not able to find it. I have checked DSDT patched section before. There is only G1.Sniper but you may know there are three version of Gigabyte G1.Sniper like Sniper 1, Sniper 2, Sniper 3 and Sniper M3. I believe in DSDT patch section there is G1. Sniper for 1366 socket, not sure.

My mobo is Sniper M3 Socket 1155 Z77 Chipset. Till now i am not using any DSDT, NullCPUManagment or Any Patches for AppleIntelPowerManagment. But i would like to build my Hackintosh which will work OOB from all corners with Olarila Forum help, all though i am new and lack of knowledge in Hackintosh.

What i should do now, I am looking forward helpful hand from you all in future as i am getting now.

Thanks.


Top
 Profile  
 
PostPosted: 16 Aug 2012, 15:33 
User avatar
Staff

Joined: 05 Dec 2010, 21:49
Posts: 1120
Read this topic, watch the video to learn how to apply a patch in DSDT, and apply the patches you need, starting with LPC for desktop Sandy Bridge.

viewtopic.php?f=19&t=634


Top
 Profile  
 
PostPosted: 16 Aug 2012, 20:35 
eGeek

Joined: 01 Jul 2012, 17:19
Posts: 59
oldnapalm wrote:
Read this topic, watch the video to learn how to apply a patch in DSDT, and apply the patches you need, starting with LPC for desktop Sandy Bridge.

http://olarila.com/forum/viewtopic.php?f=19&t=634


Sure. Bro I would like to do step by step not like use all the patches then compile, can i? Use DSDT Edit to Extract from ACPI Table. Use Desktop LPC Sandy Bridge patch+Compile+Save on Desktop. If it goes fine without error then the next patch. I think it will be easy like not mass with all together.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group