Jump to content

Working AMD Radeon HD 6990M Lion


Toris
 Share

3 posts in this topic

Recommended Posts

All credits to

Packo1980

 

0) Sorry for my English,please be patient

 

1) Download

DSDT Editor -> download

Chameleon Wizard -> Download

and an hex editor

2) Run Chameleon wizard:

 

DSDT -> Compile/Extract -> save

3) Now you should see dsdt.aml and dsdt.dsl

 

4) Run DSDT Editor and open dsdt.dsl

 

5)Patch -> new and paste this code(Basically it's the duallink patch applied also to the scope):

 

into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package (0x02)\n
{\n
 "AAPL00,DualLink",\n
 Buffer (0x04)\n
 {\n
  0x01, 0x00, 0x00, 0x00\n
 }\n
}, Local0)\n
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
Return (Local0)\n
}
end;
into scope label _SB.PCI0.PEG0.PEGP insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package (0x02)\n
{\n
 "AAPL00,DualLink",\n
 Buffer (0x04)\n
 {\n
  0x01, 0x00, 0x00, 0x00\n
 }\n
}, Local0)\n
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
Return (Local0)\n
}
end

 

and click 'Apply'

 

6) IASL -> Compile and pray for 0 errors, 0 warnings, 0 remarks and 0 optimizations otherwise try to click a few times the 'Fix Errors' button

 

Here there are some fixies:

 

-1 Install DTGP patch,you can find inside the folder of DSDT Editor

-2 "Not all control paths return a value .." I don't know if you have to fix this,but in case just add Return(Zero) before the last brechets of the method,I can't explain it well,just google it and you'll find a solution

 

7) After compiling click IASL -> 'save AML as'

save it inside Extra folder (do a backup of the previous one,if you have already one)

 

8)go to System/Library/Extensions and do a backup of "ATI6000Controller.kext"

 

9)Run hex editor and edit a personality,Packo1980 has suggested Ipomoea and it worked for me (at least the lvds,because I haven't tested the others output/input)

 

here is a quote:

Ipomoea

02 00 00 00 40 00 00 00 29 01 00 00 10 01 00 05 <-- LVDS (internal screen)

00 08 00 00 00 02 00 00 00 01 00 00 12 04 01 03 <-- HDMI

04 00 00 00 14 02 00 00 00 01 00 00 11 02 02 01 <-- DVI (not tested)

 

This is the original hex of ipomoea(search the first two lines should be sufficent to find it):

00 04 00 00 04 03 00 00 00 01 00 00 12 04 01 05
00 08 00 00 04 02 00 00 00 01 00 00 11 02 04 03
10 00 00 00 10 00 00 00 00 01 00 00 00 00 00 02

 

7) Open chameleon wizard and set:

GraphicsEnabler=Yes (just check the box)

AtiConfig= The framebuffer that you have edited (in my case Ipomoea)

AtiPorts=The number of the port of your framebuffer(in my case 3)

check DSDT.aml and select the path to your file

 

8) Reboot and enjoy your VGA

 

 

Cool code (optional)

 

1) download the source code of chameleon (truck) or other bootloader

2)find ati.c file

3)open it

4) Search '6990'

5) change 'kElodea' to 'kIpomoea'

6)save

7) Run terminal

8)

cd /*Path to chamelon folder,eventually the truck folder */
make clean
make pkg

9)got to chameleon/truck/sym and you should find the pkg to install

10)Install it

 

In this way you have to set only GraphicsEnabler=Yes inside the boot file instead of AtiPorts,ecc

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
 Share

×
×
  • Create New...