[HOW TO]modify AppleGraphicsPowerManagement.kext for X1400 of T60 in 10.6.8
#1
Posted 18 November 2011 - 02:43 PM
so , it can go sleep and wake good.
but my videocard X1400 become very hot sometime, I guess it's be overclock with some wrong thing in AppleGraphicsPowerManagement.kext\Contents\Info.plist .
I edit it as below:
add code
<key>MacBookPro2,2</key> <====== I use smbios as MBP 15" 2,2
<dict>
<key>Vendor1002Device7145</key> <====== my X1400's ID is 0x71451002
<dict>
<key>QSC</key>
<dict>
<key>Enabled</key>
<integer>1</integer>
<key>Mode</key>
<integer>1</integer>
<key>hwPState</key>
<array>
<integer>0</integer>
<integer>0</integer>
<integer>0</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>2</integer>
</array>
<key>qscOnTime</key>
<array>
<integer>0</integer>
<integer>2240</integer>
<integer>3520</integer>
<integer>0</integer>
<integer>3680</integer>
<integer>4960</integer>
<integer>6720</integer>
<integer>9120</integer>
<integer>0</integer>
</array>
</dict>
<key>control-id</key>
<integer>17</integer>
<key>max-power-state</key>
<integer>8</integer> <====== 8 states as my screen light control with fn+Home(End)
</dict>
</dict>
these code are copied from the original below:
<key>MacBookPro8,2</key>
<dict>
<key>IGPU</key>
<dict>
<key>Heuristic</key>
<dict>
<key>BusyDownThresholdPercent</key>
<integer>70</integer>
<key>BusyUpThresholdPercent</key>
<integer>90</integer>
<key>DiagnosticModeDefault</key>
<integer>0</integer>
<key>EvaluateDownInterval</key>
<integer>350000</integer>
<key>EvaluateUpInterval</key>
<integer>66000</integer>
<key>ID</key>
<integer>2</integer>
<key>SensorOption</key>
<integer>1</integer>
</dict>
<key>control-id</key>
<integer>16</integer>
<key>max-power-state</key>
<integer>15</integer>
<key>min-power-state</key>
<integer>0</integer>
</dict>
<key>Vendor1002Device6741</key>
<dict>
<key>QSC</key>
<dict>
<key>Enabled</key>
<integer>1</integer>
<key>Mode</key>
<integer>1</integer>
<key>hwPState</key>
<array>
<integer>0</integer>
<integer>0</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>2</integer>
</array>
<key>qscOnTime</key>
<array>
<integer>0</integer>
<integer>1440</integer>
<integer>0</integer>
<integer>2400</integer>
<integer>4000</integer>
<integer>5760</integer>
<integer>7680</integer>
<integer>9760</integer>
<integer>0</integer>
</array>
</dict>
<key>control-id</key>
<integer>17</integer>
<key>max-power-state</key>
<integer>8</integer>
</dict>
<key>Vendor1002Device6760</key>
<dict>
<key>QSC</key>
<dict>
<key>Enabled</key>
<integer>1</integer>
<key>Mode</key>
<integer>1</integer>
<key>hwPState</key>
<array>
<integer>0</integer>
<integer>0</integer>
<integer>0</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>2</integer>
</array>
<key>qscOnTime</key>
<array>
<integer>0</integer>
<integer>2240</integer>
<integer>3520</integer>
<integer>0</integer>
<integer>3680</integer>
<integer>4960</integer>
<integer>6720</integer>
<integer>9120</integer>
<integer>0</integer>
</array>
</dict>
<key>control-id</key>
<integer>17</integer>
<key>max-power-state</key>
<integer>8</integer>
</dict>
</dict>
I think the main problem is those words , because MBP 8,2 use the advanced videocard.
I don't know what's the meaning of those words , and there're only information of AppleGraphicsPowerManagement.kext about N card that I can find on the Internet.
Is somebody can tell me those code's meaning, or way to make it suits to my X1400 ?
sorry for my poor English!
#2
Posted 19 November 2011 - 07:26 PM
I'm interested in this because i think that my HD2400 have no perfomance compared with windows 7 (i tried Counter Strike Source).
#3
Posted 20 November 2011 - 10:13 AM
Firstly look on IOreg. If your card (as mine) registered with GFX@0 key, - search if AppleGraphicsPowerManagement use that key (for example MacBookPro5,1->GFX0 key) so that config is useful for you.
As I know the key Vendor1002DeviceXXXX is used for NVidia Graphics. ATI use other parameters. My advice - use MacBoocPro 5,1 or 5,X series in SMbios. I have HD2400 Mobility & that configuration is more than usefull. Because that is default for ATI Graphics Cards.
#4
Posted 21 November 2011 - 05:37 AM
vopros-otvet, on Nov 20 2011, 06:13 PM, said:
Firstly look on IOreg. If your card (as mine) registered with GFX@0 key, - search if AppleGraphicsPowerManagement use that key (for example MacBookPro5,1->GFX0 key) so that config is useful for you.
As I know the key Vendor1002DeviceXXXX is used for NVidia Graphics. ATI use other parameters. My advice - use MacBoocPro 5,1 or 5,X series in SMbios. I have HD2400 Mobility & that configuration is more than usefull. Because that is default for ATI Graphics Cards.
I tested with openGL, It showed better FPS in MAC10.6.8 than WIN7, I think it's effected. But I can't find any information in LOG, so AppleGraphicsPowerManagement.kext maybe not loaded.
I had compared my T60 with the real MBP info, and now be sure that MacBook Pro 2,2 is best for me. MBP2,2 use T7600 as me, and X1600 that similar to X1400, and APPLE official says MBP2,2 surpport 10.6.8 and 10.7 , But it seems no information I can find about macbookpro2,2 and X1600.
To drive my videocard, I use ATIRadeonX1000.kext and RadeonHD.kext, they make X1400 work with QE. So it's not base on AppleGraphicsPowerManagement.kext in most status. But I need it to enable the function of SLEEP and WAKE.
In AppleGraphicsPowerManagement.kext\Contents\Info.plist of 10.6.8, I find it's different with other SnowLeopard's code, I guess the code maybe Lion.
I can see 3 types code that below
----1. IGPU
----2. GFX0
----3. Vendor****Device****
I guess the1 IGPU is the default INTEL card ,maybe the no_pcie card;
and the2 GFX0 is the default N card, mostly pcie card;
those the3 Vendor****Device**** means direct HardwareID. e.g. Vendor8086 is INTEL, Vendor10de is N, Vendor1002 is ATI. I guess it's not direct surpported in old IOreg, but surpported with KEXT in newer system.
In some tips somewhere, I find different manufacturers' code may be common, if it's suitable.
#5
Posted 21 November 2011 - 06:07 AM
Lya_Castled, on Nov 18 2011, 10:43 AM, said:
Do you get any CSTInfo output in your ioreg eg. if you do a ioreg | grep CSTInfo in a Terminal window do you see any output? With my T60 I see no output but I see a change in the PerformanceStateArray or Pstate's after the AppleIntelCPUManagement.kext loads. Perhaps you could post your DSDT.aml so I can look at it..
Edit: And do you have the dock for the laptop if so can you get OS X to load if the T60 is connected to it as mine dies off every time right when the desktop starts if attached to the dock.
#6
Posted 23 November 2011 - 05:34 AM
MacUser2525, on Nov 21 2011, 02:07 PM, said:
Edit: And do you have the dock for the laptop if so can you get OS X to load if the T60 is connected to it as mine dies off every time right when the desktop starts if attached to the dock.
Thanks to reply .
Too, I have no information with "ioreg | grep CSTInfo".
My dock works well, and those icons like bettery showed a little delay. If I edit AppleGraphicPowerManagement.kext that delete the words, dock also die when desktop start.
My DSDT is here, It's base on silencer's of thinkpads forum.
Attached Files
#7
Posted 23 November 2011 - 03:09 PM
So, the PowerPlay (that one you want to enable) in 10.6 is supported by two kexts - ATIRadeonX1000.kext (in Info.plist you'll find the key such as "Disable_PPLib" or smthng similar) & AppleGraphicsPowerManagement.kext. At first look in your IOReg with IORegistryExplorer app. Find where is ATIRadeonX1000 posts it's classes (such as GLContext, 2DContext & s.o.). The key above will be GFX@0, - you can be sure in it. So you may look for GFX0 settings in AppleGraphicsPowerManagement.
When this kext is posted you'll find such a thing in IOReg:
__________________________1.png 17.63K
43 downloadsIt means that this kext will work only with ATINDRV (Iago is the Framebuffer for RV610 - ATI HD 2xxx & 3xxx series, your one is Wormy as you know). So Using RadeonHD will not bring you AGPM support. The only way (i think) is to modifier the key "Disable_PPLib" (i don't remember exactly how it's named) in ATIRadeonX1000.kext's Info.plist.
#8
Posted 06 December 2011 - 05:27 PM
vopros-otvet, on 23 November 2011 - 03:09 PM, said:
So, the PowerPlay (that one you want to enable) in 10.6 is supported by two kexts - ATIRadeonX1000.kext (in Info.plist you'll find the key such as "Disable_PPLib" or smthng similar) & AppleGraphicsPowerManagement.kext. At first look in your IOReg with IORegistryExplorer app. Find where is ATIRadeonX1000 posts it's classes (such as GLContext, 2DContext & s.o.). The key above will be GFX@0, - you can be sure in it. So you may look for GFX0 settings in AppleGraphicsPowerManagement.
When this kext is posted you'll find such a thing in IOReg:
It means that this kext will work only with ATINDRV (Iago is the Framebuffer for RV610 - ATI HD 2xxx & 3xxx series, your one is Wormy as you know). So Using RadeonHD will not bring you AGPM support. The only way (i think) is to modifier the key "Disable_PPLib" (i don't remember exactly how it's named) in ATIRadeonX1000.kext's Info.plist.
what's your videocard's type? how did you make it work well?
I tried to modify ATI1600Controller.kext, but unlucky, I can't output my ROM directly as it's locked.
the only thing from my VBIOS I can find is below:
RadeonDump -d Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI it matched on name "display" RadeonDump regnum Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI it matched on name "display" 0x7200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 RadeonDump -i Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI it matched on name "display" Detected ATI Mobility Radeon X1400 (device id: 0x7145) Start I2C dump ATOM BIOS detected ATOM BIOS Rom: SubsystemVendorID: 0x17aa SubsystemID: 0x2006 IOBaseAddress: 0x2000 Filename: BR25482.bin BIOS Bootup Message: M64CSP/M62CSP/M54CSP/M52CSP BIOS " Bios Connector table: Port1: DDCType-0x7e50, DACType-7, TMDSType-0, ConnectorType-0, hpd_mask-0x0 Port3: DDCType-0x7e60, DACType-1, TMDSType-1, ConnectorType-0, hpd_mask-0x1 EDID for connector 0: Read data failed EDID for connector 1: Read data failed EDID for connector 3: 0x0000: 00FFFFFFFFFFFF0030AE224000000000 0x0010: 000F0103801D1578EA2D059757518A27 0x0020: 23505421080081800101010101010101 0x0030: 010101010101302A7820511A10403070 0x0040: 13001ED61000001925237820511A1040 0x0050: 307013001ED6100000190000000F0090 0x0060: 43329043280F01004CA35034000000FE 0x0070: 004C544E31343150342D4C30320A0019
It's so few, I don't know how to do it.
As you know, x1400 is Wormy, that's no solution in that topic now, and I keep waitting the lastest RadeonHD.kext
In ATIRadeonX1000.kext, I can't find any " Disable_PPLib" or "PPLib".
In IOReg, about "GLContext", there're really words, but no "AGPM" existed.
Now the only thing I feel possible to do, is still to modify the words in #1, but I don't know how to relate the code from my VBIOS with AppleGraphicsPowerManagement.kext\Contents\Info.plist .
__________________
my files below
Attached Files
#9
Posted 31 December 2011 - 08:19 AM
#10
Posted 22 January 2012 - 08:53 PM
Lya_Castled, on 06 December 2011 - 05:27 PM, said:
I tried to modify ATI1600Controller.kext, but unlucky, I can't output my ROM directly as it's locked.
the only thing from my VBIOS I can find is below:
RadeonDump -d Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI it matched on name "display" RadeonDump regnum Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI it matched on name "display" 0x7200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 RadeonDump -i Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI it matched on name "display" Detected ATI Mobility Radeon X1400 (device id: 0x7145) Start I2C dump ATOM BIOS detected ATOM BIOS Rom: SubsystemVendorID: 0x17aa SubsystemID: 0x2006 IOBaseAddress: 0x2000 Filename: BR25482.bin BIOS Bootup Message: M64CSP/M62CSP/M54CSP/M52CSP BIOS " Bios Connector table: Port1: DDCType-0x7e50, DACType-7, TMDSType-0, ConnectorType-0, hpd_mask-0x0 Port3: DDCType-0x7e60, DACType-1, TMDSType-1, ConnectorType-0, hpd_mask-0x1 EDID for connector 0: Read data failed EDID for connector 1: Read data failed EDID for connector 3: 0x0000: 00FFFFFFFFFFFF0030AE224000000000 0x0010: 000F0103801D1578EA2D059757518A27 0x0020: 23505421080081800101010101010101 0x0030: 010101010101302A7820511A10403070 0x0040: 13001ED61000001925237820511A1040 0x0050: 307013001ED6100000190000000F0090 0x0060: 43329043280F01004CA35034000000FE 0x0070: 004C544E31343150342D4C30320A0019
It's so few, I don't know how to do it.
As you know, x1400 is Wormy, that's no solution in that topic now, and I keep waitting the lastest RadeonHD.kext
In ATIRadeonX1000.kext, I can't find any " Disable_PPLib" or "PPLib".
In IOReg, about "GLContext", there're really words, but no "AGPM" existed.
Now the only thing I feel possible to do, is still to modify the words in #1, but I don't know how to relate the code from my VBIOS with AppleGraphicsPowerManagement.kext\Contents\Info.plist .
__________________
my files below
Attached Files
#11
Posted 25 January 2012 - 09:54 PM
#12
Posted 22 March 2012 - 08:11 AM
Hey, guys!
Has anybody tried to get this card working using patched ATI1600Controller.kext (personality table) and injecting proper info into IOReg?
I mean this topic:
http://www.insanelym...pic=249642&st=0My results:
./radeon_bios_decode < /Extra/1002_71DE.rom
ATOM BIOS Rom:
SubsystemVendorID: 0x1043 SubsystemID: 0x14e3
IOBaseAddress: 0xa000
Filename: f3s0122.m66
BIOS Bootup Message:
ASUS F3S M66M ATOM BIOS ASID:A14201.006$
PCI ID: 1002:71de
Connector at index 0 type: VGA
Connector at index 1 type: LVDS
Connector at index 2 type: Composite
Connector at index 3 type: DVI-I
./redsock_bios_decoder < /Extra/1002_71DE.rom
f3s0122.m66 :
ASUS F3S M66M ATOM BIOS ASID:A14201.006$
Subsystem Vendor ID: 1043
Subsystem ID: 14e3
Object Header Structure Size: 43605
Connector Object Table Offset: 0
Router Object Table Offset: 0
Encoder Object Table Offset: 0
Display Path Table Offset: 0
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
Connector Object Id [0] which is [NONE]
./RadeonDump -i
Skipping TV-Out
Bios Connector table:
Port1: DDCType-0x7e50, DACType-7, TMDSType-0, ConnectorType-0, hpd_mask-0x0
Port3: DDCType-0x7e60, DACType-1, TMDSType-1, ConnectorType-0, hpd_mask-0x1
EDID for connector 0:
Read data failed
EDID for connector 1:
Read data failed
EDID for connector 3:
Read data failed
RaBit.exe:
-- Analyzing ROM BIOS --
HEADER offs: 0x216
PCIR struct offs: 0x23C
DATA offs: 0xB35A, 76 entries
MASTER offs: 0xB3F2, 34 entries
CRC table offs: 0x261
CLOCK table offs: 0xB8FA
Core clock is 430.00 (0.00 3D) MHz
Memory clock is 400.00 MHz
Reference clock is 27.00 MHz
Connectors Layout table offs: 0xB9F4
Port = 0, Conn0 type = VGA
Port = 0, Conn2 type = STV
So, there's no way to get senseid for me and I can't patch ATI1600Controller to get my internal LVDS working!
Could anybody help me please?
Thank you in advance!
PS: my hardware - laptop Asus F3Se, ATI Mobility Radeon x1700 (dev_id - 71DE).
Attached Files
#13
Posted 05 November 2012 - 09:53 AM
vopros-otvet, on 31 December 2011 - 08:19 AM, said:
Do you know how to edit AppleGraphicsPowerManagement.kext for HD6850??
I believe the key point is on QSC, but on one had ever given an useable solution on the internet....
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account










