Get right cpu-type in Chameleon for SandyBridge i7

By using ssdtPRGen i recognized Chameleon set a wrong cpu-type 701 (i7 1.Gen) instead of 702 (i7 2.Gen).

CPU-TYPE Values:
301 // Core 2 Duo
70* // i7
60* // i5
90* // i3
* Dales_Bridge 1, Sandy Bridge 2/3, Ivy Bridge 4

Now to the coding:
Get chameleon source and open /i386/libsaio/smbios_getters.c
Change line 201

					case CPU_MODEL_SANDYBRIDGE:			// Intel Core i3, i5, i7 LGA1155 (32nm)
					case CPU_MODEL_IVYBRIDGE:			// Intel Core i3, i5, i7 LGA1155 (22nm)
					case CPU_MODEL_DALES_32NM:			// Intel Core i3, i5 LGA1156 (32nm)
						if (strstr(Platform.CPU.BrandString, "Core(TM) i3"))
							value->word = 0x0901;			// Core i3
						else
							if (strstr(Platform.CPU.BrandString, "Core(TM) i5"))
								value->word = 0x0601;		// Core i5
							else
								value->word = 0x0701;		// Core i7
						return true;

to


value->word = 0x0702;        // Core i7

and you ready to built.
Check the changes in ioreg.
Warning: this is only a fast fix for Sandybridge i7 CPUS.

Advertisements

About iLeopod

twitter.com/ileopod
This entry was posted in Hackintosh and tagged , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s