Jump to content

SKATERR

SKATERR

Member Since 13 Nov 2009
Offline Last Active Private
-----

Posts I've Made

In Topic: DSDT Auto-Patcher

29 August 2011 - 09:02 AM

use another smbios



I tried it with macbook pro macbook pro 8.2 and 8.3

Macbook pro 8,3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>SMbiosdate</key>
	<string>02/07/11</string>
	<key>SMbiosversion</key>
	<string>MBP81.88Z.0047.B04.1102071707</string>
	<key>SMboardproduct</key>
	<string>Mac-942459F5819B171B</string>
	<key>SMfamily</key>
	<string>MacBookPro</string>
	<key>SMmanufactuer</key>
	<string>Apple Inc.</string>
	<key>SMproductname</key>
	<string>MacBookPro8,3</string>
	<key>SMserial</key>
	<string></string>
</dict>
</plist>

Macbook pro 8,2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>SMbiosvendor</key>
	<string>Apple Inc.</string>
	<key>SMbiosversion</key>
	<string>MBP81.0047.B0E</string>
	<key>SMboardproduct</key>
	<string>Mac-94245A3940C91C80</string>
	<key>SMfamily</key>
	<string>MacBook Pro</string>
	<key>SMproductname</key>
	<string>MacBookPro8,2</string>
	<key>SMserial</key>
	<string>C02FHXXXDF8V</string>
	<key>SMsystemversion</key>
	<string>1.69f1</string>
</dict>
</plist>

Thanks!

In Topic: DSDT Auto-Patcher

27 August 2011 - 08:28 PM

Thanks Mald0n!. But only have 2 Pstates and no Turbo. Is there any way to patch it? (i7 2630qm, lion 10.7.1, Chimera)

kernel: MSRDumper CoreMulti(8) 
 kernel: MSRDumper PStatesReached: 8 20

DSDT.skaterr.zip
Attached File  send_me.zip   239.55KB   0 downloads


Thanks!

In Topic: RevoBoot

20 August 2011 - 06:58 PM

I made ​​the changes and added "OVERRIDE DYNAMIC DETECTION PRODUCT SET 1" (0 is an error when compiling).
I still have the same problem, did not change anything.

Thanks

In Topic: RevoBoot

20 August 2011 - 02:55 PM

Ok, open revobuilder, edit settings.h (set AUTOMATIC_SSDT_PR_CREATION to 1 and other static options to 0). Compile and overwritten boot file in root (without Extra folder) . But now the system restarts constantly (loop)

Thanks for your patience :)

settings.h
#define ACPI_10_SUPPORT	0

#define PATCH_ACPI_TABLE_DATA	1

#define USE_STATIC_ACPI_BASE_ADDRESS	0

#if USE_STATIC_ACPI_BASE_ADDRESS
	#define	STATIC_ACPI_BASE_ADDRESS		0x00000000
#endif

#define STATIC_APIC_TABLE_INJECTION	0

#define STATIC_APIC2_TABLE_INJECTION	0

#define STATIC_DSDT_TABLE_INJECTION	0

#define STATIC_ECDT_TABLE_INJECTION	0

#define STATIC_FACS_TABLE_INJECTION	0

#define STATIC_HPET_TABLE_INJECTION	0

#define STATIC_SSDT_TABLE_INJECTION	0

#define STATIC_SSDT_GPU_TABLE_INJECTION	0

#define STATIC_SSDT_PR_TABLE_INJECTION	0

#define STATIC_SSDT_SATA_TABLE_INJECTION	0

#define STATIC_SSDT_USB_TABLE_INJECTION	0

#define LOAD_DSDT_TABLE_FROM_EXTRA_ACPI	0

#define LOAD_SSDT_TABLE_FROM_EXTRA_ACPI	0

#define LOAD_EXTRA_ACPI_TABLES	(LOAD_DSDT_TABLE_FROM_EXTRA_ACPI || LOAD_SSDT_TABLE_FROM_EXTRA_ACPI)

#define AUTOMATIC_SSDT_PR_CREATION	1

#if AUTOMATIC_SSDT_PR_CREATION
	#define MAX_NUMBER_OF_P_STATES			19	// Default of 15 normal plus 4 Turbo P-States (for desktop setups).
												// MSRDumper(@16): 16, 25, 28, 31, 34, 35, 36, 37 and 38 multi (YMMV).
												// Low power (mobility) processors might need an extended range!

	#define DROP_FACTORY_SSDT_TABLES		1	// Set to 1 by default (this setting is required).
												//
												// Note: Do not change this setting (must drop SSDT tables).

	#define NUMBER_OF_TURBO_STATES			0	// Set to 4 by default.

#else
	#define DROP_FACTORY_SSDT_TABLES		0	// Set to 0 by default. Use 1 with caution (might disable SpeedStep).
#endif

#define OVERRIDE_ACPI_METHODS	0

#define REPLACE_EXISTING_SSDT_TABLES	0

#define APPLE_STYLE_ACPI	0

#define DEBUG_ACPI	0

//-------------------------------------------------------------------- BOOT.C ------------------------------------------------------------------

#define PRE_LINKED_KERNEL_SUPPORT	0

#define MUST_ENABLE_A20	0

#define SAFE_MALLOC	0

#define DEBUG_BOOT	0

//-------------------------------------------------------------------- CPU.C -------------------------------------------------------------------

#define USE_STATIC_CPU_DATA	0

#define CPU_VENDOR_ID	CPU_VENDOR_INTEL // CPU_VENDOR_AMD is not supported.

#define OC_BUSRATIO_CORRECTION	0

#define BOOT_TURBO_RATIO	0

#define DEBUG_CPU	0

#if DEBUG_CPU
	#define DEBUG_CPU_TURBO_RATIOS			0	// Set to 0 by default. Change this to 1 when you want to check the core ratio.

	#define DEBUG_CST_SUPPORT				0	// Set to 0 by default. Change this to 1 to check the in BIOS enabled C-States.

	#define DEBUG_TSS_SUPPORT				0	// Set to 0 by default. Change this to 1 to check the T-State Clock Modulation.

	#define DEBUG_CPU_TDP					0	// Set to 0 by default. Change this to 1 when you want to check the TDP.
#endif

//-------------------------------------------------------------- CPU/STATIC_DATA.C -------------------------------------------------------------

#define STATIC_CPU_Type	0x000

#define STATIC_CPU_NumCores	0

#define STATIC_CPU_NumThreads	0

#define STATIC_CPU_FSBFrequency	000000000ULL

#define STATIC_CPU_QPISpeed	0

//-------------------------------------------------------------------- DISK.C ------------------------------------------------------------------

#define EFI_SYSTEM_PARTITION_SUPPORT	0

#define LEGACY_BIOS_READ_SUPPORT	0

#define DEBUG_DISK	0

//------------------------------------------------------------------ DRIVERS.C -----------------------------------------------------------------

#define DEBUG_DRIVERS	0

//-------------------------------------------------------------------- EFI.C -------------------------------------------------------------------

#define APPLE_STYLE_EFI	0

#define INJECT_EFI_DEVICE_PROPERTIES	1

#define EFI_64_BIT	1

#define STATIC_MODEL_NAME	{ 'M', 'a', 'c', 'B', 'o', 'o', 'k', 'P', 'r', 'o', '8', ',', '2' }

#define STATIC_SMSERIALNUMBER	"C02FHXXXDF8V"

#define STATIC_SYSTEM_SERIAL_NUMBER	{ 'C', '0', '2', 'F', 'H', 'X', 'X', 'X', 'D', 'F', '8', 'V' }

#define STATIC_SYSTEM_ID	{ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }

#define DEBUG_EFI	0

#define EFI_DEBUG_MODE	0 // Set to 0 by default (for OS X 10.7 LION only).

//------------------------------------------------------------------ GRAPHICS.C ----------------------------------------------------------------

#define STATIC_SCREEN_WIDTH	1366

#define STATIC_SCREEN_HEIGHT	768

//------------------------------------------------------------------- SMBIOS.C -----------------------------------------------------------------

#define USE_STATIC_SMBIOS_DATA	1

#define OVERRIDE_DYNAMIC_MEMORY_DETECTION	0

#define OVERRIDE_DYNAMIC_PRODUCT_DETECTION	0

#if OVERRIDE_DYNAMIC_PRODUCT_DETECTION
	#define STATIC_SMBIOS_MODEL_ID			MacBookPro8
#endif 

#define DEBUG_SMBIOS	0

//------------------------------------------------------------------ PLATFORM.C ----------------------------------------------------------------

#define STATIC_MAC_PRODUCT_NAME	"MacBookPro8,2"

#if USE_STATIC_SMBIOS_DATA
// Do nothing.
#elif OVERRIDE_DYNAMIC_MEMORY_DETECTION
// Setup RAM module info. Please note that you may have to expand this when you have more RAM modules.
	#define STATIC_RAM_SLOTS				4	// Number of RAM slots on mainboard.

	#define STATIC_RAM_VENDORS				{ Corsair, N/A, Corsair, N/A, 0 }	// Use N/A for empty RAM banks.

	#define DYNAMIC_RAM_OVERRIDE_TYPE		0	// Set to 0 by default. See libsaio/platform.h for supported values.

	#define DYNAMIC_RAM_OVERRIDE_SIZE		0	// Set to 0 by default. Change this to 1 when you want to use override values (see below).

#if DYNAMIC_RAM_OVERRIDE_SIZE
	#define DYNAMIC_RAM_OVERRIDE_SIZES		{ SMB_MEM_SIZE_2GB, SMB_MEM_BANK_EMPTY, SMB_MEM_SIZE_2GB, SMB_MEM_BANK_EMPTY, 0 } // See libsaio/platform.h for other values.
#endif

	#define DYNAMIC_RAM_OVERRIDE_FREQUENCY	0	// Set to 0 by default. Change this to the frequency that you want to use as override value.

	#define STATIC_RAM_PART_NUMBERS			{ CMX4GX3M2B2000C9, N/A, CMX4GX3M2B2000C9, N/A, 0 }	// Use N/A for empty RAM banks.

	#define STATIC_RAM_SERIAL_NUMBERS		{ Serial#0, N/A, Serial#2, N/A, 0 }	// Use N/A for empty RAM banks.
#endif 

#define INCLUDE_MPS_TABLE	0

#define DEBUG_PLATFORM	0

//===================================================================== END ====================================================================

In Topic: RevoBoot

20 August 2011 - 11:18 AM

Ok, I added dsdt.aml in ACPI folder but i don´t now how create a SSDT_PR.aml...
When you say "automatic P states' generation", is add:

<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>

in "com.apple.Boot.plist" ??

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