Optimized AppleHDA for Realtek ALC 888 on Lion [OLD]

Discussion in 'Audio' started by toleda, Feb 19, 2012.

  1. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 8, 2012 at 1:25 PM #111
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Edit dsdt.aml/HDEF as shown in the 1st Post of this thread. Delete S/L/E/HDAEnabler888.kext as it is not needed with a dsdt. Repair permissions, rebuild caches and restart.

    The front panel mic and front panel headphones show in System Preferences/Sound only when a mic and/or headphone is plugged in (automatically switches). It is not working at the present time because of the incorrect dsdt/HDEF.

    Reply with a copy of IOReg after the edits.
     
  2. sarim

    sarim

    Joined:
    Jul 29, 2011
    Messages:
    26
    Mobo:
    GA-Z77X-UD5H (10.8.3)
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 660x2
    Mobile Phone:
    Android, Other
    Apr 8, 2012 at 1:44 PM #112
    sarim

    sarim

    Joined:
    Jul 29, 2011
    Messages:
    26
    Mobo:
    GA-Z77X-UD5H (10.8.3)
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 660x2
    Mobile Phone:
    Android, Other
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    yeah, i deleted hdaenablerkext long ago. When i tried with hdaenabler, there was no dsdt.aml in /Extra.
    Then deleted HDAEnabler888.kext and started trying with dsdt.

    See now. I replaced the HDEF section according to this topic's first post.
    /Extra/dsdt.aml and output of "ioreg > ioreg.txt" attached.

    EDIT: ups, uploaded again with "sudo ioreg -w 0 > ioreg.txt"
     

    Attached Files:

  3. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 8, 2012 at 2:10 PM #113
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Can't use ioreg.txt. Try the app, IORegistryExplorer/File/Save a Copy As....
     
  4. sarim

    sarim

    Joined:
    Jul 29, 2011
    Messages:
    26
    Mobo:
    GA-Z77X-UD5H (10.8.3)
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 660x2
    Mobile Phone:
    Android, Other
    Apr 8, 2012 at 2:37 PM #114
    sarim

    sarim

    Joined:
    Jul 29, 2011
    Messages:
    26
    Mobo:
    GA-Z77X-UD5H (10.8.3)
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 660x2
    Mobile Phone:
    Android, Other
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Ok, see now.
     

    Attached Files:

  5. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 9, 2012 at 4:00 AM #115
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Your IOReg says 888 on board audio is working. Do you have sound?
     
  6. bnishii

    bnishii

    Joined:
    Feb 4, 2011
    Messages:
    20
    Mobo:
    G GA-Z87X-UD7-TH
    CPU:
    i7 4770K
    Graphics:
    NVIDIA GeForce GTX 760 2048 MB
    Mac:
    MacBook, MacBook Pro
    Classic Mac:
    Apple, Power Mac, SE
    Mobile Phone:
    iOS
    Apr 9, 2012 at 6:46 AM #116
    bnishii

    bnishii

    Joined:
    Feb 4, 2011
    Messages:
    20
    Mobo:
    G GA-Z87X-UD7-TH
    CPU:
    i7 4770K
    Graphics:
    NVIDIA GeForce GTX 760 2048 MB
    Mac:
    MacBook, MacBook Pro
    Classic Mac:
    Apple, Power Mac, SE
    Mobile Phone:
    iOS
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Hi Toleda

    I have an Asus P5Q with an SPDIF cable running from the SPDIF header on the mobo to the HDMI audio header on Asus 8400GS silent graphics card.
    I've been trying to get audio through HDMI and am having a hard time. 4 months ago, I futzed with DSDT editing following all your posts, and finally gave up after I realized Voodoo HDA worked for me.
    Recently however, I had to rebuild my system due to an unrelated problem, and now none of the Voodoo HDA's work - so I would love to revisit Apple HDA.

    If I'm running audio from the mobo to the graphics card for HDMI audio output, do I still need to edit the DSDT?

    I tried your kext from this post and got no outputs on sound panel.

    I did, however, install a different ALC888 kext and IOAudioFamily kext from this post here: http://www.osx86.net/downloads.php?do=file&id=2367 and now have audio coming out of front of headphone port. (Haven't tested all the other ports)

    Now logic would hold that the sound panel option "Digital Out" port for spdif would route the signal to the hdmi (as set in my BIOS), but I'm not getting any sound.

    IORegistry dump attached.

    What else do I need to do? DSDT edit? Kext edit? Device ID? (clearly, I'm still a noob and just trying to understand how all of it works...)

    Any advice would be appreciated.

    Thank you in advance.
     

    Attached Files:

  7. sarim

    sarim

    Joined:
    Jul 29, 2011
    Messages:
    26
    Mobo:
    GA-Z77X-UD5H (10.8.3)
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 660x2
    Mobile Phone:
    Android, Other
    Apr 9, 2012 at 12:31 PM #117
    sarim

    sarim

    Joined:
    Jul 29, 2011
    Messages:
    26
    Mobo:
    GA-Z77X-UD5H (10.8.3)
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 660x2
    Mobile Phone:
    Android, Other
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    I have sound only in speaker (connected in real panel). But i can't get sound on headphone (connected in frontpanel). Frontpanel is totally not working.
     
  8. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 9, 2012 at 2:20 PM #118
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Your graphics card does not have an audio codec; no dsdt edits for HDMI audio. DSDT edits are needed for HDEF to support on board audio.

    If this post is about a problem with the AppleHDA.kext posted in this thread, I can help. For any other AppleHDA.kext, request support from the source.

    The answer to your motherboard 2 wire SPDIF out question, the AppleHDA.kext requires an edit.
     
  9. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 9, 2012 at 2:21 PM #119
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    17,160
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    Are you using HD Audio for the front panel? Verify front panel connections.
     
  10. Drag0nFly

    Drag0nFly

    Joined:
    Nov 10, 2011
    Messages:
    27
    Apr 9, 2012 at 3:04 PM #120
    Drag0nFly

    Drag0nFly

    Joined:
    Nov 10, 2011
    Messages:
    27
    Re: Optimized AppleHDA for Realtek ALC 888 on Lion

    @toleda -- thanks for this native audio tweak. I'm trying to get your AppleHDA kext working on my Shuttle H67H7, which is using a H67 chipset and the Realtek ALC 888 chipset (obviously). The kext loads, but I am unable to get it to probe anything yet.

    I have attempted a few DSDT edits, but none have been successful so far. The extracted DSDT from this system does not have a HDEF section, and I am totally at a loss as to how (and where) to insert it. I was wondering if you could shed some light on this.

    Apart from the audio the system is using a 2700K cpu, and I therefore use the internal HD3000 graphics (which work great, apart from the HDMI output which is garbled). It also has ASMedia USB3 ports, which aren't in use as the driver in MultiBeast prevents the system for shutting down if it's loaded)

    Since you are immensely more versed in the art of DSDT editing, I would be very appreciative if you could take a quick look at it. I am able to use VoodooHDA on this system (presently the 0.2.62 version, as that is the only one providing S/PDIF optical output and correct volume levels), but the driver gives random KPs on boot (and, possibly, after the system has been running for a few days as well. Unable to verify this of course, as I do not have stacktraces when running in graphical mode)

    In case it is of use, I have included the output from the kernel.log when the VoodooHDA driver is loaded (for pin assignment, etc.) VoodooHDA only enables 2-channel digital output, though (not 8-channel which the system supports)

    Apr 4 21:03:51 numinex kernel[0]: VoodooHDADevice[0xffffff8333496000]::init
    Apr 4 21:03:52 numinex kernel[0]: Enabling output audio routing switching at node 20:
    Apr 4 21:03:52 numinex kernel[0]: Enabling output audio routing switching at node 21:
    Apr 4 21:03:52 numinex kernel[0]: Enabling output audio routing switching at node 22:
    Apr 4 21:03:52 numinex kernel[0]: Enabling output audio routing switching at node 23:
    Apr 4 21:03:52 numinex kernel[0]: Pin sense: cad 2 nid=20 res=1
    Apr 4 21:03:52 numinex kernel[0]: setDesc change description Line-out (Green Rear) channel 0 assoc 0
    Apr 4 21:03:52 numinex kernel[0]: Pin sense: cad 2 nid=21 res=0
    Apr 4 21:03:52 numinex kernel[0]: Pin sense: cad 2 nid=22 res=0
    Apr 4 21:03:52 numinex kernel[0]: Pin sense: cad 2 nid=23 res=0
    Apr 4 21:05:46 numinex kernel[0]: IOSurface: buffer allocation size is zero
    Apr 4 21:07:34: --- last message repeated 2 times ---
    Apr 4 21:07:34 numinex kernel[0]: Resetting IOCatalogue.
    Apr 5 20:32:21 numinex kernel[0]: HFS: Very Low Disk: freeblks: 0, dangerlimit: 14
    Apr 6 02:32:34 numinex kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
    Apr 6 15:39:53 numinex kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed


    EDIT: forgot to add the ioreg.
     

    Attached Files:

Share This Page