Jump to content

GA-EX58 and GA-X58A DSDT native power management modifications


  • Please log in to reply
1466 replies to this topic

#621
x.di

x.di

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts

Forgive my ignorance, but can I ask, what are the advantages of patching the bios to make the hardware appear more mac like, as opposed to doing the same with DSDT patches, and the bootloader?
Cheers
Jon


Just another way of doing things :(

#622
ANARCHiNTOSH

ANARCHiNTOSH

    Loldermort!!!!

  • Members
  • PipPipPipPip
  • 221 posts

Short tutorial how to patch the binary of applehda - necessary if you want to use applehda.kext 10.6.3 with legacy kext and dsdt patch if you have alc888 or alc889 audio codec (not necessary if you have alc889a codec):

download hexfiend Hex Editor - copy applehda 10.6.3 to your desktop - right click it - show package contents and go to the folder /Contents/MacOS
then open the applehda binary file located in this folder with hexfiend

for alc888

Search for 8508ec10 and replace with 8808ec10 (all 4 instances)

for Alc889

Search for 8508ec10 and replace with 8908ec10 (all 4 instances)

for AD2000B

Search for 8B19D411 and replace with 9B98D411 (all 4 instances)


Save the file and copy the binpatched applehda.kext into /System/Library/Extensions

I strongly recommend running Contis fix script v. 30.0 to fix perms and clear caches before rebooting.

get it at osx86.sojugarden.com/2010/03/pfix-v3-0-released/

Remember that you have to redo this if Apple releases a new applehda.kext

You can download the binary patched applehda 10.63 at kexts.com too


i am really tempted to update my AppleHDA patcher to do this, rather than just replace the plists of AppleHDAHardwareConfigDriver.kext and AppleHDAPlatformDriver.kext

find & replace of standard text is really easily done using sed/awk in bash,
but i need an app that can compile/decompile the binary, (like iaslme does for dsdt)
rather than an unscriptable editor like hexfiend......

i have found http://trac.macports...rs/bbe/Portfile
which might do the job, but unfortunatly does away with sed/awk.
could someone could point me to any other apps that would do that (commandline or graphical)

#623
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 790 posts
  • Gender:Not Telling
Any idea why some of my hardmounted HDD's (second and the third one) are shown as ejectable?

Thanks. :)

#624
alepus

alepus

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

Any idea why some of my hardmounted HDD's (second and the third one) are shown as ejectable?

Thanks. ^_^


cause they are ejectable?
sata drives usually are.

#625
morganpl

morganpl

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts

Any idea why some of my hardmounted HDD's (second and the third one) are shown as ejectable?

Thanks. ^_^


Hello>> This<< thread explains everything.

#626
christosks

christosks

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
hi to all my system is
core i7 920 2.67
ga ex58 ud3r rev 1.6 bios f1
3gb ddr3
sapphire radeon hd 4870 2gb ddr5
wd 1tb

i am trying a hole mounth to put mac on my pc and the only thing ive done is to put iatkos v7 but with a lot of problems such as no graphic card, low memory, boot only with -x, and no sound
i have read a lot of how to but i think my motherboard is awful.
Can anyone please tell me if my system supports mac???
i read alot post from you in these section but i dont understand anything (sorry for that)
if anyone can help me feel free to do thanks in advance

#627
Lenya0

Lenya0

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Please, can anybody give me a dsdt for Core i7 920, GA-X58A-UD3R? On the 22 page there is a dsdt for my processor and my motherboard, but i think that my system work not fast with this dsdt and i get kernel panic if my processor works on non-default frequency.

sorry, bad english

#628
morganpl

morganpl

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts

hi to all my system is
core i7 920 2.67
ga ex58 ud3r rev 1.6 bios f1
3gb ddr3
sapphire radeon hd 4870 2gb ddr5
wd 1tb

i am trying a hole mounth to put mac on my pc and the only thing ive done is to put iatkos v7 but with a lot of problems such as no graphic card, low memory, boot only with -x, and no sound
i have read a lot of how to but i think my motherboard is awful.
Can anyone please tell me if my system supports mac???
i read alot post from you in these section but i dont understand anything (sorry for that)
if anyone can help me feel free to do thanks in advance

Hi, I would recommend>>  This<<thread according to instructions (Post 1) you should be a working stable system, the fun later in the DSDT file (d00d's post and all men thrust a good job here.) Remember that the system got up without a KP absolutely need to have two kexty NullCPUPowerManagement.kext and fakesmc.kext - digital_dreamer is best explained in his post, quote:

All that's really needed is a boot into OS X on this board is a disabler (or e Disabler.kext NullCPUPowerManagement.kext.), and Decryptor (ie fakesmc.kext or dsmos.kext) and graphics support. If your card is Apple makes them available, then it Should work OOTB or with EFI strings. That's it. Everything else are little fixes for reporting hardware, updated device ID, audio, network, etc.. In my case, the I also needed ATY_init.kext for ATI graphic card support, as without it I just got a video corruption and could not see the desktop.

and as D00d writes:

ElliottForceLegacyRTC.kext to not reset the CMOS


All you need is:
- Working OS> any distro (I recommend a try even Kalyway 10.5.7, iDeneb etc.)
- Purchased the Snow Leopard install disc and combo update from Apple's website,
- Digital_dreamer script KLIK HERE
- A lot of patience
Read, read and read again, learning gained by posing the first system will be useful in the future.
Sorry for my English!

#629
aschar1

aschar1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
No need for a {censored} Distro. you can use my boot 132 cd to boot the Retail Snow DVD. Download it at http://www.mediafire...php?dum2ndzluog. Just burn it at slow speed. Then boot your PC from the CD -wait 30 seconds after you see the bootscreen - change the CD to Retail Snow DVD - wait 30 seconds again and then press F5.
(this boot CD needs USB Keyboard and Mouse, Sata DVD and HDD)

Also Digital Dreamers Script is not needed. I strongly recommend to get Contis Myhack installer Final 1.0 at sojugarden.com or kexts.com. This installs a modded chameleon bootloader (asere s version) without pciroot auto detect- the installer sets proper pciroot value and installs a legacy applertc32.kext to prevent cmos reset until you have your DSDT patched.

Also it installs pfix script to fix permissions and rebuilds caches, sets owner of root to root - to prevent kextd issues. After installing kexts (manually put them in /System/Library/Extensions or /Extra/Extensions - just open terminal.app and type pfix.

#630
morganpl

morganpl

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
------------------------ SORRY OT! --------------------------

No need for a {censored} Distro....


Of course, you're right but this is his first installation, and it is highly likely that it kills a few times before you put the system at the end of a stable (though planned fun with  DSDT). Distro I suggested that in case of damage to the system does not need to install it from scratch. How any of this will begin at the beginning has a lot to learn. Okay, stop because it serves no useful purpose.

------------------------ SORRY OT! --------------------------

#631
elitee

elitee

    InsanelyMac Protégé

  • Members
  • PipPip
  • 99 posts
Here is a SSDT table from an i7-930, not overclocked, no DSDT, only fakesmc and NullCPU and Elliott's kext to prevent CMOS reset. If you still need it! Added .txt at the end of the file to upload.

Attached Files



#632
hanzoh

hanzoh

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
  • Gender:Male
Hi,

can anybody recommend a WiFi PCI card that is fully 100% OOB compatible with 10.6.3 on an i7 system (with correct Power Management etc)?

Thanks

#633
zoob

zoob

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts

UPDATE!
EX58-EXTREME (F12)
this bios has patched Facp. (credits for Facp go to BSoD)
No need for any restart fixes or evoreboot and similar!
Test and write your feedback -_-


After successfully flashing my EP45-UD3L with Catri's BIOS, I'm going to give yours a try.
I have an EX58-UD5 which is the same board minus the branding, so this will be interesting :D

If you do have time, I'd be very interested in your guide demonstrating how we can modify our own Gigabyte BIOS tables.

Thanks

#634
George Ramos

George Ramos

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
  • Gender:Male
  • Location:New York City

After successfully flashing my EP45-UD3L with Catri's BIOS, I'm going to give yours a try.
I have an EX58-UD5 which is the same board minus the branding, so this will be interesting -_-

If you do have time, I'd be very interested in your guide demonstrating how we can modify our own Gigabyte BIOS tables.

Thanks


[GUIDE] Gigabyte GA-EX58-UD3R 10.6.2 Snow Leopard (Empire EFI), *WORK IN PROGRESS* Collection of Guides and needed tools

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







[GUIDE]- Gigabyte GA-EX58-UD3R/ Core i7 920 / iAtkos v7

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







(GUIDE) Gigabyte GA EX58 UD3R for Snow Leopard using (Empire EFI CD)

http://www.infinitemac.com/f57/guide-gigabyte-ga-ex58-ud3r-for-snow-leopard-t4892



#635
zoob

zoob

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts
Well, I crossflashed my EX58-UD5 to the EX58-EXTREME, then flashed to x.di's BIOS.

Took a bit of wrangling but I managed to get it working:

Had to:
0. Initially boot with flags -v -f -F PciRoot=1 PCIRootUID=1 GraphicsEnabler=Yes
1. Remove my /S/L/Caches/com.apple.kext.caches/Startup/Extensions.mkext
2. Rewrite my /E/com.apple.Boot.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Kernel</key>
	<string>mach_kernel</string>
	<key>Kernel Flags</key>
	<string></string>
	<key>PciRoot</key>
	<string>1</string>
	<key>Timeout</key>
	<string>3</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
</dict>
</plist>
3. Delete /Library/Preferences/com.apple.keyboardtype.plist to redetect my keyboard

Now to fix my EFI Strings so that I can get my dual GTX285 working again.

Just like with the catri method, I have only:
fakesmc.kext, LegacyHDA.kext, JMicronATA.kext

Left to tweak: Orange drive icons, Speed Step, Autosleep still seems to be broken, but could be due to the jmicron(?)

EDIT:
Looks like the bottom NIC port is broken, even though it detects in SL Network preferences pane.
EDIT2:
Fixed the NIC with the CMOS clear trick in post 1

#636
MasterLen

MasterLen

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Location:Berlin
Hey guys,

I don't have this option in Energy Saver: "Start up automatically after power failure"

What can I do to have it back in Energy Saver?

Thanks

#637
peach-os

peach-os

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,286 posts
  • Location:lago di constanza

Hey guys,

I don't have this option in Energy Saver: "Start up automatically after power failure"

What can I do to have it back in Energy Saver?

Thanks


AppleLPC.kext is not loaded. you can solve it with the correct ID in DSDT or editing the plist file in the kext.

#638
ANARCHiNTOSH

ANARCHiNTOSH

    Loldermort!!!!

  • Members
  • PipPipPipPip
  • 221 posts

Left to tweak: Orange drive icons


You can fix this with OrangeIconFix.kext in Extra/Extensions

Attached Files



#639
aschar1

aschar1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
Here is the Scope _PR section with C-States and P-states for a Core i7 930 (use the attached file to copy and paste from). 930 has 11 P-states (920 has 10). C-states are the same.
[codebox]Processor (\_PR.CPU0, 0x00, 0x00000410, 0x06)
{
Name (_CST, Package (0x07)
{
0x06,
Package (0x04)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x01, // Bit Width
0x02, // Bit Offset
0x0000000000000000, // Address
0x01, // Access Size
)
},

One,
One,
0x03E8
},

Package (0x04)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x01, // Bit Width
0x02, // Bit Offset
0x0000000000000010, // Address
0x01, // Access Size
)
},

0x02,
0x40,
0x01F4
},

Package (0x04)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x01, // Bit Width
0x02, // Bit Offset
0x0000000000000020, // Address
0x01, // Access Size
)
},

0x03,
0x60,
0x015E
},

Package (0x04)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
},

One,
One,
0x03E8
},

Package (0x04)
{
ResourceTemplate ()
{
Register (SystemIO,
0x08, // Bit Width
0x00, // Bit Offset
0x0000000000000414, // Address
,)
},

0x02,
0x40,
0x01F4
},

Package (0x04)
{
ResourceTemplate ()
{
Register (SystemIO,
0x08, // Bit Width
0x00, // Bit Offset
0x0000000000000415, // Address
,)
},

0x03,
0x60,
0x015E
}
})
Name (_PCT, Package (0x02)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x40, // Bit Width
0x00, // Bit Offset
0x0000000000000199, // Address
,)
},

ResourceTemplate ()
{
Register (FFixedHW,
0x10, // Bit Width
0x00, // Bit Offset
0x0000000000000198, // Address
,)
}
})
Name (_PSS, Package (0x0B)
{
Package (0x06)
{
0x0AEA,
0x0001FBD0,
0x0A,
0x0A,
0x16,
0x16
},

Package (0x06)
{
0x0AE9,
0x0001FBD0,
0x0A,
0x0A,
0x15,
0x15
},

Package (0x06)
{
0x0A64,
0x0001A9C8,
0x0A,
0x0A,
0x14,
0x14
},

Package (0x06)
{
0x09DF,
0x000186A0,
0x0A,
0x0A,
0x13,
0x13
},

Package (0x06)
{
0x095A,
0x00014438,
0x0A,
0x0A,
0x12,
0x12
},

Package (0x06)
{
0x08D5,
0x000128E0,
0x0A,
0x0A,
0x11,
0x11
},

Package (0x06)
{
0x0850,
0xF618,
0x0A,
0x0A,
0x10,
0x10
},

Package (0x06)
{
0x07CB,
0xDEA8,
0x0A,
0x0A,
0x0F,
0x0F
},
Package (0x06)
{
0x0746,
0xCB20,
0x0A,
0x0A,
0x0E,
0x0E
},
Package (0x06)
{
0x06C1,
0xA7F8,
0x0A,
0x0A,
0x0D,
0x0D
},

Package (0x06)
{
0x063C,
0x9C40,
0x0A,
0x0A,
0x0C,
0x0C
}
})
Method (_PPC, 0, NotSerialized)
{
Return (Zero)
}
}

Processor (\_PR.CPU1, 0x01, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU2, 0x02, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU3, 0x03, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU4, 0x04, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU5, 0x05, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU6, 0x06, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU7, 0x07, 0x00000410, 0x06)
{
Alias (\_PR.CPU0._CST, _CST)
Alias (\_PR.CPU0._PCT, _PCT)
Alias (\_PR.CPU0._PSS, _PSS)
Alias (\_PR.CPU0._PPC, _PPC)
}

Processor (\_PR.CPU8, 0x08, 0x00000410, 0x06) {}
Processor (\_PR.CPU9, 0x09, 0x00000410, 0x06) {}
Processor (\_PR.CPUA, 0x0A, 0x00000410, 0x06) {}
Processor (\_PR.CPUB, 0x0B, 0x00000410, 0x06) {}
Processor (\_PR.CPUC, 0x0C, 0x00000410, 0x06) {}
Processor (\_PR.CPUD, 0x0D, 0x00000410, 0x06) {}
Processor (\_PR.CPUE, 0x0E, 0x00000410, 0x06) {}
Processor (\_PR.CPUF, 0x0F, 0x00000410, 0x06) {}
}
[/codebox]

Attached Files



#640
Rankrotten

Rankrotten

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Location:UK
That's great, aschar1. I'll paste that into my DSDT shortly and see if I can do without NullCPUPowerManagement.kext for my i7 930.

Currently using in extras:
fakesmc
IOAHCIBlockStrageInjector
LegacyHDA
NullCPUPowerManagement
OpenHaltRestart
SleepEnabler

Let's see what I can do without!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy