Jump to content

AppleHDA for ALC670 for ML and Mavericks 2.5.2fc2 -/6

File Information

  • Rate File: - - - - -
  • Submitted: May 12 2013 02:17 PM
  • Last Updated: Oct 08 2013 04:03 PM
  • File Size: 7.21MB
  • Views: 3511
  • Downloads: 642

Previous Versions

  • 23 Jun 2013 Download AppleHDA for ALC670 for ML and Mavericks 2.3.9 -/5
  • 12 May 2013 Download AppleHDA for ALC670 for ML 10.8.3 2.3.7 -/4

Download AppleHDA for ALC670 for ML and Mavericks 2.5.2fc2 -/6



Screenshots
Mavericks Mountain Lion

Patch for Mavericks
8408ec10 -> 00000000 without it my codec doesn't work at Mavericks at least
786d6c2e7a6c -> 7a6d6c2e7a6c pin patch to change ApppleHDA xml->zml
8419d411 -> 7006ec10 bin patch for my ALC670.
536F756E 64206173 73657274 696F6E20 ->00000000 00000000 00000000 00000000 patch agains assertions.
These patches in CLover-config.
<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Patch_to_ALC670</string>
				<key>Find</key>
				<data>hAjsEA==</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>AAAAAA==</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Patch_to_ALC670</string>
				<key>Find</key>
				<data>eG1sLnps</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>em1sLnps</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Patch_to_ALC670</string>
				<key>Find</key>
				<data>hBnUEQ==</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>cAbsEA==</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Patch_against_assertions</string>
				<key>Find</key>
				<data>
				U291bmQgYXNzZXJ0aW9uIA==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				AAAAAAAAAAAAAAAAAAAAAA==
				</data>
			</dict>
With this driver sound works completely and HDMI-Audio as well.
Need to patch: (For ML)
sudo perl -pi -e 's|\xff\x87\xec\x1a\x0f\x8f\x53\x01\x00\x00|\x70\x06\xec\x10\x0f\x84\x2a\x01\x00\x00|g' AppleHDA
sudo perl -pi -e 's|\xff\x87\xec\x1a\x0f\x8f\x2f\x01\x00\x00|\x70\x06\xec\x10\x0f\x84\x06\x01\x00\x00|g' AppleHDA
It was tested on Acer Aspire8942g
I Use layout65.xml.zlib and Platforms.xml.zlib
Patch of DSDT. variant 1(what I use now)
Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
                Field (HDAR, WordAcc, NoLock, Preserve)
                {
                    DCKA,  1,
                            Offset (0x01),
                    DCKM,  1,
                        ,  6,
                    DCKS,  1,
                            Offset (0x08),
                        ,  15,
                    PMES,  1
                }
 
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0C)
                        {
                            "device-id",
                            Buffer (0x04)
                            {
                                0x70, 0x06, 0xEC, 0x10
                            },
 
                            "built-in",
                            Buffer (One)
                            {
                                0x00
                            },
 
                            "layout-id",
                            Unicode ("A"),
                            "model",
                            Buffer (0x07)
                            {
                                "alc670"
                            },
 
                            "PinConfigurations",
                            Buffer (Zero) {},
                            "hda-gfx",
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
 
                Name (_PRW, Package (0x02)
                {
                    0x0D,
                    0x03
                })
            }
If your sound doesn't work. look at second variant of DSDT patch
You should try to add these flags to HPET.
IRQNoFlags ()
{11}
IRQNoFlags ()
{15}
Patch of DSDT. variant 2
Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))
                    Name (_CID, EisaId ("PNP0C01"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IRQNoFlags ()
                            {0}
                        IRQNoFlags ()
                            {8}
                        IRQNoFlags ()
                            {11}
                        IRQNoFlags ()
                            {15}
                        Memory32Fixed (ReadOnly,
                            0xFED00000,        // Address Base
                            0x00000400,        // Address Length
                            )
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        If (LGreaterEqual (OSYS, 0x07D1))
                        {
                            If (HPAE)
                            {
                                Return (0x0F)
                            }
                        }
                        Else
                        {
                            If (HPAE)
                            {
                                Return (0x0B)
                            }
                        }
 
                        Return (Zero)
                    }
 
                    Method (_CRS, 0, Serialized)
                    {
                        If (HPAE)
                        {
                            CreateDWordField (BUF0, 0x0A, HPT0)
                            If (LEqual (HPAS, One))
                            {
                                Store (0xFED01000, HPT0)
                            }
 
                            If (LEqual (HPAS, 0x02))
                            {
                                Store (0xFED02000, HPT0)
                            }
 
                            If (LEqual (HPAS, 0x03))
                            {
                                Store (0xFED03000, HPT0)
                            }
                        }
 
                        Return (BUF0)
                    }
                }
  Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
                Field (HDAR, WordAcc, NoLock, Preserve)
                {
                    DCKA,  1,
                            Offset (0x01),
                    DCKM,  1,
                        ,  6,
                    DCKS,  1,
                            Offset (0x08),
                        ,  15,
                    PMES,  1
                }
 
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x09,
                        0x04
                    })
                }

What's New in Version 2.5.2fc2 -/6 (See full changelog)

  • 12.05.13 V4 Fixed external microphone
  • 23.06.13 v5 Added support for Mavericks.
  • 08.10.13 v6 kext from MavericksGM. And now it works without assertions.





  • 251 Total Files
  • 13 Total Categories
  • 114 Total Authors
  • 555,878 Total Downloads
  • Clover_BootCD.app Latest File
  • chris1111 Latest Submitter

44 user(s) are online (in the past 30 minutes)

11 members, 32 guests, 1 anonymous users


skorodum, bihaiorg, Yumekui_Vit, gagiiu, meshmi, squalline, joseagrc, DrewChrist87, eternal, tuandaika123, shame4u

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