Advertisement
Guest User

Untitled

a guest
Jan 29th, 2011
4,111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.24 KB | None | 0 0
  1. ********************
  2. ** Used hardware **
  3. ********************
  4. * MB : Gigabyte G31M-ES2L rev2.3 [according to spec its identical to rev2.0 but not to 1.0!]
  5. * CPU: Intel Core2Quad Q6600 2.4Ghz@3.2Ghz
  6. * GPU: Patriot 2x2GB OC Edition
  7. * GPU: nVidia GeForce 9800GT [reference]
  8. * HDD: WD Corp. 500GB SATA
  9. * ODD: Unknown LG on SATA
  10. * OTH: Edimax EW-7318USn - works after installing official drivers from edimax website
  11. Antec Fusion Remote LCD - I have no idea, doesnt work
  12.  
  13.  
  14. ****************************
  15. ** For who this guide is? **
  16. ****************************
  17. So, its for begginers and for everyone who have problems with sleep and sound on this motherboard.
  18.  
  19.  
  20. **********************
  21. ** Before you start **
  22. **********************
  23. Get 8GB+ pendrive and restore 10.6.3 DMG on it using Disc Utility. Next install myHack 1.1 TO USB DRIVE. Remeber to UNCHECK SleepEnabler, if you are luck or you decide to buy correct GPU you can also uncheck graphic disabler and check graphic enabler.
  24.  
  25. Download pack of files: http://priv.ne0.pl/OSX/G31M-ES2L-1066-v2.zip [-1055.zip has been broken, sry :(]
  26. Download 10.6.5 combo update from Apple website: http://support.apple.com/kb/dl1349
  27.  
  28.  
  29. **********
  30. ** BIOS **
  31. **********
  32. Before configuring bios insert your pendrive (now can be empty or already prepared to install)
  33. First load optimized default
  34.  
  35. => Standard CMOS Features and change:
  36. * Drive A - None [can cause problems and none use it]
  37. * Halt On - No Errors [with some usb kb bios reports no kb and show "Press F1 to con..." lol :) ]
  38.  
  39. => Advanced Bios Features
  40. * Enter HardDisk Boot Priority and make sure about selection [mac os hdd must be at 1st position - skip this step if you have one hdd]
  41. * First boot device to Hard Disk
  42. * Second and Third can be Disabled or whatever you wish
  43. * HDD SMART... recommended to be Enabled
  44.  
  45. => Integrated Peripherals
  46. * On-Chip SATA mode - Enhanced
  47. * USB Keyboard Support - Leave Disabled (yes, I have USB kb)
  48. * USB Mouse Support - Leave Disabled
  49. * You can turn off Onboard Serial & Paralle Port for faster booting
  50.  
  51. => Power Management Setup
  52. * Disable Power On by Ring
  53. * HPET Mode - 64 bit mode
  54. * If you are not using Wake On LAN Enable EUP [last entry]
  55.  
  56. => PC Health Status
  57. * This settings are not required by OS X but for your safe apply it
  58. * CPU Warning Temp. - 70*C for Dual Core Series CPU`s, 80* for Core2Duo CPU`s and 90* for Quads
  59. * CPU Fan Fail Warn - Enabled
  60.  
  61.  
  62. ******************
  63. ** Installation **
  64. ******************
  65. Boot from already prepared pendrive [its under Hard-Drive section - not USB-HDD] using boot menu (hit F12 few times during POST check). After myHack bootloader appears press any key and type "-v" on keyboard (without " "), now just press enter.
  66. Wait for boot process complete, chose language and click Utilities then chose Disk Utility. Format your harddrive, remember about GUID scheme (instead of MBR).
  67. Close disk utility and make normal install. After it make boot from USB chosing Macintosh HD instead of Mac OS X Install DVD.
  68. Now install 10.6.6 combo update downloaded from Apple website, reboot using pendrive selecting Macintosh HD.
  69.  
  70.  
  71. *****************
  72. ** Postinstall **
  73. *****************
  74. Install Chamelon - just double click Chameleon-2RC5-b699 file and follow on-screen instruction. On last screen installer ask for logout - do it and log in again.
  75. Create folders: /Extra/, /Extra/Extensions/ and /Extra/Themes
  76. Copy Default to /Extra/Themes/
  77. Copy FakeSMC and ALC8xxHDA to /Extra/Extension/
  78. Copy dsdt.aml to /Extra/
  79. Copy AtherosL1cEthernet to /System/Library/Extensions
  80. Copy com.apple.Boot.plist to /Library/Preferences/SystemConfiguration/ replacing old one
  81. Install AppleHDA_Rollback.pkg
  82. Run pfix, type you password (it`s not visible during typing) and select option "1"
  83. Optional you can install Chameleon.prefPane (Advanced tools folder)
  84.  
  85. REBOOT AND ENJOY :)
  86. p.s. If you have no lan after reboot enter System preferences > Newtwork and card "magically" appears. Of course you must do only one time, not every reboot :)
  87.  
  88.  
  89. ***************************
  90. ** ...there is no audio! **
  91. ***************************
  92. Gigabyte specs is not always true. Eg. my motherboard according to specs has ALC883 codec but in real it`s ALC888b - big diff!
  93. In this case you must delete /Extra/dsdt.aml and copy dsdt-888b.aml from Advanced tools to /Extra/ renaming it to dsdt.aml. Reboot and try to ply music as loud as possible ;]
  94.  
  95. **************
  96. ** Own DSDT **
  97. **************
  98. If you still have no audio/cpu is hot (no power mgmt)/kernel panic with HPET or AppleIntelPowerManagment error you must prepare your own DSDT. It`s for advanced users :)
  99. You must run linux (best way is Ubuntu 10.04 live cd), open terminal and type:
  100.  
  101. sudo bash
  102. apt-get install iasl
  103. cat /proc/acpi/dsdt > dsdt.bin
  104. iasl -d dsdt.bin
  105.  
  106. Copy dsdt.dsl (not .bin) from your home folder to pendrive or sth.
  107. You can also do it on windows using DSDTSE (you can download it from http://www.osx86.es/?p=883), run it and click Tools > Extract DSDT (not tested - I have no windows at home ;])
  108.  
  109. Now boot installed OSX from pendrive and run DSDT Auto-Patcher. Uncheck Extract DSDT from system and select extracted dsdt.dsl above.
  110. Select vendor (Gigabyte) and model (G31M-ES2L), click Apply and wait. Program save your dsdt.aml on Desktop, just copy it to /Extra.
  111. Hardest part - sound card. Gigabyte mounts 2 sound chips - ALC883 and ALC888b (ident as. ALC887 on Linux which is OK). But in specs inform only about ALC883 ... sh#t.
  112. Install DSDTSE and run it (it`s under Application menu). Now click File -> Open .aml and select /Extra/dsdt.aml file. At right side of new window select Sound AZALIA and replace this section (from Device (AZAL) to new line above NAME (BUFA,.....)) with this code for your sound chip. (You can identify it under linux typing in terminal: cat /proc/asound/card0/codec#* | grep Codec).
  113. For ALC883 use code from 883_patch.txt, for ALC888b use code from 888b_patch.txt. Now click "Comile DSDT", wait ~20 sec, next windows appears, wait next 10-20 seconds for Finder windows. Drag&drop dsdt.aml from openned folder to /Extra and replace old one.
  114. Cross fingers and reboot.
  115. Now you have hacMac without sleep. If you want to enable sleep it`s a hardcore way to do this :D
  116. Follow steps below:
  117.  
  118. In _PTS section change content of If(LEqual(Arg0,0x05)) to:
  119. Store (One, \_SB.PCI0.PX40.AG3E)
  120. Store (Zero, SLPE)
  121. Sleep (0x10)
  122.  
  123. Remove Device (GIGE)
  124. Remove "GP9, 1," from OperationRegion (GPIO, SystemIO, 0x0800, 0x06)
  125. Add code after Device (PMIO):
  126. OperationRegion(LPC0, PCI_Config, 0xA4, 0x02)
  127. Field (LPC0, ByteAcc, NoLock, Preserve)
  128. {
  129. AG3E, 1
  130. }
  131.  
  132. Add code after Device (PCI0.EXPL):
  133. Device (MECEH)
  134. {
  135. Name (_HID, Eisald("APP0006"))
  136. Name (_GPE, 0x17)
  137. Name (_STA, 0x08)
  138. }
  139.  
  140. Search for first PCI0.USB3 and change to PCI0.UHC3
  141. In method _L0E change USB3 to UHC3
  142. Find Device (LPCB) and rename to Device (PX40)
  143. => Field (\_SB.PCI0.LPCB.PREV change to Field (\_SB.PCI0.PX40.PREV
  144. => Field (\_SB.PCI0.LPCB.PIRQ change to Field (\_SB.PCI0.PX40.PIRQ
  145. => Field (\_SB.PCI0.LPCB.PIR2 change to Field (\_SB.PCI0.PX40.PIR2
  146. => Field (\_SB.PCI0.LPCB.LPIO change to Field (\_SB.PCI0.PX40.LPIO
  147. Change OperationRegion (GPIO, SystemIO, 0x0800, 0x06) to OperationRegion (GPIO, SystemIO, 0x0800, 0x05) [0x06 to 0x05]
  148. Rename Device (USB3) to Device (UHC4)
  149. Rename Device (PRIM) to Device (PRT0)
  150. Rename Device (SECD) to Device (PRT1)
  151.  
  152.  
  153. Now compile DSDT, copy to /Extra and reboot ... if no sleep or compilation error just contact me - MAYBE I can help you.
  154. I also attached Apple File Merge tool - it`s useful tool to compare two DSL files (decompiles AML).
  155.  
  156.  
  157. **************************
  158. ** Whats works/what no? **
  159. **************************
  160. + 64bit mode
  161. + 32bit mode
  162. + Lan
  163. + GPU with QE/CL [9800GT]
  164. + WiFi
  165. + CPU
  166. + Reboot
  167. + Shutdown
  168. + Sleep!
  169. + USB (w/front)
  170. + Sound
  171. - iMon LCD in Antec Fusion Remote case
  172. - Build-in GPU - Intel GMA3100 (I naver searched for kexts to run it)
  173.  
  174.  
  175. *****************
  176. ** Author note **
  177. *****************
  178. I'm Polish so my language is not perfect but I hope that the guide would be helpful bcs I spent 21 hours testing many combinations on 10.6.5 and extra few hours to update instruction to be as perfect as possible with 10.6.6 ;)
  179. ...and extra few hours on DSDT ;p
  180. Feel free to contact me at grzegorz129@gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement