Jump to content

AnVAL (ACPI Loader)


valv
 Share

1,538 posts in this topic

Recommended Posts

Anyone tried the pre-5.1.4 yet ? Plz, I need your feedback!

Hi valv :), haven't written here since some time. Im glad you're further developing your branch :)

 

Currently I'm with AnVal pre 5.1.4 and I think everything's OK (attached is my bdmesg). I've also booted with v5.1.4 and there's no difference for me in the bdmesg log for both pre5.1.4 and 5.1.4.

 

Please tell me any specific keys, options and terminal commands you would like to test and report.

 

bmmesg_AnVal_pre5.1.4.rtf

 

Additionally I would like to share a very strange problem with my OS X I've encountered some time ago but could not solve till now. Im using very much the OS sleep feature, it's wonderful. When I put the computer to sleep and go outside for some reason, then get back home and try to wake the computer it doesn't wake, It's shut down :D I thought it was due to electricity power down, but it wasn't (checked it). After some investigation I've noticed that I've been using the EnableC6State key. Now I removed that key and will see what will happen. The C6 key has been introduced at some older revision of Chameleon RC5 (can't recall the revision, though). This is not to a complain, just wanted to share this info with all of you.

Link to comment
Share on other sites

Hi valv, im trying to load SSDT_1.aml, SSDT-2.aml, SSDT_3.aml

but im not sure how or where in com.apple.Boot.plist

<key>SSDT</key>
<string>/SSDT_1.aml, SSDT-2.aml, SSDT_3.aml</string>

would this be right ?

 

any tips on dell laptop ?

ACPI_SMC_PlatformPlugin::registerLPCDriver – WARNING – LPC device initialization failed: C-state power management not initialized

 

hi, as JBraddock said to you, the bootloader will load them automatically if you put them to your extra folder, but first you got to rename them to

ssdt-0.aml ssdt-1.aml ssdt-2.aml etc...

 

then add / modify those keys in boot.plist:

 

<key>oemSSDT</key> // optional: set it to No or remove it
<string>No</string>
<key>DropSSDT</key> // it will drop all ssdt tables found in bios, and at the end, add the chosen tables to the new acpi structure
<string>Yes</string>

Link to comment
Share on other sites

Azimutz, maybe I am wrong, but what if your AutoResolution patcher would apply to loaded custom vbios files, not the internal vbios? If the custom vbios loader works on core i5/i7, could you patch it before it is actually written into bios?

Not sure if i follow you... anyway, what we really need is a way to properly set the correct mode; check this post and Lebidou's answer, you'll understand what i mean. Fyi, Fassl is one of the guys who most contributed for the GUI we now have on Chameleon, just to mention a "bit" of his contribution to the scene.

And unless you have more knowledge than these guys about the subject, don't waste time cracking your skull thinking about it ;) most probably was already thought...

Link to comment
Share on other sites

thanks JBraddock

 

Patch your DSDT file. You need to edit the LPC device-id.

 

Anyone tried the pre-5.1.4 yet ? Plz, I need your feedback!

 

i think it could be related to pmbase 1000 not 400 ?

im gonna try the SUBV, PINI trick with LPCB aka ISAB. (its in slice's 1525 x3100 dsdt)

also my LPCB has 3 lines

				Scope (ISAB)
			 {
				 OperationRegion (PIR1, PCI_Config, 0x60, 0x04)
				 OperationRegion (PIR2, PCI_Config, 0x68, 0x04)
				 OperationRegion (FDIS, PCI_Config, 0xF2, 0x02)
			 }

not like standard macbookpro3,1 and missing stuff in it.

same with sbus

 

back on topic.. the ssdt-2 of mbp3,1 has

			Return (Package (0x02)
		 {
			 ResourceTemplate ()
			 {
				 Register (SystemIO, 
					 0x04,			   // Bit Width
					 0x01,			   // Bit Offset
					 0x0000000000000410, // Address
					 ,)
			 }, 

			 ResourceTemplate ()
			 {
				 Register (SystemIO, 
					 0x04,			   // Bit Width
					 0x01,			   // Bit Offset
					 0x0000000000000410, // Address
					 ,)
			 }
		 })
	 }

should it be 1010 ?

 

with generateCSates i saw it generates c1, c3, c6 .. is that right for T7500? MBP3,1 smbios.. (ill have bdmesg soon)

i think i need to edit fakesmc to match mbp3,1 smc ver?

Link to comment
Share on other sites

Hi Andy, Your Work i Greats. :( . But i have small broblem:

With Chameleon RC5 latest i have 5 P-state, with AnVAL i only 3-P-state.

My com.apple.boot.plist:

<?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>DropSSDT</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>FACP</key>
<string>/Extra/FACP.aml</string>
<key>FACS</key>
<string>/Extra/FACS.aml</string>
<key>GenerateCStates</key>
<string>No</string>
<key>GeneratePStates</key>
<string>No</string>
<key>Graphics Mode</key>
<string>1280x720x32</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>SMBIOSdefaults</key>
<string>Yes</string>
<key>SystemType</key>
<string>2</string>
<key>Theme</key>
<string>Default</string>
<key>Timeout</key>
<string>2</string>
<key>UpdateACPIVersion</key>
<string>Yes</string>
<key>Wait</key>
<string>Yes</string>
<key>oemFACP</key>
<string>No</string>
<key>oemFACS</key>
<string>No</string>
<key>oemRSDT</key>
<string>No</string>
<key>oemSSDT</key>
<string>No</string>
<key>oemXSDT</key>
<string>No</string>
</dict>
</plist>

 

My Extra:

ASF!.aml

com.apple.boot.plist

DSDT.aml

Extensions

Extensions.mkext

FACP.aml

FACS.aml

HPET.aml

MCFG.aml

NSLI.aml

RSDT.aml

smbios.plist

SSDT-1.aml

SSDT-2.aml

SSDT-3.aml

SSDT-4.aml

SSDT-5.aml

themes

XSDT.aml

 

I wrong?

Last login: Sun Jan 30 08:03:14 on console
/Users/hoang_555/Desktop/AnVAL5.1.4/bdmesg; exit;
Hoang-Pham-Thanhs-MacBook-Pro:~ hoang_555$ /Users/hoang_555/Desktop/AnVAL5.1.4/bdmesg; exit;
Config: [hd(0,2)/Extra/com.apple.Boot.plist] 1209 bytes.
CPU: Mobile Intel(R) Core(TM)2 Duo CPU	 T6400  @ 2.00GHz
max: 10 current: 6
CPU: Tjmax ~ 105°C 			   Temperature= ~ 85°C
CPU: Attempting to enable IDA	  Failed!
CPU: Vendor/Family/ExtFamily:	  0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping:	  0x17/0x1/0xa
CPU: Multipliers x10:			  max=100, min=60
CPU: MaxDiv/CurrDiv:			   0x0/0x0
CPU: TSCFreq:					  1995MHz
CPU: CPUFreq:					  1995MHz
CPU: FSBFreq:					  199MHz
CPU: Enhanced SpeedStep:		   1
CPU: NoCores/NoThreads:			2/2
CPU: Features:					 0x26d803a3
Theme: [hd(0,2)]/Extra/Themes/Default
Theme: [hd(0,2)]/Extra/Themes/Default
Found mode 1280x720 in VESA Table
Config: [hd(0,2)/Extra/com.apple.Boot.plist] 1209 bytes.
Setting boot-uuid to: 4E2C6E67-8A26-3082-AC24-0C213ADA93C4
Hibernate image is too old by 28583 seconds. Use ForceWake=y to override
Loading Darwin 10.6
Loading kernel mach_kernel
LoadDrivers: /Extra/Extensions.mkext
LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
ACPI: [hd(0,2)/Extra/DSDT.aml] 47479 bytes.
Using PCI-Root-UID value: 0
nVidia GeForce G 105M 512MB NV98 [10de:06ec] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
@0,display-cfg: ffffffff
@1,display-cfg: ffffffff
LAN Controller [1969:1026] :: PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)
Setting up lan keys
Intel PM/GM45/47 DRAM Controller [8086:2a40] at 00:00.0
Frequency detected: 399 MHz (798) Dual Channel 
CAS:6 tRC:6 tRP:6 RAS:15 (6-6-6-15)
Scanning smbus_dev <8086, 2930> ...
Slot: 0 Type 24 2048MB (DDR3 SDRAM) 800MHz Vendor=Kingmax Semiconductor
  PartNo=FSEE85F-B8MH7 SerialNo=00000000
Slot: 2 Type 24 2048MB (DDR3 SDRAM) 800MHz Vendor=Samsung
  PartNo=M471B5673EH1-CF8 SerialNo=060BE90F
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : 40fb9b26-4215-812a-1859-00235a5e1cbc
ACPI: [hd(0,2)/Extra/DSDT.aml] 47479 bytes.
ACPI: [hd(0,2)/Extra/HPET.aml] 56 bytes.
ACPI: [hd(0,2)/Extra/MCFG.aml] 60 bytes.
ACPI: [hd(0,2)/Extra/SSDT-1.aml] 1335 bytes.
Table /Extra/SSDT-1.aml read and stored at: c0f000
ACPI: [hd(0,2)/Extra/SSDT-2.aml] 463 bytes.
Table /Extra/SSDT-2.aml read and stored at: c10000
ACPI: [hd(0,2)/Extra/SSDT-3.aml] 547 bytes.
Table /Extra/SSDT-3.aml read and stored at: c11000
ACPI: [hd(0,2)/Extra/SSDT-4.aml] 141 bytes.
Table /Extra/SSDT-4.aml read and stored at: c12000
ACPI: [hd(0,2)/Extra/SSDT-5.aml] 1621 bytes.
Table /Extra/SSDT-5.aml read and stored at: c13000
FADT: Restart Fix applied !
FADT: Restart Fix applied !
Patched ACPI version 2 DSDT
Starting Darwin x86_64
Press any key to continue...

logout

[Process completed]

Link to comment
Share on other sites

0x0000000000000410, // Address , should it be 1010 ? (dsdt Pstate/CPU area)

Some have 410, some 810 and some other may have 1010 as Baseadress.

I think it depends from BIOS and ICH Version.

In the dsdt self editing time this was also an well known "problem" by using dsdt from others without checking if that base adresses fits the own system. I dont think ist possible to add some AI that boot can adjust that itself (410,810,1010,...).

Maybe boot takes default 410 and an new key BaseAdress is added to set other (810,1010) baseadress ?

Link to comment
Share on other sites

This is my install procedure:

 

fdisk -f boot0hfs -u -y /dev/rdisk0
dd if=boot1h of=/dev/rdisk0s2 
cp boot /

 

I tried also boot0, not boot0hfs,

And install to EFI (I don't like EFI method).

Always first boot was OK, second stops on:

boot0:done

 

I don't see any option to enable SpeedStep in bios.

Under Windows on AC Adapter busratio moving from 12 to 13, but under battery power from 4(maybe 6) to 13.

 

5.1.4

Last login: Sun Jan 30 10:10:38 on console
/Volumes/BOOTLOADER/Extra/Util/bdmesg ; exit;
MacBook-Pro-wojnar:~ wojnar$ /Volumes/BOOTLOADER/Extra/Util/bdmesg ; exit;
Config: [hd(0,2)/Extra/com.apple.Boot.plist] 570 bytes.
CPU: Mobile Intel® Core(tm)2 Duo CPU     T8300  @ 2.40GHz
CPU: Thermal Monitor:              TM, TM2, PROCHOT, FERR
max: 12 current: 6
CPU: Tjmax ~ 104°C 	           Temperature= ~ 38°C
CPU: IDA:                          Enabled!
CPU: Vendor/Family/ExtFamily:      0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping:      0x17/0x1/0x6
CPU: Multipliers x10:              max=120, min=60
CPU: MaxDiv/CurrDiv:               0x0/0x0
CPU: TSCFreq:                      2394MHz
CPU: CPUFreq:                      2394MHz
CPU: FSBFreq:                      199MHz
CPU: SLFM:                         1
CPU: Enhanced SpeedStep:           1
CPU: NoCores/NoThreads:            2/2
CPU: Features:                     0x26d803a3
Chipset is 965GM (pci id 0x2a008086)
We have an NVIDIA Card
Creating 2 Mode Tables
New table with id : 0
New table with id : 1
First Standard VESA Table at offset 0x7bbb
Second Standard VESA Table at offset 0x4832
Table #0 has 16 modes
Table #1 has 32 modes
Aspect Ratio is 16/10
Patching Table #0 : 
Mode 1024x768 -> 1440x900 (1047 1183 1343 770 776 805)
Patching Table #1 : 
Mode 640x200 -> 640x400 (664 672 720 408 H- V+)
Mode 640x350 -> 640x400 (664 678 720 408 H- V+)
Mode 640x480 -> 640x400 (669 685 720 408 H- V+)
Mode 640x480 -> 640x400 (669 685 720 408 H- V+)
Mode 800x600 -> 800x500 (836 852 900 512 H- V+)
Mode 800x600 -> 800x500 (836 852 900 512 H- V+)
Mode 1024x768 -> 1024x640 (1071 1087 1152 656 H- V+)
Mode 1024x768 -> 1024x640 (1071 1087 1152 656 H- V+)
Mode 1280x1024 -> 1280x800 (1343 1359 1440 823 H- V+)
Mode 1280x1024 -> 1280x800 (1343 1359 1440 823 H- V+)
Mode 1400x1050 -> 1400x875 (1474 1488 1575 908 H+ V+)
Mode 1600x1200 -> 1600x1000 (1674 1690 1800 1025 H- V+)
Mode 2048x1536 -> 2048x1280 (2144 2160 2048 1314 H+ V+)
Theme: [hd(0,2)]/Extra/Themes/Mint
Resolution : 1440x900 (Graphics Mode key)
Theme: [hd(0,2)]/Extra/Themes/Mint
Found mode 1440x900 in VESA Table
Config: [hd(1,2)/Extra/com.apple.Boot.plist] 845 bytes.
Setting boot-uuid to: 2AB62D86-BD05-3E36-BA0D-A1E31F89A1BC
Closing VBios
Table #0 : Freeing backup	[OK]
Table #0 : Freeing		[OK]
Table #1 : Freeing backup	[OK]
Table #1 : Freeing		[OK]
Freeing map			[OK]
header read size 200
Incorrect image signature
Loading Darwin 10.6
Loading kernel /mach_kernel
LoadDrivers: /Extra/Extensions.mkext
LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
ACPI: [hd(1,2)/Extra/DSDT.aml] 27470 bytes.
Using PCI-Root-UID value: 0
SMBios: [hd(1,2)/Extra/smbios.plist] 646 bytes.
Intel GM965/GL960 DRAM Controller [8086:2a00] at 00:00.0
Frequency detected: 332 MHz (665) Dual Channel 
CAS:5 tRC:5 tRP:5 RAS:15 (5-5-5-15)
Slot: 0 Type 19 1024MB (DDR2 SDRAM) 666MHz Vendor=Samsung
     PartNo=M470T2953EZ3-CE63E SerialNo=74225C19
Slot: 2 Type 19 2048MB (DDR2 SDRAM) 666MHz Vendor=Samsung
     PartNo=M470T5663CZ3-CE63C SerialNo=261D3F87
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : 108adec0-ab9b-11dc-805a-efb9f38380ca
efi_inject_get_devprop_string NULL trying stringdata
ACPI: [hd(1,2)/Extra/DSDT.aml] 27470 bytes.
ACPI: [hd(1,2)/Extra/SSDT-1.aml] 1254 bytes.
Table /Extra/SSDT-1.aml read and stored at: 18ea000
ACPI: [hd(1,2)/Extra/SSDT-2.aml] 1514 bytes.
Table /Extra/SSDT-2.aml read and stored at: 18eb000
ACPI: [hd(1,2)/Extra/SSDT-3.aml] 700 bytes.
Table /Extra/SSDT-3.aml read and stored at: 18ec000
ACPI: [hd(1,2)/Extra/SSDT-4.aml] 133 bytes.
Table /Extra/SSDT-4.aml read and stored at: 18ed000
ACPI: [hd(1,2)/Extra/SSDT-5.aml] 200 bytes.
Table /Extra/SSDT-5.aml read and stored at: 18ee000
FADT: changing Preferred_PM_Profile from 0x00 to 0x02
FADT: Restart Fix applied !
Found ACPI CPU: CPU0
Found ACPI CPU: CPU1
C-State: Adding 3 states: C1 C2 C3  @ 18f2000
FADT: Restart Fix applied !
Patched ACPI version 2 DSDT
Starting Darwin x86_64

logout

 

 

Any solution for that?

 

I had modified BIOS from kizwan with Menu "Virtualization" enabled, currently I'm under OEM Bios.

Still no chance Enable/Disable SpeedStep under BIOS.

Link to comment
Share on other sites

hi

i think you heard about vaio problem about internal screen disabled

so i ve wrote to you because it seems that the solution could be provided by linus and so i m calling you because you can do may be another trick

recently i ve seen this:

http://0xc0dedbad.com/blog/category/linuxonvaioz/

 

so i performed some search about and find this:

 

""

Screen Blanks/Monitor Turns Off

 

Using a laptop with a GeForce Go card, or connecting the sole display via DVI on a dual-head system sometimes results in the screen not receiving a picture. This is caused by the driver outputting video to the VGA port on the graphics card, instead of DVI.

 

The usual hint that you have this problem is when you hear the startup sound but nothing appears on the screen. If you do not hear any sound, you are more than likely experiencing unrelated problems.

 

This is a launchpad bug about displays on digital outputs being blank when using NVIDIA binary driver, and can be resolved by editing your /etc/X11/xorg.conf file:

 

*

 

Switch to the console (Try using ctrl+alt+F1, or reboot and select recovery mode from the GRUB menu.)

*

 

Use your text editor to open /etc/X11/xorg.conf (try sudo nano /etc/X11/xorg.conf).

*

 

Find the line that says Section "Screen"

*

 

Insert a new line that says Option "UseDisplayDevice" "DFP".

*

 

Save the file. If you had to restart into recovery mode, type reboot, otherwise restart your display using sudo /etc/init.d/gdm restart.

 

Incorrect Refresh Rate Reported""

from this: https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia (choose BinaryDriverHowto/Nvidia)

 

i ve found this too:http://www.uluga.ubuntuforums.org/showthread.php?p=9285417

 

if you need information about vaio search on my insanelymac posts because i ve given many links and info for this machine since 3 years

 

so i hope you can have success like for incredidible taruga patcher

 

i wich you can help it could be giant

 

thank you for attention

here 's the most recent topic from vaio

 

http://www.insanelymac.com/forum/index.php...8556&st=420

Link to comment
Share on other sites

0x0000000000000410, // Address , should it be 1010 ? (dsdt Pstate/CPU area)

Some have 410, some 810 and some other may have 1010 as Baseadress.

I think it depends from BIOS and ICH Version.

In the dsdt self editing time this was also an well known "problem" by using dsdt from others without checking if that base adresses fits the own system. I dont think ist possible to add some AI that boot can adjust that itself (410,810,1010,...).

Maybe boot takes default 410 and an new key BaseAdress is added to set other (810,1010) baseadress ?

It's not a secret. Just look into your origin DSDT

	Scope (_PR)
{
	Processor (CPU0, 0x00, 0x00001010, 0x06) {}
	Processor (CPU1, 0x01, 0x00001010, 0x06) {}
}

or FACP

[038h 0056  4]	 PM1A Event Block Address : 00001000

The last one is accessible from bootloader.

struct acpi_2_fadt {
char			Signature[4];
uint32_t		Length;
uint8_t		 Revision;
uint8_t		 Checksum;
char			OEMID[6];
char			OEMTableId[8];
uint32_t		OEMRevision;
uint32_t		CreatorId;
uint32_t		CreatorRevision;
uint32_t		FIRMWARE_CTRL;
uint32_t		DSDT;
uint8_t		 Model;			// JrCs
uint8_t		 PM_Profile;		// JrCs
uint16_t		SCI_Interrupt;
uint32_t		SMI_Command_Port;
uint8_t			ACPI_Enable;
uint8_t			ACPI_Disable;
uint8_t			S4BIOS_Command;
uint8_t			PState_Control;
uint32_t		PM1A_Event_Block_Address;

Link to comment
Share on other sites

Still getting black screen and 100% GPU fan with this.

 

If I use GraphicsEnabler=no, I can load the kernel and whatnot, but it hangs when the desktop should kick in.

 

Chameleon r700 with ATI Experimental

AnVAL 5.1.4 boot file

10.6.6 (64bit)

Legacy kernel

 

XFX 5870

P8P67

2600K

 

So close!

Link to comment
Share on other sites

Ok, let's go with my last attempt on an Lenovo T60p laptop, Core 2 Duo T7400, 2.16 GHz 3GB Ram, ATI FireGL v5250 (really PITA),

all @ stock speeds.

 

AnVAL 5.1.4

Here last bdmesg:

 

Last login: Wed Feb  2 15:42:11 on console
				 /Users/momo/Downloads/AnVAL5.1.4/bdmesg; exit;
				 nero:~ momo$ /Users/momo/Downloads/AnVAL5.1.4/bdmesg; exit;
				 Config: [hd(0,2)/Extra/com.apple.Boot.plist] 6689 bytes.
				 CPU: Mobile Intel(R) Core(TM)2 CPU		 T7400  @ 2.16GHz
				 max: 13 current: 6
				 CPU: Tjmax ~ 104°C				Temperature= ~ 74°C
				 CPU: Attempting to enable IDA	  Failed!
				 CPU: Vendor/Family/ExtFamily:	  0x756e6547/0x6/0x0
				 CPU: Model/ExtModel/Stepping:	  0xf/0x0/0x6
				 CPU: Multipliers x10:			  max=130, min=60
				 CPU: MaxDiv/CurrDiv:			   0x0/0x0
				 CPU: TSCFreq:					  2161MHz
				 CPU: CPUFreq:					  2161MHz
				 CPU: FSBFreq:					  166MHz
				 CPU: Enhanced SpeedStep:		   1
				 CPU: NoCores/NoThreads:			4/2
				 CPU: Features:					 0x26d003a3
				 Theme: [hd(0,2)]/Extra/Themes/Default
				 Theme: [hd(0,2)]/Extra/Themes/Default
				 Found mode 1400x1050 in VESA Table
				 Config: [hd(1,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 290 bytes.
				 Setting boot-uuid to: 43E38D13-1864-32B5-9294-F1B69751F1BD
				 Hibernate image is too old by 2488 seconds. Use ForceWake=y to override
				 Loading Darwin 10.6
				 Loading kernel mach_kernel
				 ACPI: [hd(0,2)/Extra/DSDT.aml] 47561 bytes.
				 Using PCI-Root-UID value: 0
				 Scanning smbus_dev <8086, 27da> ...
				 Slot: 4 Type 2 0MB (RAM) 800MHz Vendor=NoName
					   PartNo=SER SerialNo=
				 Slot: 5 Type 2 0MB (RAM) 800MHz Vendor=NoName
					   PartNo=USR SerialNo=
				 Slot: 6 Type 2 0MB (RAM) 800MHz Vendor=NoName
					   PartNo=CONu SerialNo=
				 Patched DMI Table
				 Found SMBIOS System Information Table 1
				 Customizing SystemID with : f668ae01-495e-11cb-b6f7-f39b10b60179
				 efi_inject_get_devprop_string NULL trying stringdata
				 ACPI: [hd(0,2)/Extra/DSDT.aml] 47561 bytes.
				 FADT: Restart Fix applied !
				 Found ACPI CPU: CPU0
				 Found ACPI CPU: CPU1
				 C-State: Adding 3 states: C1 C3 C6 @ 200a000
				 Voltage: min= 1004mV, max= 1308mV
				 Model detected: MacBookPro2,3
				 P-State: Added [Frequency 2158 MHz	FID 0xd	 VID 0x26]
				 P-State: Added [Frequency 1992 MHz	FID 0xc	 VID 0x24]
				 P-State: Added [Frequency 1826 MHz	FID 0xb	 VID 0x22]
				 P-State: Added [Frequency 1660 MHz	FID 0xa	 VID 0x1f]
				 P-State: Added [Frequency 1494 MHz	FID 0x9	 VID 0x1d]
				 P-State: Added [Frequency 1328 MHz	FID 0x8	 VID 0x1a]
				 P-State: Added [Frequency 1162 MHz	FID 0x7	 VID 0x18]
				 P-State: Added [Frequency 996 MHz	FID 0x6	 VID 0x15]
				 P-States: 8 states were succefully generated @ 200b000
				 FADT: Restart Fix applied !
				 Patched ACPI version 2 DSDT
				 Starting Darwin x86

				 logout

 

So far it's working, but:

 

- CPU model changed to Xeon

- "Found mode 1400x1050 in VESA Table" is wrong 'cause native would be 1680x1050 (but maybe wrong VESA table)

- "CPU: Attempting to enable IDA Failed!" (According to Intel the chip is capable of IDA)

 

Testing it right now.

 

One question: is GraphicsEnabler capable of calling Wormy Framebuffer for my GFX (Using the ATI X1700 drivers)? If not how can i modify it?

 

Thanks, and keep up the good work.

 

EDIT: wrong assumption about IDA on T7400

Link to comment
Share on other sites

hello VALV have a problem injection nvidia geforce 310M on my ASUS K52JC an error with the boot is it possible to fix error thank you

 

PCI\VEN_10DE&DEV_0A70&SUBSYS_14321043&REV_A2

PCI\VEN_10DE&DEV_0A70&SUBSYS_14321043

PCI\VEN_10DE&DEV_0A70&CC_030000

PCI\VEN_10DE&DEV_0A70&CC_0300

post-118430-1296692953_thumb.jpg

Link to comment
Share on other sites

hello VALV have a problem injection nvidia geforce 310M on my ASUS K52JC an error with the boot is it possible to fix error thank you

 

PCI\VEN_10DE&DEV_0A70&SUBSYS_14321043&REV_A2

PCI\VEN_10DE&DEV_0A70&SUBSYS_14321043

PCI\VEN_10DE&DEV_0A70&CC_030000

PCI\VEN_10DE&DEV_0A70&CC_0300

 

@gerard71

 

I have just tried using this bootloader (version 5.1.4) and the 310M, it has no problem identifying the card. See extract from my output of BDMesg below:

 

Loading Darwin 10.6
Loading kernel mach_kernel
LoadDrivers: /Extra/Extensions.mkext
LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
ACPI: [hd(0,2)/Extra/DSDT.aml] 40070 bytes.
Using PCI-Root-UID value: 0
nVidia GeForce G310M 512MB NVa8 [10de:0a75] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
@0,display-cfg: ffffffff
@1,display-cfg: ffffffff
LAN Controller [10ec:8168] :: PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)
Setting up lan keys

 

The above output is of course generated using graphicsenabler=yes and works perfectly.

 

However, you might also want to try using a modified com.apple.boot.plist using graphicsenabler=no and specifically injecting device properties from a MacBookPro. That is actually what I use day to day with my bootloaders and the reason is that injecting the device properties makes the brightness functions work correctly too for the 310M, 320M, 330M as long as your DSDT is also modified to include Device (PNLF) - check out other posts on Insanelymac on what that means . I realise this is a little off topic, but I think you will find that it makes your system work better. For your reference, I attach the boot plist I am using now and you could try it out.....to avoid going too far off topic you can PM me about this if you want.

com.apple.Boot.plist.zip

Link to comment
Share on other sites

Try with GeneratePStates=No

 

That is worked on my rig.

 

 

Question for Valv:

 

VMonHeros said that his Atom have 4C states, but I found (google) that Atom have 2 C states.

 

So, what is true?

 

BTW i have 2 C states with valv, and instant crash on boot with GeneratePStates=Yes.

 

No, Anval is right ;). I checked documentation on Intel servers (http://download.intel.com/design/processor/datashts/320528.pdf), and for Atom 330, 2 C-States (C0 and C1). The DSDT I download is wrong on that ;). But I yet remove these values !

 

I will test again with the last Anval version, but like you, with previous version, direct reboot before loading the kernel is P-States generation is enable...

Link to comment
Share on other sites

No, Anval is right ;). I checked documentation on Intel servers (http://download.intel.com/design/processor/datashts/320528.pdf), and for Atom 330, 2 C-States (C0 and C1). The DSDT I download is wrong on that ;). But I yet remove these values !

 

I will test again with the last Anval version, but like you, with previous version, direct reboot before loading the kernel is P-States generation is enable...

 

I was tried Anval 5.1.4. With genetrateCstates got 2 c-states and with EnableC6State got c1,c2,c4 and c6 states.

On generatePstates instant reboot.

No luck with autopatching on the fly 10.6 vanilla kernel. ;)

 

BTW does somebody know real TjMax for atom 330? Found some misleading informations, TjMax from 85 to 130... ;)

 

THX

Link to comment
Share on other sites

Hi Valv,

 

some findings

 

According to T7400's datasheet there are some discrepancies of what I see in bdmesg:

 

AnVAL: CPU: Tjmax ~ 104°C datasheet: Tjmax = 100°C

AnVAL: CPU: Attempting to enable IDA Failed! datasheet: No mention about IDA (so my error in previous post)

AnVAL: C-State: Adding 3 states: C1 C3 C6 @ 200a000 datasheet: C-States: C0, C1/AutoHALT, C1/MWAIT, C2, C3, and C4

 

Other thoughts:

AnVAL: Config: [hd(1,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] Mine is in hd(1,1) EFI partition

 

After Sleep, I lost External monotor and when shutting down after sleep I have a KP.

 

Hoe it helps

Link to comment
Share on other sites

I was tried Anval 5.1.4. With genetrateCstates got 2 c-states and with EnableC6State got c1,c2,c4 and c6 states.

On generatePstates instant reboot.

No luck with autopatching on the fly 10.6 vanilla kernel. ;)

 

BTW does somebody know real TjMax for atom 330? Found some misleading informations, TjMax from 85 to 130... ;)

 

THX

 

From different documentations, I saw TjMax at 90°C.

 

I will try for EnableC6States... However, it's surprising as normally Atom 330 has just 2 C-States... It is the "mobile" version that has C2, C4 (and sometimes) C6 states...

 

Quite bizarre here.

Link to comment
Share on other sites

From different documentations, I saw TjMax at 90°C.

 

I will try for EnableC6States... However, it's surprising as normally Atom 330 has just 2 C-States... It is the "mobile" version that has C2, C4 (and sometimes) C6 states...

 

Quite bizarre here.

 

I have Asrock MCP7A mobo, so i think, it's not "mobile". How i get C4 and C6? :D

Do you try with TJMax 90? If so, what is your temperature reading?

Link to comment
Share on other sites

MiniHack

 

 

but I do not arrive has switcher graph INTEL with the nvidia 310m without the dsdt I see the nvidia, but with the dsdt the nvidia disappears can one integrate the nvidia in the dsdt?

 

i have nvidia 310M optimus

 

tank you

post-118430-1296776898_thumb.jpg

Link to comment
Share on other sites

Koko + VMonHeros, just an fyi, the Atom 330 does not support speed stepping, so you really shouldn't be trying to use it (that is, you can't change P states for that machine).

 

Yes, yes, we know, we're just trying :P.

 

However, the "normal" chameleon branch do not KP on that, so I just want to inform valv ;).

 

I have Asrock MCP7A mobo, so i think, it's not "mobile". How i get C4 and C6? :wacko:

Do you try with TJMax 90? If so, what is your temperature reading?

 

There is no mobile version of the 330. 330 is an Atom for desktop (and do no Speedstep). What I called mobile was the N270 version for example, and when you look at the Intel documentation, this one have C4 state... It's why I'm surprise that Anval will create C4 state for Atom 330... As by documentation, Atom 330 has only 2 C States.

 

Surely because we force Anval with the EnableC6State. But I'm quite sure that the processor don't use these "fake" states.

Link to comment
Share on other sites

MiniHack

 

 

but I do not arrive has switcher graph INTEL with the nvidia 310m without the dsdt I see the nvidia, but with the dsdt the nvidia disappears can one integrate the nvidia in the dsdt?

 

i have nvidia 310M optimus

 

tank you

 

Optimus is pants.

 

If you have graphics switching then I am sorry - this is a world of pain that hackintosh cannot solve yet. :wacko:

Link to comment
Share on other sites

Optimus is pants.

 

If you have graphics switching then I am sorry - this is a world of pain that hackintosh cannot solve yet. :)

 

yes does my computer function has 100% except the video one because INTEL hd does not function correctly is not average to make function thé nvidia i have to find this code in a dsdt when thinks you?

            Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Name (_SUN, One)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x1A)
                           {
                               "@0,compatible", 
                               Buffer (0x0B)
                               {
                                   "NVDA,NVMac"
                               }, 

                               "@0,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@0,display_cfg", 
                               Buffer (0x08)
                               {
                                   0x03, 0x01, 0x00, 0x00
                               }, 

                               "@0,name", 
                               Buffer (0x0F)
                               {
                                   "NVDA,Display-A"
                               }, 

                               "@1,compatible", 
                               Buffer (0x0B)
                               {
                                   "NVDA,NVMac"
                               }, 

                               "@1,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@1,display_cfg", 
                               Buffer (0x08)
                               {
                                   0xFF, 0xFF, 0x00, 0x01
                               }, 

                               "@1,name", 
                               Buffer (0x0F)
                               {
                                   "NVDA,Display-B"
                               }, 

                               "NVCAP", 
                               Buffer (0x14)
                               {
                                   /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 
                                   /* 0008 */    0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                   /* 0010 */    0x00, 0x00, 0x00, 0x00
                               }, 

                               "VRAM,totalsize", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x40
                               }, 

                               "device_type", 
                               Buffer (0x0D)
                               {
                                   "NVDA,GeForce"
                               }, 

                               "model", 
                               Buffer (0x35)
                               {
                                   "nVidia Optimus 310M-CUDA                            "
                               }, 

                               "rom-revision", 
                               Buffer (0x3B)
                               {
                                   "nVidia Optimus 310M OpenGL Engine-CUDA                    "
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }
           }

Link to comment
Share on other sites

 Share

×
×
  • Create New...