PDA

View Full Version : Adding an audio efi string to Gfx string


Ianxxx
03-27-2008, 04:34 PM
I read somewhere on how to do this but can't find the site and to be honest couldn't make head or tail of it.
Does someone know how to do this?

roisoft
03-27-2008, 06:37 PM
You can try this for ethernet & Audio (i´m using my gfx string for 7600gt this example is for Alc889a(ID (8086,293e), Ethernet realtek 8119b)

This works with ALCxxx (AppleHDA.kext & Alcinject.kext) audio based, with Alc850 it´s not necessary.

1. Copy gfxutil & 7600gt.hst to your desktop

2. Open up Terminal & change directory to your desktop
cd /Desktop

3. Rename 7600gt.hst to 7600gt.hex
mv 7600gt.hst 7600gt.hex

4. Convert hex file to property list file
./gfxutil -s -n -i hex -o xml ./7600gt.hex ./7600gt.plist

5. Find the device path for "ethernet"
./gfxutil -f ethernet
Example output: DevicePath = PciRoot(0x1)/Pci(0x1c,0x5)/Pci(0x0,0x0)

6. Edit 7600gt.plist with Textedit, adding the following lines:
<key>PciRoot(0x1))/Pci(0x1c,0x5)/Pci(0x0,0x0)</key>
<dict>
<key>built-in</key>
<string>0x01</string>
</dict>
Note: replace the device path with yours

7. Convert plist file to hex file
./gfxutil -i xml -o hex ./7600gt.plist ./7600gt.hex

8. Copy the string in the new 7600gt.hex to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

9. Replace /System/Library/Extensions/IONetworkingFamily.kext with the vanilla one & repair permissions

10. Reboot

11. Repeat steps 5 to 9 for ALC899A fix
11.1 Find the device path:

./gfxutil -f pci8086,293e (remember the device ID)
11.2 Edit 7600gt.plist & add:
<key>PciRoot(0x1)/Pci(0x1b,0x0)</key>
<dict>
<key>PinConfigurations</key>
<data>
</data>
<key>built-in</key>
<string>0x00</string>
<key>layout-id</key>
<string>0x0000000c</string>
</dict>
11.3 Remove /System/Library/Extensions/ALCinject.kext

How to find device ID go here (http://osx86.wikidot.com/how-to-s#toc9)

or you can use this (http://www.mediafire.com/?vmjuotyxm0g)

more info in Netkas (http://forum.netkas.org/) forum

credits to Eclau, Macmatrics, Time ed....

pαuℓzurrr.
03-27-2008, 09:34 PM
The ethernet thing doesnt seem to work for me (Nforce LAN)

00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)

This is what i have now for ethernet

<key>PciRoot(0x1)/Pci(0x7,0x0)</key>
<dict>
<key>built-in</key>
<string>0x01</string>
</dict>

Audio and Video i had working allready, could someone help me get ethernet to work? :)

~p-J

milanca
03-28-2008, 12:02 AM
excellent howto roisoft, i might give it a try for my hardware also. Anyone has plist file for 8800 GTS 320 MB so i can do the graphics first?

roisoft
03-28-2008, 12:15 AM
go here (http://osx86.wikidot.com/how-to-s#toc6) and follow the steps. :))

milanca
03-28-2008, 12:22 AM
oh yes, cool ;-) is it going to work with this universal template plist or do i need exact hex file for my g.card?

roisoft
03-28-2008, 12:32 AM
Open the plist and replace the key(PciRoot......) and graphics model by yours

milanca
03-28-2008, 12:54 AM
Yep, its working:-) nvinject removed and its working fine. CI/QE supported only instead of 320 its 256mb of VRAM. thats what i was worried about.

roisoft
03-28-2008, 01:10 AM
edit the plist and add this


<key>name</key>
<string>NVDA,Parent</string>
<key>rom-revision</key>
<string>0xa1000000</string>
<key>VRAM,totalsize</key>
<data>
AAAAFA==
</data>


You will see 320mb

milanca
03-28-2008, 07:29 AM
thanks roisoft. although i fixed it and it was all fine, i switched back to nvinject320 due to immediate system crash/restart when display goes to sleep mode. Are there actually some major benefits/improvements if we have it in com.apple.Boot.plist?