Jump to content

Realtek ALC AppleHDA Audio Injection


toleda
 Share

133 posts in this topic

Recommended Posts

Hi there - i am running Yosemite 10.10 DP1 on an ASUS p8p67 LE with ALC982 codec, Core i7 2600 and ASUS GTX 650.

 

I've patched the native original AppleHDA.kext with AppleHDA8Series.sh (went through without errors).

 

Kext Version is AppleHDA.kext 2.6.5 and AppleHDA892.kext 1.2.0.

 

The kext gets loaded and i hear a plop in the speakers but no audio devices are listed in systemsettings.

 

$ dmesg | grep HDA

 

Sound assertion in AppleHDAController at line 1384

Sound assertion in AppleHDADriver at line 1508

Sound assertion in AppleHDADriver at line 2154

Sound assertion in AppleHDADriver at line 194

Sound assertion in AppleHDADriver at line 1052

 

Attached find my DSDT.aml, IOReg and SysInfo Screenshot.

 

I hope this is enough information for not beeing ignored like stated in the pdf ;) and someone has an idea what to try next.

 

This audio setup works fine on 10.9.3 btw...

post-543166-0-50829300-1403202205_thumb.png

DSDT.aml.zip

ioreg.zip

Link to comment
Share on other sites

I am using Chameleon v2.2svn r2380. Find attached the kexts.

What are you using for Audio ID injection?

It does not appear AppleHDA892 is loading, Rebuild kernel cache and reply with copy of Console/All Messages.

Link to comment
Share on other sites

Here you go - though i am pretty sure it uses the kernel cache ... if i boot with "-v" it doesn't show the load of each kext but instead nearly instantly goes to the kernel messages ...

 

I figured you might want to have the log from kextcreation - here it is (the rebuild cache in DPCIManager didn't do/output anything in its log - so i did it manually):

 

http://pastebin.com/BvVr3kfa

dmesg2.zip

Link to comment
Share on other sites

Here are the screenshots Geladen : Ja - means loaded, Geladen : Nein - means not.

AppleHDA892 no loading is the problem. kernel cache says it is allowing invalid signature and doesn't say allowing to load.  Try removing AppleHDA892.kext and install with Kext Utility.  Reply with new IOReg, boot log and System Information/Extensions screenshot (1 image is fine).

Link to comment
Share on other sites

Hello,

Need some help with DSDT injection, or something else...

I have a notebook MSI GT70-0ND with native Mac 10.9.3 (patched for mbr).

AppleHDA.kext patched using script from rep. for my codec (ALC892); changed pins speakers <> headphones; in DSDT added _DSM method for HDEF device (layout ID:1).

Bootloader - Clover (Clover_v2k_r2721).

Now:

When in Clover's config.plist > Audio > Inject > 1 - sound appears (image)

image.jpg

When in Clover's config.plist > Audio > Inject > No - there is no sound.

Codec field in DPCIManager is empty.

 

In 892.zip: patched AppleHDA, DSDT, clover's config.plist and 2 ioregs (with/without injected audio via clover).

Thanks in advance.

892.zip

Link to comment
Share on other sites

When in Clover's config.plist > Audio > Inject > 1 - sound appears (image)

The injection methods and guides are noted in Post #1: use only one.  With Clover injection, dsdt/HDEF edit is unnecessary.  With Clover injection, is there sound?

 

Attached is a 10.9.1 892 laptop AppleHDA.kext.  Try it.  if working, it can be updated to current.

AppleHDA.kext-892_laptop.zip

Link to comment
Share on other sites

The injection methods and guides are noted in Post #1: use only one.  With Clover injection, dsdt/HDEF edit is unnecessary.  With Clover injection, is there sound?

 

Attached is a 10.9.1 892 laptop AppleHDA.kext.  Try it.  if working, it can be updated to current.

 

I understand, I just tried some variations:

Injected Clover + DSDT without _DSM = working sound

Without Clover injection + DSDT with _DSM = no sound

 

Seems like system can't write layout-id value from DSDT.

With attached kext there is no sound: Clover injection No + DSDT with _DSM method.

Sound injected in Clover works fine, but I need to get it from DSDT.

Link to comment
Share on other sites

Thanks for the quick reply.

DSDT was patched before I wrote first post above.

It's in attached archive (892.zip).

Screen of the  system with patched DSDT: Untitled.jpg

Here is HDEF section from DSDT:

 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)
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03
                    })
                }
                Return (Package (0x06)
                {
                    "layout-id", 
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00
                    }, 
                    "PinConfigurations", 
                    Buffer (Zero) {}, 
                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }
                })
            }
        }

Solved: In Clover's config I found <key>FixHDA_8000</key> which is set to <true/>. I have changed it to <false/> and sound appears using DSDT.

Link to comment
Share on other sites

Hi there,

 

I used your DSDT guide with the patches in your repository (Audio ID 1 and also tried ID 2), but it's not working. I use Clover r2742? (I know for sure it's current latest version) and don't have any Devices/Audio/Inject (because I used DSDT method). If I download a pre-patched AppleHDA for my chipset (ALC898), it does work, so it's not the hardware itself.

Only thing is I have patched my DSDT with your patch from your repository and it's not working.

 

My Audio Codec: ALC898

Motherboard: GA-Z77X-UD5H rev. 1.0.

CPU: Intel Core i7-3770.

GPU: Radeon R9 290X (fully working with netkas driver package from Yosemite).

O/S: Mavericks 10.9.4 (also tried 10.9.3 AppleHDA.kext, which is in archive).

 

What to do? I only don't get to see Audio devices in Settings -> Sound preference panes (my AirPlay is present, though). System Profiler also tells me Audio is there (Hardware -> Audio pane -> Intel HD Audio with several line outs and speaker and such). I also followed your guide for no audio devices, but it didn't solve it.

 

I would like to know what I may have done wrong and/or why it just isn't working.

 

If you need more info, don't hesitate to ask. :)

 

Thanks for providing such a great product! :)

 

P.S. Attachments: All requested files. If the wrong AppleHDA is present, then I made a mistake, will try to re-upload another one. I tried vanilla AppleHDA from 10.9.3 and 10.9.4.

files.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...