How to patch DSDT with LAN and HDEF functions

Transcription

How to patch DSDT with LAN and HDEF functions
How to patch DSDT with LAN and HDEF functions
(don’t need Realtek1000.kext and HDAEnabler.kext)
Requirements:
- DSDT patcher by fassl form:
http://www.insanelymac.com/forum/index.php?showtopic=133683
- Install Xcode from a retail OS X DVD for getting
IORegistryExplorer.app
- Open /Developer/Applications/Utilites/IORegistryExplorer.app to see
where a network device resides.
For example; a network device is in PEX5 for EP35-DS3P or in PEX4
for EP45-UD3R.
Using DSDT Patcher by working on Desktop:
- copy a DSDT Patcher1 folder from Downloads to Desktop
- open a DSDT Patcher1 folder, you will see as a following picture.
- open Terminal (/Applications/Utilities/Terminal.app)
- drag & drop DSDT Patcher into Terminal
- type
-newHPET
 /Users/user name/Desktop/DSDT_Patcher/DSDT\ Patcher –newHPET and
press Enter until you need to select Which OS to emulate?
[0=Darwin,1=WinXP,2=WinVista], type 0 and press Enter
 You should get as a following picture.
- create a new folder on Desktop, name it as DSDT
- copy dsdt_fixed.txt and iasl into a DSDT folder
Editing DSDT:
- rename dsdt_fixed.txt by click the right button and choose Get
Info, changing to dsdt.dsl, it will ask [Keep .txt] or [Use .dsl],
then click [Use .dsl]
- use TextEdit.app to open dsdt.dsl
- go to this section
reorganize for looking better
- copy the following code from code.txt and paste before
Method (\_WAK, 1, NotSerialized)
It should be looking as a following picture on the next page.
- go back this section again to add Return (Package (0x02)
{0x00,0x00}) or copy from code.txt
A new one should be like the following picture.
- find AZAL and replace with HDEF


- add the following code from code.txt to Device (HDEF) section
It should be like a following picture on the next page.
- go to Device (RTC) for editing from 0x04 to 0x02
//Length
in order to be able to run SL without resetting CMOS of Gigabyte

- for using a network you have two options by copying the following
code from code.txt to the end of Device (PEX4) or Device (PEX5)
(a) if you prefer LAN or LAN0
or
(b) if you prefer GIGE
You also need to add GP9 as a following picture.
- save dsdt.dsl after you are done.
Compiling dsdt.dsl to dsdt.aml and using DSDT.aml
- open Terminal
- drag & drop
iasl
into Terminal
- Type –sa
- drag & drop
dsdt.dsl
into Terminal and press Enter
- result dsdt.aml and dsdt.asm
- rename dsdt.aml to DSDT.aml
- copy DSDT.aml to / (root directory), using DSDT.aml requires
Chameleon v1.0.12 (PC EFI v9 by netkas) or Chameleon v2 by
Chameleon team
I hope this guide will help you creating your own DSDT.aml. This is
the best way to create on your PC. Good Luck.
Thank you to members of insanelymac who contribute their knowledge.
Make it simple by copy and paste
AppleHDA.kext version 1.5.7a24 or later, using Property List Editor
/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/info.plis
t
You can copy from this item and paste into info.plist of
AppleHDAController.kext (for L)
/AppleHDA.kext/Contents/PlugIns/AppleHDAPlatformDriver.kext/Contents/info.
plist
You can copy from this item and paste into info.plist of
AppleHDAPlatformDriver.kext (for L & SL)
/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents
/info.plist (for SL)
You can copy from this item and paste into info.plist of
AppleHDAHardwareConfigDriver.kext (for SL)