- Joined
- Mar 25, 2014
- Messages
- 5
- Mac
- Classic Mac
- Mobile Phone
When it comes to DSDT my brain is a block of swiss cheese and my intention with this post is to fill those holes with a much firmer understanding of how DSDT works... and of course get my machine running OSX in a stable like fashion.
From what I understand there are plenty of patches available that one can use but the dilemma is that you got to have an exact motherboard on the list for which the DSDT Patch was made for. Right now I have to make the best with what I have and cant go buy compatible hardware but I've been told in the forums that this thing has a chance.
I'm, rocking this thing...
The Gateway SX2801-07e
Intel Pentium E5700
6GB DDR3 RAM
I don't believe I'm going to be finding any patches for this specific motherboard which I believe is: DIG43L/GREYHOUND GATEWAY SX2801-07E LGA775
So I would imagine that means I've go some DSDT editing w/o using patches to make everything work...right?
Thats where nothing makes sense... I'm beginning to become familiar with what the code looks like from staring at it long enough, but I have barely begun to really grasp how the devices plug into this code in the DSDT.
From what I understand you have to figure where the device is in the code and then add new code to make it work... is that considered a patch?
What doesn't make sense is all these device Ids like HDEF, DTGP,PEX0 and sooooo many more in addition to all the numbers and x's that make no logical sense to me at this point... this is like learning a new language... what does it all mean and how does it all come together?
So here is where I am at.
I already have OSX 10.9 Installed...
I managed to get ethernet working with an AppleIntelE1000e.kext
I understand that integrated Intel GMA X4500 will not work so I will be installing a Geforce 210 once I get an HDMI connector so I can take it out of my windows machine and put a bigger card in that one bringing the low profile Geforce 210 card into this machine. I tested it to fit and work OOB. of course I don't know how to test if the QE/CI, whatever it's called is working.
Now for everything else...
here is quick shot of my lspci output:
Currently I get 7 warnings when I compile/extract my dsdt.. I posted about them on another forum and was told that it was no big deal.
My next step right now is to get audio working.
What I'm working with is this:
I found this guide right here that seems to have the solution of enabling this device through adding this code below to my DSDT followed by installing a customized AppleHDA.kext.
For starters what does this code even mean?
What are all of these 0x00's and similar number sequences?
The guide says to "edit DSDT pointing to 12 (hex 0C) layout ID, as on the HDEF text file attached"... The HDEF text file being the above code.
What is 12 (hex 0C)? what is lay out ID?
What I have done up to this point is attempted to paste this HDEF text into my extracted DSDT right in between Device (P0P4) and Device (P0P5)... the only understanding of why is because thats what the guy who wrote the guide did on his DSDT that he shared in the guide.
So when I go to compile and save this to test if it will work I get 9 errors instead 7 warnings and it refuses to let me save...
I've tried both DSDTSE and MAciASL
It looks like this:
So that is as detailed as I can get as to my status with hackintoshing, I really want to learn this! I have to work with what I got since I cant go buy new parts right now.
I appreciate you taking the time to read this long thread and consider helping figure this out and wrap my head around DSDT editing. I have a feeling this stuff is easy once you've pulled your hair out long enough trying to make things work.
Thanks a Ton for your future help!
From what I understand there are plenty of patches available that one can use but the dilemma is that you got to have an exact motherboard on the list for which the DSDT Patch was made for. Right now I have to make the best with what I have and cant go buy compatible hardware but I've been told in the forums that this thing has a chance.
I'm, rocking this thing...
The Gateway SX2801-07e
Intel Pentium E5700
6GB DDR3 RAM
I don't believe I'm going to be finding any patches for this specific motherboard which I believe is: DIG43L/GREYHOUND GATEWAY SX2801-07E LGA775
So I would imagine that means I've go some DSDT editing w/o using patches to make everything work...right?
Thats where nothing makes sense... I'm beginning to become familiar with what the code looks like from staring at it long enough, but I have barely begun to really grasp how the devices plug into this code in the DSDT.
From what I understand you have to figure where the device is in the code and then add new code to make it work... is that considered a patch?
What doesn't make sense is all these device Ids like HDEF, DTGP,PEX0 and sooooo many more in addition to all the numbers and x's that make no logical sense to me at this point... this is like learning a new language... what does it all mean and how does it all come together?
So here is where I am at.
I already have OSX 10.9 Installed...
I managed to get ethernet working with an AppleIntelE1000e.kext
I understand that integrated Intel GMA X4500 will not work so I will be installing a Geforce 210 once I get an HDMI connector so I can take it out of my windows machine and put a bigger card in that one bringing the low profile Geforce 210 card into this machine. I tested it to fit and work OOB. of course I don't know how to test if the QE/CI, whatever it's called is working.
Now for everything else...
here is quick shot of my lspci output:
Matts-iMac:~ Matt$ lspci -nnpcilib: 0000:00:02.0 64-bit device address ignored.
00:00.0 Host bridge [0600]: Intel Corporation 4 Series Chipset DRAM Controller [8086:2e20] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e23] (rev 03)
00:19.0 Ethernet controller [0200]: Intel Corporation 82567V-2 Gigabit Network Connection [8086:10ce]
00:1a.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 [8086:3a37]
00:1a.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 [8086:3a38]
00:1a.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 [8086:3a39]
00:1a.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 [8086:3a3c]
00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e]
00:1c.0 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 [8086:3a40]
00:1d.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 [8086:3a34]
00:1d.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 [8086:3a35]
00:1d.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 [8086:3a36]
00:1d.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 [8086:3a3a]
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 90)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIB (ICH10) LPC Interface Controller [8086:3a18]
00:1f.2 SATA controller [0106]: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller [8086:3a22]
00:1f.3 SMBus [0c05]: Intel Corporation 82801JI (ICH10 Family) SMBus Controller [8086:3a30]
01:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6315 Series Firewire Controller [1106:3403]
Matts-iMac:~ Matt$
Currently I get 7 warnings when I compile/extract my dsdt.. I posted about them on another forum and was told that it was no big deal.
My next step right now is to get audio working.
What I'm working with is this:
00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e]
I found this guide right here that seems to have the solution of enabling this device through adding this code below to my DSDT followed by installing a customized AppleHDA.kext.
Device (HDEF) {
Name (_ADR, 0x001B0000) // _ADR: Address
Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
{
Return (Package (0x02)
{
0x0D,
0x05
})
}
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package (0x06)
{
"layout-id",
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},
"platformFamily",
Buffer (One)
{
0x00
},
"PinConfigurations",
Buffer (Zero) {}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
For starters what does this code even mean?
What are all of these 0x00's and similar number sequences?
The guide says to "edit DSDT pointing to 12 (hex 0C) layout ID, as on the HDEF text file attached"... The HDEF text file being the above code.
What is 12 (hex 0C)? what is lay out ID?
What I have done up to this point is attempted to paste this HDEF text into my extracted DSDT right in between Device (P0P4) and Device (P0P5)... the only understanding of why is because thats what the guy who wrote the guide did on his DSDT that he shared in the guide.
So when I go to compile and save this to test if it will work I get 9 errors instead 7 warnings and it refuses to let me save...
I've tried both DSDTSE and MAciASL
It looks like this:
Intel ACPI Component ArchitectureASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 6976: If (SS1)
Error 4096 - syntax error, unexpected PARSEOP_IF ^
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7020: \_SB.PCI0.SBRG.SIOS (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOS)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7021: \_SB.PCI0.NPTS (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.NPTS)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7022: \_SB.PCI0.SBRG.SPTS (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.SBRG.SPTS)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7023: \_SB.PCI0.GFX0.OPTS (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.GFX0.OPTS)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7029: \_SB.PCI0.SBRG.SIOW (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOW)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7030: \_SB.PCI0.NWAK (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.NWAK)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7031: \_SB.PCI0.SBRG.SWAK (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.SBRG.SWAK)
/Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7032: \_SB.PCI0.GFX0.OWAK (Arg0)
Error 4064 - Object does not exist ^ (\_SB.PCI0.GFX0.OWAK)
ASL Input: /Users/Matt/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 7037 lines, 226511 bytes, 3146 keywords
Compilation complete. 9 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
So that is as detailed as I can get as to my status with hackintoshing, I really want to learn this! I have to work with what I got since I cant go buy new parts right now.
I appreciate you taking the time to read this long thread and consider helping figure this out and wrap my head around DSDT editing. I have a feeling this stuff is easy once you've pulled your hair out long enough trying to make things work.
Thanks a Ton for your future help!