Jump to content

EP41-UD3L with 10.6


theBrave
 Share

22 posts in this topic

Recommended Posts

I mainly followed the tutorial at LifeHacker to get to an complete install.

 

Items needed:

  • An 8GB-or-bigger USB thumbdrive
  • A working machine with OSX 10.5 or latter
  • The SnowLeopard DVD Installer (It only cost 29 $/€, so buy it, plus you get an Apple sticker)
  • A working computer with the EP41-UD3L mainboard (duh)

Now, read the previous LifeHacker article.

 

What changes:

  • Don't use (yet) Chameleon for the boot file, I didn't manage to boot properly using the RC3
  • Don't use the 889 kext.
  • Stop doing what is says before "Final Tweaks"
  • When creating the bootable USB key, use my DSDT.aml file.

 

The DSDT.aml fixes:

  • That the settings are corrupted at each boot
  • That the sound pane hangs / Now the soundcard is maked as builtin
  • The ethernet card shoul now be built-in
  • Sleep

 

What you obtain:

  • Maybe problems with graphics
  • No sound
  • Lot of "CFGetHostUUIDString: unable to determine UUID for host. Error: 35" errors everytime you type something on the console

 

Then:

  • Using the exact same steps than for the USB key, I installed the same 10.1 EFI bootloader on the harddrive.
  • Copy my DSDT.aml to /Extra

 

Then:

Using EFI Studio, add the EFI strings for your graphic card in /Extra/com.apple.Boot.plist

 

This fixes (at least for me, Fanless nVidia 8600 GT 512 MB):

Video acceleration + OpenGL

 

Then:

Using Kext Utility, install the LegacyHDA from the zip file

I used ./series of LegacyHDA 888 (ALC888)/4outs2ins HDA headphone/LegacyHDA.kext

 

Now the sound shoud work

 

Then:

 

Now I need you for:

  • I'm pretty sure that futher edits to the DSDT file could solve the sound problem without Kext (The Kext only contains a .plist file)
  • I didn't had the DSDT file until the end, so thinks could work better than advertised, tell me so
Link to comment
Share on other sites

  • 2 months later...

I combined your guide with the others, and I wrote it down on my blog

http://isaantariksa.wordpress.com/2009/11/...rst-hackintosh/ ...

 

your DSDT works well .. i just put the LegacyHDA.kext at E/E to make sound works .. so the installation is fully vanilla, not touch anything on S/L/E ...

 

sleep works well .. but with the help of sleepenabler.kext

 

regards,

 

==== edited 23.01.2010

- change of the blog link

Link to comment
Share on other sites

hi fetos ...

did you also use his DSDT.aml ?

 

AFAIK DSDT.aml only = sound not working; AppleHDA.kext only = sound not working; DSDT.aml + AppleHDA.kext = sound working ..

 

Regards,

 

Somehow i can´t get the sound working :(

 

I used the kext you provided in your guide but i still can´t choose an output-devise

Link to comment
Share on other sites

Sorry, my bad .... I checked just now and it's LegacyHDA.kext here ... I mixed it up with my DG31PR configuration @office :P ..

 

these files inside E/E for EP41-UD3L

drwxr-xr-x@ 3 root admin 102 Nov 1 17:36 LegacyHDA.kext

drwxr-xr-x 3 root admin 102 Sep 28 02:18 NullCPUPowerManagement.kext

drwxr-xr-x 3 root admin 102 Aug 29 11:35 OpenHaltRestart.kext

drwxr-xr-x 3 root admin 102 Aug 29 11:35 PlatformUUID.kext

drwxr-xr-x 3 root admin 102 Nov 20 18:31 Sleepenabler.kext

drwxr-xr-x 3 root admin 102 Sep 12 17:09 fakesmc.kext

 

i guess my bios version is F4 .. not so sure about that ..

 

kind of strange with your condition ... already activate the sound @ BIOS ?

 

+++

 

Yes i used his dsdt.aml file, its still in the extras folder.

 

I used the linked LegacyHDA.kext, should i rename it to AppleHDA.kext ?

Link to comment
Share on other sites

OK, i installed it again and again, the most sucessfull installation is with empire efi 1.01. I have both sound and full graphics etc.

 

But i can´t boot from the harddrive. :(

I tried everything i could find but nothing works for me. :(

 

What bootloader are using on this mobo?

Link to comment
Share on other sites

Hmmmm strange enough for me ...

First thing first dude, after installing to harddisk have you installed any bootloader on harddisk ?

 

FYI I did try chameleon, PC-EFI and ES2L based bootloader all with success story ...

 

AFAIK you can boot from harddisk, if:

1. You set BIOS to boot from harddisk

2. You set boot sequence on BIOS correctly

3. Your harddisk have a bootloader

 

+++

 

OK, i installed it again and again, the most sucessfull installation is with empire efi 1.01. I have both sound and full graphics etc.

 

But i can´t boot from the harddrive. :P

I tried everything i could find but nothing works for me. :)

 

What bootloader are using on this mobo?

Link to comment
Share on other sites

  • 2 months later...
OK, i installed it again and again, the most sucessfull installation is with empire efi 1.01. I have both sound and full graphics etc.

 

But i can´t boot from the harddrive. ;)

I tried everything i could find but nothing works for me. :P

 

What bootloader are using on this mobo?

 

If you're still having problems with sound on the EP41-UD3L then try the 2 kexts in the first post in this forum:

http://www.insanelymac.com/forum/index.php?showtopic=188349

 

worked first time for me after everything else had failed!

Link to comment
Share on other sites

  • 3 months later...
Can you please tell me the other extensions you used. I cannot get sleep to work, one way or another...

 

Here they are :

/Extra

drwx------@ 8 root admin 272 Jan 28 15:10 .

drwxrwxr-t 35 root admin 1258 Jun 4 05:53 ..

-rw-r--r--@ 1 root wheel 14262 Nov 1 2009 DSDT.aml

drwxr-xr-x@ 10 root admin 340 Nov 21 2009 Extensions

-rw-r--r-- 1 root admin 87196 Nov 16 2009 Extensions.mkext

drwx------ 4 root admin 136 Nov 1 2009 Themes

-rw-r--r--@ 1 root admin 378 Nov 20 2009 com.apple.Boot.plist

 

/Extra/Extentions

drwxr-xr-x@ 3 root admin 102 Nov 1 2009 LegacyHDA.kext

drwxr-xr-x 3 root admin 102 Sep 28 2009 NullCPUPowerManagement.kext

drwxr-xr-x 3 root admin 102 Aug 29 2009 OpenHaltRestart.kext

drwxr-xr-x 3 root admin 102 Aug 29 2009 PlatformUUID.kext

drwxr-xr-x@ 3 root admin 102 Aug 17 2009 SleepEnabler.kext.10.6.2

drwxr-xr-x 3 root admin 102 Nov 20 2009 Sleepenabler.kext

drwxr-xr-x 3 root admin 102 Nov 16 2009 Sleepenabler.kext.10.6.1

drwxr-xr-x@ 3 root admin 102 Nov 21 2009 fakesmc.kext

 

I'm still using 10.6.2 ...

 

have you read my blog [http://isaantariksa.wordpress.com/2009/11/03/building-my-very-first-hackintosh/] ?

 

regards,

Link to comment
Share on other sites

  • 3 months later...
  • 4 weeks later...
  • 1 month later...

Done DSDT ( files dsdt.aml in attachment this post) for EP41-UD3L and MAC OS X 10.6 generation, make in program DSDT Auto-Patcher http://www.insanelymac.com/forum/index.php...amp;mode=linear

 

I have the same motherboard and this dsdt.aml works well on my mobo.

Description. This it's change, modification in DSDT, last modified Nov 4 - 2010 :

PATCH Gigabyte GA EP41-UD3L

by MaLd0n

 

DTGP

HID/CID

HPET

IRQs

RTC

SBUS

SHUTDOWN

EHCI

LPC

REMOVED DEVICES

_WAK

RENAMED DEVICES

These are not my changes, are made by MaLd0n.

 

Patch.txt ( last modified Nov 4 - 2010) :

# Add method DTGP to the main block, it's used by other patches

   #

   into method label DTGP remove_entry;

   into definitionblock code_regex . insert

   begin

   Method (DTGP, 5, NotSerialized)\n

   {\n

       If (LEqual (Arg0, Buffer (0x10)\n

               {\n

                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n

                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n

               }))\n

       {\n

           If (LEqual (Arg1, One))\n

           {\n

               If (LEqual (Arg2, Zero))\n

               {\n

                   Store (Buffer (One)\n

                       {\n

                           0x03\n

                       }, Arg4)\n

                   Return (One)\n

               }\n

               If (LEqual (Arg2, One))\n

               {\n

                   Return (One)\n

               }\n

           }\n

       }\n

       Store (Buffer (One)\n

           {\n

               0x00\n

           }, Arg4)\n

       Return (Zero)\n

   }

   end;

   # EHCI fix

   #

   into method label _DSM parent_adr 0x001D0007 remove_entry;

   into device name_adr 0x001D0007 insert

   begin

   Method (_DSM, 4, NotSerialized)\n

                   {\n

                       Store (Package (0x0C)\n

                           {\n

                               "AAPL,current-available", \n

                               0x05DC, \n

                               "AAPL,current-extra", \n

                               0x04B0, \n

                               "AAPL,current-in-sleep", \n

                               0x09C4, \n

                               "device-id", \n

                               Buffer (0x04)\n

                               {\n

                                   0x3A, 0x3A, 0x00, 0x00\n

                               }, \n

                               "AAPL,clock-id", \n

                               Buffer (One)\n

                               {\n

                                   0x01\n

                               }, \n

                               "device_type", \n

                               Buffer (0x05)\n

                               {\n

                                   "EHCI"\n

                               }\n

                           }, Local0)\n

                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n

                       Return (Local0)\n

                   }

   end;

   into method label _DSM parent_adr 0x001A0007 remove_entry;

   into device name_adr 0x001A0007 insert

   begin

   Method (_DSM, 4, NotSerialized)\n

                   {\n

                       Store (Package (0x0C)\n

                           {\n

                               "AAPL,current-available", \n

                               0x05DC, \n

                               "AAPL,current-extra", \n

                               0x04B0, \n

                               "AAPL,current-in-sleep", \n

                               0x09C4, \n

                               "device-id", \n

                               Buffer (0x04)\n

                               {\n

                                   0x3C, 0x3A, 0x00, 0x00\n

                               }, \n

                               "AAPL,clock-id", \n

                               Buffer (One)\n

                               {\n

                                   0x02\n

                               }, \n

                               "device_type", \n

                               Buffer (0x05)\n

                               {\n

                                   "EHCI"\n

                               }\n

                           }, Local0)\n

                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n

                       Return (Local0)\n

                   }

   end;

   into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;

   # Change methods _STA and _CRS into device HPET (to avoid AppleIntelCPUPowerManagement panic)

   #

   into method label _STA parent_hid PNP0103 remove_entry;

   into device name_hid PNP0103 insert

   begin

   Method (_STA, 0, NotSerialized)\n

   {\n

       Return (0x0F)\n

   }

   end;

   into method label _CRS parent_hid PNP0103 remove_entry;

   into device name_hid PNP0103 insert

   begin

   Method (_CRS, 0, NotSerialized)\n

   {\n

       Return (ATT3)\n

   }

   end;

   # Remove IRQs from devices PIC, RTC and TMR, and add IRQs to device HPET

   #

   into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;

   into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;

   into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;

   into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched

   begin

   Name (%1, ResourceTemplate ()\n

                       {\n

                           IRQNoFlags ()\n

                               {0}\n

                           IRQNoFlags ()\n

                               {8}\n

   %2

   })

   end;

   # Insert device LAN0 into device with _ADR 0x001C0004

   #

   into device name_adr Zero parent_adr 0x001C0004 remove_entry;

   into device name_adr 0x001C0004 insert

   begin

   Device (LAN0)\n

   {\n

       Name (_ADR, Zero)\n

       Method (_DSM, 4, NotSerialized)\n

       {\n

           Store (Package (0x04)\n

           {\n

               "built-in",\n

               Buffer (One)\n

               {\n

                   0x01\n

               },\n

               "location", \n

               Buffer (0x02)\n

               {\n

                   "1"\n

               }\n

           }, Local0)\n

           DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n

           Return (Local0)\n

       }\n

   }

   end;

   # Change ID of device with _ADR 0x001F0000 (LPC)

   #

   into method label _DSM parent_adr 0x001F0000 remove_entry;

   into device name_adr 0x001F0000 insert

   begin

   Method (_DSM, 4, NotSerialized)\n

   {\n

       Store (Package (0x02)\n

           {\n

               "device-id", \n

               Buffer (0x04)\n

               {\n

                   0xb9, 0x27, 0x00, 0x00\n

               }\n

           }, Local0)\n

       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n

       Return (Local0)\n

   }

   end;

   into device label SPKR remove_entry;

   into device label FDC remove_entry;

   into device label FDC0 remove_entry;

   into device label LPT1 remove_entry;

   into device label LPTE remove_entry;

   into device label UAR1 remove_entry;

   into device label UAR2 remove_entry;

   into device label ECP1 remove_entry;

   into device label PEX3.JMB0 remove_entry;

   into device label PEX3.JMB1 remove_entry;

   into device label PEX1.JMB0 remove_entry;

   into device label PEX1.JMB1 remove_entry;

   into device label MEM remove_entry;

   into device label ^^RMEM remove_entry;

   into all code_regex Notify\s\(\\_SB.PCI0.PX40.UAR1,\s0x02\) remove_matched;

   into all code_regex Notify\s\(\\_SB.PCI0.LPCB.UAR1,\s0x02\) remove_matched;

   into all code_regex Notify\s\(\\_SB.PCI0.PX40.UAR2,\s0x02\) remove_matched;

   into all code_regex Notify\s\(\\_SB.PCI0.LPCB.UAR2,\s0x02\) remove_matched;

   into device label FWH set_label begin FWHD end;

   into device label MCH set_label begin MCEH end;

   into device label PIC set_label begin IPIC end;

   into device label DMA1 set_label begin DMAC end;

   into device label TMR set_label begin TIMR end;

   into device label RTC0 set_label begin RTC end;

   into device label COPR set_label begin MATH end;

   into device label OMSC set_label begin LDRC end;

   into device label IDE1 set_label begin SATA end;

   into device label CHN0 set_label begin PRT0 end;

   into device label CHN1 set_label begin PRT1 end;

   into device label USB0 set_label begin UHC1 end;

   into device label USB1 set_label begin UHC2 end;

   into device label USB2 set_label begin UHC3 end;

   into device label US31 set_label begin UHC4 end;

   into device label USB4 set_label begin UHC5 end;

   into device label USB5 set_label begin UHC6 end;

   into device label USBE set_label begin EHC1 end;

   into device label USE2 set_label begin EHC2 end;

   into device label PX40 set_label begin LPCB end;

   into_all all code_regex DMA1 replaceall_matched begin DMAC end;

   into_all all code_regex TMR replaceall_matched begin TIMR end;

   into_all all code_regex RTC0 replaceall_matched begin RTC end;

   into_all all code_regex COPR replaceall_matched begin MATH end;

   into_all all code_regex OMSC replaceall_matched begin LDRC end;

   into_all all code_regex CHN0 replaceall_matched begin PRT0 end;

   into_all all code_regex CHN1 replaceall_matched begin PRT1 end;

   into_all all code_regex PX40 replaceall_matched begin LPCB end;

   into_all all code_regex USB0 replaceall_matched begin UHC1 end;

   into_all all code_regex USB1 replaceall_matched begin UHC2 end;

   into_all all code_regex USB2 replaceall_matched begin UHC3 end;

   into_all all code_regex US31 replaceall_matched begin UHC4 end;

   into_all all code_regex USB4 replaceall_matched begin UHC5 end;

   into_all all code_regex USB5 replaceall_matched begin UHC6 end;

   into_all all code_regex USBE replaceall_matched begin EHC1 end;

   into_all all code_regex USE2 replaceall_matched begin EHC2 end;

   into device name_adr 0x001E0000 set_label

   begin

   PCIB

   end;

   into_all all code_regex HUB0 replaceall_matched

   begin

   PCIB

   end;

   # Change the length of IO segment in device RTC to 0x02 (fix CMOS reset)

   #

   into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;

   # Insert device SBUS into device PCI0

   #

   into device name_adr 0x001F0003 parent_label PCI0 remove_entry;

   into device label PCI0 insert

   begin

   Device (SBUS)\n

   {\n

       Name (_ADR, 0x001F0003)\n

       Device (BUS0)\n

       {\n

           Name (_CID, "smbus")\n

           Name (_ADR, Zero)\n

           Device (DVL0)\n

           {\n

               Name (_ADR, 0x57)\n

               Name (_CID, "diagsvault")\n

           }\n

       }\n

       Method (_DSM, 4, NotSerialized)\n

       {\n

           Store (Package (0x02)\n

               {\n

                   "device-id", \n

                   Buffer (0x04)\n

                   {\n

                       0x30, 0x3A, 0x00, 0x00\n

                   }\n

               }, Local0)\n

           DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n

           Return (Local0)\n

       }\n

   }

   end;

   # Change method _PTS where Arg0 is 0x05 (shutdown)

   #

   into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched

   begin

   %1

               Store (Zero, SLPE)\n

               Sleep (0x10)\n

   %2

   end;

   into method label \_PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched

   begin

   %1

               Store (Zero, SLPE)\n

               Sleep (0x10)\n

   %2

   end;

   into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert

   begin

   OperationRegion (PMRS, SystemIO, 0x0430, One)\n

   Field (PMRS, ByteAcc, NoLock, Preserve)\n

   {\n

           ,   4, \n

       SLPE,   1\n

   }

   end;

   # Insert return into method _WAK to fix warning

   # (for Gigabyte motherboards)

   #

   into method label _WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;

   into method label _WAK insert

   begin

   Return (Package (0x02)\n

   {\n

       Zero, \n

       Zero\n

   })

   end;

   into method label \_WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;

   into method label \_WAK insert

   begin

   Return (Package (0x02)\n

   {\n

       Zero, \n

       Zero\n

   })

   end

dsdt.aml.zip

dsdt.zip

Edited by hackintosh1984
Link to comment
Share on other sites

  • 1 month later...

Edited @05:51 PM:

confirmed ... dsdt works.

Sleep/wake, restart, shutdown all ok

still need LegacyHDA.kext in E/E for sound [i already patched AppleHDA.kext in /S/L/E so I don't know is there any relation this dsdt with an intact AppleHDA.kext in terms of working sound]

 

Now I have to learn how to activate speedstep in this rig and also have another rig @office to update [intel DG31PR].

 

Thanks a lot,

 

+++sai sends

 

===========

@05:03 PM

 

Hola MaLd0n,

 

I'll try your dsdt later today when the kids ceased using the rig .... currently I'm still trying to get under the hood of DSDT [to understand many new things ... hix ..]

 

Regards,

 

+++sai sends

 

with some corrections

DSDT_Auto_Patcher_GA_EP41_UD3L.zip

OP REG LPCB

AZAL to HDEF

ALC888

DTGP

IRQs

HPET

LAN0

RENAMED DEVICES

SMBUS

EHCI

RTC

SHUTDOWN

MCEH

REMOVED DEVICES

WAK

dsdt.GA_EP41_UD3L.zip

Link to comment
Share on other sites

Hi,

thanks for sending me those files but frankly I'm quite satisfy with the current working setting ... which is:

 

* dsdt from you

* fakesmc.kext [from myhack1.1] and legacyHDA.kext at E/E

* patch /S/L/E/AppleHDA.kext coz Apple dropped support for ALC888 [makes my config not vanilla anymore]

 

# sleep/wake working, audio working

 

Just like a quote "don't change the winning team" .... :D

 

Regards,

 

+++sai sends

 

sound

try it

ALC888.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...