Jump to content

ALC892


mediamac
 Share

33 posts in this topic

Recommended Posts

This kext with this DSDT HDEF code works well

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 (GPRW (0x0D, 0x04))

            }

            Method (_DSM, 4, NotSerialized)

            {

                Store (Package (0x08)

                    {

                        "codec-id",

                        Buffer (0x04)

                        {

                             0x92, 0x08, 0xEC, 0x10

                        },

                        "layout-id",

                        Buffer (0x04)

                        {

                             0x01, 0x00, 0x00, 0x00

                        },

                        "device-type",

                        Buffer (0x0F)

                        {

                            "Realtek ALC892"

                        },

                        "PinConfigurations",

                        Buffer (One)

                        {

                             0x00

                        }

                    }, Local0)

                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

                Return (Local0)

            }

        }

If you want, you can use HDAEnabler with layout1 instead of DSDT Injection

AppleHDA.kext.zip

Link to comment
Share on other sites

This kext with this DSDT HDEF code works well

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 (GPRW (0x0D, 0x04))

            }

            Method (_DSM, 4, NotSerialized)

            {

                Store (Package (0x08)

                    {

                        "codec-id",

                        Buffer (0x04)

                        {

                             0x92, 0x08, 0xEC, 0x10

                        },

                        "layout-id",

                        Buffer (0x04)

                        {

                             0x01, 0x00, 0x00, 0x00

                        },

                        "device-type",

                        Buffer (0x0F)

                        {

                            "Realtek ALC892"

                        },

                        "PinConfigurations",

                        Buffer (One)

                        {

                             0x00

                        }

                    }, Local0)

                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

                Return (Local0)

            }

        }

If you want, you can use HDAEnabler with layout1 instead of DSDT Injection

I used your attached AppleHDA kext but no sound.How to use HDAenabler using layout 1 ?

Thank you

Link to comment
Share on other sites

https://github.com/toleda/audio_kext_enabler

Clic on "Download.zip" and install HDAEnabler1, repair permissions and reboot

Ok i downloaded and installed the HDAenabler1.kext and repair permission using kextwizard and reboot.But still same no audio and i see only "Audio ID: 1"  on system report.

Thanks

Link to comment
Share on other sites

I am sorry ! I deleted HDAenabler1.kext and put this DSDT.aml into EFI/CLOVER/ACPI/patched and i get appleAcpiplatformExpert : : Start Failed - System uptime in nanoseconds kernel panic. :(

Link to comment
Share on other sites

Ok, i think the dsdt you posted in PM is not for your system; boot Clover without any option for ACPI section, delete all ACPI tables from ACPI/Origin and ACPI/Patched folders, reboot and extract the dsdt with this terminal command:

 

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while()
{ chomp; if($_ =~ /\"DSDT\.?\d?\"=]*)>/) { $buff = $1; open(PIP,
"|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

 

You find dsdt.aml in desktop; compress and attach the file.

 

What is the motherboard on which you want to run ALC892?

Link to comment
Share on other sites

Try ths

Hi,

 I get kernel panic as before and now i will try the above kexts. Many thanks for your effort.

AppleHDA to Yosemite can be found here: AppleHDA for Yosemite - DP1

Do i need to use HDAenabler with this ? because its not working if i install only AppleHDA.kext

I used this kext for ALC892 (10.9.3 kext patched by toleda), and changed the key "Device / audio / inject" in config.plist to 1, now it works great for me.

Can you post your config.plist , audio part only ?

Link to comment
Share on other sites

Can you post your config.plist , audio part only ?

 

Sure, here you go (pasting entire Devices section). The only change I've made from the default installed one is to set the Audio / Inject value to 1:

 

 

 

	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
		</dict>
		<key>Inject</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>

 

 

Link to comment
Share on other sites

Sure, here you go (pasting entire Devices section). The only change I've made from the default installed one is to set the Audio / Inject value to 1:

 

 

 

	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
		</dict>
		<key>Inject</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>

 

 

 

Many thanks ! No sound after inject 1 and only  this i get in system report 

 

 

Intel High Definition Audio:

 

  Audio ID: 1

 

HDMI / DisplayPort Output:

 

  Connection: Display

 

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...