InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 11-20-2009, 08:48 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
Still not working

I think my DSDT might be wrong somehow, I don't see any devices in Profiler->Audio, just the device id and layout id (both are correct).

it says Devices: but the listing is blank.

Vanilla AppleHDA.kext is failing to load.

Code:
            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
I tried adding the codec-id in there and increasing Store(Package) size to 0x08 but that didn't help either :/
Reply With Quote
  #2  
Old 11-20-2009, 09:01 PM
dan10 dan10 is offline
Cheetah
 
Join Date: Nov 2009
Posts: 4
So you put the legacyHDA.kext in Extra and rebuild the extensions.mkext reboot and still nothing, that's odd.
Did you add this to your DSDT? DTGP code, read The King's guide, you probably did because the compiler would complain if you didn't.
http://www.projectosx.com/forum/inde...topic=465&st=0

Are you using Chameleon? what version is it?

Last edited by dan10; 11-20-2009 at 09:05 PM.
Reply With Quote
  #3  
Old 11-20-2009, 09:17 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
Yeah I did all that, I'm using Chameleon 2.0RC1. I'll see if there's a later version..
Reply With Quote
  #4  
Old 11-20-2009, 10:07 PM
mormegil mormegil is offline
Panther
 
Join Date: Aug 2009
Posts: 148
update to netkas's pc-efi 10.5 bootloader

Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard
Reply With Quote
  #5  
Old 11-20-2009, 10:29 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
I noticed I don't have anything pointing to AZAL or HDEF in the _GPE section of the DSDT. Could this be the problem?

eg: http://www.insanelymac.com/forum/ind...owtopic=184692

there the guy has:

Code:
        Method (_L05, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.HDEF, 0x02)
        }
whereas my _GPE section looks like:

Code:
    Scope (_GPE)
    {
        Method (_L00, 0, NotSerialized)
        {
            Notify (\_TZ.THRM, 0x80)
        }

        Method (_L03, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB0, 0x02)
        }

        Method (_L04, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB1, 0x02)
        }

        Method (_L0C, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB2, 0x02)
        }

        Method (_L0E, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB3, 0x02)
        }

        Method (_L05, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB4, 0x02)
        }

        Method (_L20, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB5, 0x02)
        }

        Method (_L0D, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.EHC1, 0x02)
            Notify (\_SB.PCI0.EHC2, 0x02)
            Notify (\_SB.PCI0.IGBE, 0x02)
        }

        Method (_L0B, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.HUB0, 0x02)
        }

        Method (_L08, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.PX40.UAR1, 0x02)
            Notify (\_SB.PCI0.PX40.UAR2, 0x02)
        }

        Method (_L09, 0, NotSerialized)
        {
            If (LNotEqual (VID0, 0xFFFF))
            {
                If (LEqual (And (RSR0, One), One))
                {
                    Store (0xFF, RSR0)
                    Store (0x80, PMC0)
                    Notify (\_SB.PCI0.PEX0, 0x02)
                }
            }

            If (LNotEqual (VID1, 0xFFFF))
            {
                If (LEqual (And (RSR1, One), One))
                {
                    Store (0xFF, RSR1)
                    Store (0x80, PMC1)
                    Notify (\_SB.PCI0.PEX1, 0x02)
                }
            }

            If (LNotEqual (VID2, 0xFFFF))
            {
                If (LEqual (And (RSR2, One), One))
                {
                    Store (0xFF, RSR2)
                    Store (0x80, PMC2)
                    Notify (\_SB.PCI0.PEX2, 0x02)
                }
            }

            If (LNotEqual (VID3, 0xFFFF))
            {
                If (LEqual (And (RSR3, One), One))
                {
                    Store (0xFF, RSR3)
                    Store (0x80, PMC3)
                    Notify (\_SB.PCI0.PEX3, 0x02)
                }
            }

            If (LNotEqual (VID4, 0xFFFF))
            {
                If (LEqual (And (RSR4, One), One))
                {
                    Store (0xFF, RSR4)
                    Store (0x80, PMC4)
                    Notify (\_SB.PCI0.PEX4, 0x02)
                }
            }

            If (LNotEqual (VID5, 0xFFFF))
            {
                If (LEqual (And (RSR5, One), One))
                {
                    Store (0xFF, RSR5)
                    Store (0x80, PMC5)
                    Notify (\_SB.PCI0.PEX5, 0x02)
                }
            }
        }
    }
maybe i should add that in? perhaps using a different unused _L0x?
Reply With Quote
  #6  
Old 11-20-2009, 10:21 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
still no luck with pc-efi 10.5, same errors on boot

Code:
Nov 20 21:16:46 localhost kernel[0]: Sound assertion "0 != setupHostInterrupt ()" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDAController/AppleHDAController.cpp" at line 312 goto Exit
Reply With Quote
  #7  
Old 11-20-2009, 10:45 PM
dan10 dan10 is offline
Cheetah
 
Join Date: Nov 2009
Posts: 4
There should be 2 instances of AZAL replaced to HDEF. I thing you are close
Reply With Quote
  #8  
Old 11-20-2009, 11:02 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
I figured out the missing part, I added HDEF to the _L0D method:

Code:
        Method (_L0D, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.EHC1, 0x02)
            Notify (\_SB.PCI0.EHC2, 0x02)
            Notify (\_SB.PCI0.IGBE, 0x02)
            Notify (\_SB.PCI0.HDEF, 0x02)
        }

But still no sound with AppleHDA
Reply With Quote
  #9  
Old 11-20-2009, 11:20 PM
dan10 dan10 is offline
Cheetah
 
Join Date: Nov 2009
Posts: 4
Here it's mine:

Code:
 
   Method (_L0D, 0, NotSerialized)
        {
            Store (SMI (0xC6, Zero), Local0)
            If (And (Local0, One))
            {
                Notify (\_SB.PCI0.HDEF, 0x02)
            }

            If (And (Local0, 0x02))
            {
                Notify (\_SB.PCI0.EHCI, 0x02)
            }

            If (And (Local0, 0x04))
            {
                Notify (\_SB.PCI0.EHC2, 0x02)
            }
        }
Reply With Quote
  #10  
Old 11-20-2009, 11:26 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
This is too much of a headache, i give up, im buying an Xmod
Reply With Quote
Reply