InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #91  
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
  #92  
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
  #93  
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
  #94  
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
  #95  
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
  #96  
Old 11-21-2009, 02:30 AM
scififan68 scififan68 is offline
 
Join Date: Oct 2008
Location: Midwest USA
Posts: 229
Hey!, thanks for this sweet guide, it really helped me port the applehda kext to work for my alc888!

GA-Z68XP-UD3: Lion 10.7.3, Windows 7 Professional 64bit SP1 and FreeBSD 9-RELEASE, Core i5 2500K @ 3.3GHz, 16GB 1333 Mhz DDR3 ram(Soon), 1GB GDDR5 Nvidia Geforce GTX 560 Ti, 2X 1TB Samsung F3 SATA HDDs, 1X WDC Blue 500GB HDD; Dell Mini 10v: Obsidian Black, 2GB DDR2 533MHz Ram, 1.6GHz Intel Atom N270, 120GB HDD, 6-Cell, Mac OS X Snow Leopard 10.6.8 Build 10K549
Reply With Quote
  #97  
Old 11-21-2009, 01:57 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
Ok I'm following TheKing's guide, but I'm stuck on how to convert the output from VerbIt to the encoded format used in the ConfigData parameter in Info.plist:

Code:
Verbs from Linux Codec Dump File: codec_dump.txt

Codec: Realtek ALC885   Address: 2   DevID: 283904133 (0x10ec0885)

   Jack   Color  Description                  Node     PinDefault             Original Verbs
--------------------------------------------------------------------------------------------------------
    1/8   Green  Line Out at Ext Rear        20 0x14   0x01014410   21471c10 21471d44 21471e01 21471f01
    1/8   Black  Line Out at Ext Rear        21 0x15   0x01011412   21571c12 21571d14 21571e01 21571f01
    1/8  Orange  Line Out at Ext Rear        22 0x16   0x01016411   21671c11 21671d64 21671e01 21671f01
    1/8    Grey  Line Out at Ext Rear        23 0x17   0x01012414   21771c14 21771d24 21771e01 21771f01
    1/8    Pink  Mic at Ext Rear             24 0x18   0x01a19c40   21871c40 21871d9c 21871ea1 21871f01
    1/8    Pink  Mic at Ext Front            25 0x19   0x02a19c50   21971c50 21971d9c 21971ea1 21971f02
    1/8    Blue  Line In at Ext Rear         26 0x1a   0x0181344f   21a71c4f 21a71d34 21a71e81 21a71f01
    1/8   Green  HP Out at Ext Front         27 0x1b   0x02214c20   21b71c20 21b71d4c 21b71e21 21b71f02
  ATAPI Unknown  CD at Int ATAPI             28 0x1c   0x593301f0   21c71cf0 21c71d01 21c71e33 21c71f59
  ATAPI Unknown  Line In at Int ATAPI        29 0x1d   0x598301f0   21d71cf0 21d71d01 21d71e83 21d71f59
   Comb   Black  SPDIF Out at Ext Rear       30 0x1e   0x014b1130   21e71c30 21e71d11 21e71e4b 21e71f01
    1/8   Black  Speaker at Ext Rear         31 0x1f   0x411111f0   21f71cf0 21f71d11 21f71e11 21f71f41
--------------------------------------------------------------------------------------------------------


   Jack   Color  Description                  Node     PinDefault             Modified Verbs
--------------------------------------------------------------------------------------------------------
    1/8   Green  Line Out at Ext Rear        20 0x14   0x01014410   21471c10 21471d40 21471e01 21471f01
    1/8   Black  Line Out at Ext Rear        21 0x15   0x01011412   21571c60 21571d10 21571e01 21571f01
    1/8  Orange  Line Out at Ext Rear        22 0x16   0x01016411   21671c70 21671d60 21671e01 21671f01
    1/8    Grey  Line Out at Ext Rear        23 0x17   0x01012414   21771c80 21771d20 21771e01 21771f01
    1/8    Pink  Mic at Ext Rear             24 0x18   0x01a19c40   21871c40 21871d90 21871ea1 21871f01
    1/8    Pink  Mic at Ext Front            25 0x19   0x02a19c50   21971c50 21971d90 21971ea1 21971f01
    1/8    Blue  Line In at Ext Rear         26 0x1a   0x0181344f   21a71c90 21a71d30 21a71e81 21a71f01
    1/8   Green  HP Out at Ext Front         27 0x1b   0x02214c20   21b71c20 21b71d40 21b71e21 21b71f01
  ATAPI Unknown  Line In at Int ATAPI        29 0x1d   0x598301f0   21d71cf0 21d71d00 21d71e83 21d71f50
   Comb   Black  SPDIF Out at Ext Rear       30 0x1e   0x014b1130   21e71c30 21e71d10 21e71e4b 21e71f01
--------------------------------------------------------------------------------------------------------
How do I convert those hex strings for the ConfigData, which is in this format:

AUccEAFHHUABRx4RAUcfAQFXHBIBVx0gAVce
AQFXHwEBZxwRAWcdYAFnHgEBZx8BAXccFAF3
HRABdx4BAXcfAQGHHDABhx2ZAYceoQGHHwEB
lxw/AZcdkAGXHqEBlx8CAaccMQGnHTEBpx6B
AacfAQG3HB8Btx1AAbceIQG3HwIBxxwyAccd
AQHHHjMBxx+ZAdccAAHXHQEB1x4AAdcfQAHn
HGAB5x0BAeceRQHnH4EB9xwAAfcdAQH3HgAB
9x9A


Thanks..
Reply With Quote
  #98  
Old 11-21-2009, 02:04 PM
mimayin mimayin is offline
Cheetah
 
Join Date: Nov 2009
Posts: 14
NM figured it out, wish me luck
Reply With Quote
  #99  
Old 12-01-2009, 03:09 PM
max.1974 max.1974 is offline
Cheetah
 
Join Date: Nov 2009
Location: Brazil
Posts: 5
Alc 262 for snow leopard..please!!!

Hi everyone...tks for a lot help!!!
I need ask a very great favor: send me by mail or download link, the compiled kexts that i need replace in Snow [email protected]

ALC262 SONY VAIO VGN-NS150AE

Im a inexperient user to compiled my on, so sorry my bad english...

Best regards...i hope some mail about that!!!

TKS!!!!
Reply With Quote
  #100  
Old 12-02-2009, 03:58 AM
max.1974 max.1974 is offline
Cheetah
 
Join Date: Nov 2009
Location: Brazil
Posts: 5
Please My firends...post kext....ALC 262

Please...i need that kext modified...AppleHDA.kext for my ALC262...
I suplies for help...just post or send by mail...im very tired to look around (google)

Thanks...



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply