Jump to content
toleda

Yosemite: Audio - Realtek ALC AppleHDA

793 posts in this topic

Recommended Posts

Hi,

could you please add support for ALC662 ? If you want, I can provide dumps, or other files which you ask.

you need to ALC662?

 

I can help you !!!

Share this post


Link to post
Share on other sites
Advertisement

Dear Toleda,

 

OSX: Yosemite 10.10.1

Processor: 3.49 GHz Intel Core i7

Graphics: NVIDIA GeForce GTX 760 connected via displayport

Motherboard: GA-Z87X-UD7-TH

 

I have a new Yosemite installation via Clover, ( to get the onboard audio (Intel HD) to work. 

After using the audio_cloverALC-100_v1.0.4d.command file, I need a no audio codec detected message. Please point me in the right direction. 

 

Attached are my files.

 

I would like to be able to output audio via the onboard audio as well as display port on GeForce GTX 760. If that’s not possible, just the onboard audio is fine.

 

Archive.zip

Share this post


Link to post
Share on other sites

 no audio codec detected message. Please point me in the right direction. 

 

I would like to be able to output audio via the onboard audio as well as display port on GeForce GTX 760. If that’s not possible, just the onboard audio is fine.

The script does not run when OS X does not see a codec.

When DPCIManager shows a codec, the script will work.

Verify: BIOS/Audio Controller/Enabled

Why config.plist/KernelAndKextPatches/commented out? Why "Patch_to_not_load_this_driver"?

For GTX 760 DP audio, see Yosemite AppleHDA HDMI Audio - HDMI Audio

Share this post


Link to post
Share on other sites

Dear toleda,

 

do you have any guess what causes my sound issue and how to handle it?

 

Hi everybody,

 

I've trouble getting sound working on my Asus Z97 Deluxe, i7 4970k, Asus Geforce 980GTX Strix.

I'm using OSX Yosemite in version 10.10.2 with latest updates and clover boot manager.

I've followed the instructions described under 3. cloverALC/Clover patched for my ALC1150.

I'm using the native AppleHDA.kext in version 269.25.

 

I've attached ioreg information, my config.plist, a screenshot of my audio system information, a screenshot of the console showing the kernel sound assertions and my used SSDT.aml.

 

I would be very glad if someone have an idea on what's going wrong.

Share this post


Link to post
Share on other sites

I've followed the instructions described under 3. cloverALC/Clover patched for my ALC1150.

Missed your post, apologies.

config.plist is damaged and not useable.

No evidence audio_cloverALC-100.command ran

See Post #1, Problem Reporting, attach all requested files.

Share this post


Link to post
Share on other sites

I used this guide to install yosemite using clover, using the standard config.plist attached on the first post of the site. I'm not sure why the config.plist file says this. Any ways to fix this?

 

The audio controller is indeed on, as I have a working copy of mavericks with sound on a different hard disk. 

Share this post


Link to post
Share on other sites

using the standard config.plist attached on the first post of the site

The standard config.plist is much different than what you are using.  Install a new standard config.plist.

Share this post


Link to post
Share on other sites

Missed your post, apologies.

config.plist is damaged and not useable.

No evidence audio_cloverALC-100.command ran

See Post #1, Problem Reporting, attach all requested files.

 

Thanks for your hint with the damaged config.plist. That solves my problem. 

Share this post


Link to post
Share on other sites

I've read the 1st post but I couldn't figure out how to enable front panel audio for ALC888 connected with HD Audio cable. What's the right way to enable it ?

Share this post


Link to post
Share on other sites

couldn't figure out how to enable front panel audio for ALC888 connected with HD Audio cable

For front panel installation, see motherboard manual.  The patched AppleHDA.kext resulting from any Post #1 method includes front panel audio.

Share this post


Link to post
Share on other sites

Problem: in DPCIManager Codec ID and Codec Name is blanc.

OS X 10.10.2 "Yosemite". Dell XPS 8000, preassembled mobo, Intel i7 860, nVidia GTS 240.

Do I need to post all the other informations for this problem?

post-1237471-0-24629700-1427987797_thumb.png

Share this post


Link to post
Share on other sites

Okay, thank you.

I have not done the procedure because my problem is to find out what my codec ID and codec name are, so I think Console messages are unnecessary.

 

System Information/Hardware/Audio/Intel High Definition Audio 

Not found, in the screenshot only Audio devices.

No dsdt.aml and ssdt.aml installed.

audio.zip

Share this post


Link to post
Share on other sites

  1. Description of audio problem

    I´ve followed the guide, everything to be working unti. Where I am going to use 

    audio_realtekALC-100_v1.0.4b.command. Where it says ALC887 v_0x100302 not supported, I´m not sure what I can do from there. 

    I´m able to get normal audio from input and output with the green and red cable. The only problem is with sound trought the HDMI Cable to my monitor with speakers. 

    1. OS X version/motherboard model/BIOS version/processor/graphics

      Yosemite 10.10.2, MSI msi b85-e45, v10.8, i5 4440,raedon hd 7790  

    2. Procedure/Guide Used

      Folled the guide on post1. 

    3. Copy of IOReg - IOReg_v2.1/File/Save a Copy As…, verify file (no ioreg.txt)

      https://www.dropbox.com/s/jq20s1na1fj7dg0/SakamotoMAC.ioreg?dl=0

    4. Copy Of Console/All Messages  (last boot)/File/Save a Copy As..

    5. Installed S/L/E/AppleHDA.kext or AppleHDA8Series AppleHDAxxx kext

      My native AppleHDA: https://www.dropbox.com/sh/0e2z0yx2hm2fp9x/AADd1GoIJnCMApeC_0-et_oba?dl=0

    6. Screen shots:
      1. DPCIManager/Status (Tools 1.)

        Gyazo Screen{censored}: http://gyazo.com/a3202f07f63b56f242fbf5fc5aa97caa

      2. System Information/Hardware/Audio/Intel High Definition Audio (not Devices)

        http://gyazo.com/df8f016db465f03ec561519b8a9df61b

        http://gyazo.com/4e85a2f68d04e3cffcde3a7fe31be734

    7. Terminal/Shell/Export Test As. . .  (if script used)
      1. audio_realtekALC-100.command

        http://gyazo.com/d2ec6de69f815112f0b3a8041e3ad0fa

    8. Clover
      1. EFI/Clover/config.plist

        https://www.dropbox.com/s/vq44sceg4sreyxc/config.plist?dl=0

      2. EFI/Clover/misc/debug.log (Set config.plist/Boot/Debug/YES)

        Nothing inside /misc

      3. EFI/Clover/ACPI/Patched/dsdt.aml (if installed) 

        https://www.dropbox.com/s/wfah36xwt7b0weo/DSDT.aml?dl=0

Additional info I noted when going thought your guide:

 

2---Realtek ALC, one of the following Device_ID - Codec Name
Audio Device:0x80868C20
Codec ID: 0x10EC0887   THIS!!!! 
Revision:0x0302
Codec Name: Realtek ALC888B
 
 
3---- Supported Audio-IDs (Audio_ID = layout-id), select one
Audio_ID: 3 - 3/5/6 port Realtek ALC onboard audio and HD3K/HD4K/AMD/Nvidia HDMI audio
 
4----Audio_ID Injection, select one
 
Layout ID: 3. <03 00 00 00>
 
 
 
Thank you!

Share this post


Link to post
Share on other sites

what my codec ID and codec name are

No HDEF, see Realtek ALC AppleHDA Audio Injection.  Select one of the available methods.  Kext injection is the easiest.

I´m able to get normal audio from input and output with the green and red cable. The only problem is with sound trought the HDMI Cable to my monitor with speakers. 

Use Audio ID: 1/layout-id: 1. 3 is for HD3000/HD4000 not HD4600.

No native OS X HDMI audio on non native hardware, see Yosemite AppleHDA HDMI Audio

Note: HDAEnabler?.kext disables OS X HDMI audio; must be removed.

Share this post


Link to post
Share on other sites

No HDEF, see Realtek ALC AppleHDA Audio Injection. Select one of the available methods. Kext injection is the easiest.

 

Use Audio ID: 1/layout-id: 1. 3 is for HD3000/HD4000 not HD4600.

No native OS X HDMI audio on non native hardware, see Yosemite AppleHDA HDMI Audio

Note: HDAEnabler?.kext disables OS X HDMI audio; must be removed.

Thank you I put HDEF and installed an audio support kext for ALC onboard audio (method 2). Audio works fine in YouTube (Internet), MP4 videos, ecc, but if I reproduce an audio file on iTunes the sound is distorted and crackles.

Do you have an idea on how can I solve this problem?

Share this post


Link to post
Share on other sites

have an idea on how can I solve this problem?

No.

Why are my ports all in Russian?

Did not patch the native AppleHDA.kext.  To fix:

Post #1/Requirements/1. OS X versions supported/2. Native AppleHDA.kext/1. Need native

Share this post


Link to post
Share on other sites

Toleda,

 

I have a Samsung Chronos series 7 laptop with ALC269 audio.  I got Yosemite 10.10.3 installed good using Clover UEFI.  Audio just not working correctly.  Any suggestions to get audio working?

Share this post


Link to post
Share on other sites

Hello can you add 

Codec: Realtek ALC668
Vendor Id: 0x10ec0668
please help i use patch alc668 from mirone layout 3 system detected device and show icon speaker but there is no sound 
thanks

Share this post


Link to post
Share on other sites

hello Toleda wanted to know if there is a script for AppleHDA this arsware
Motherboard - Intel DQ57TM
Intel® Q57 Express Chipset
CPU - Intel Core i5 3:19 GHz - LGA1156
LAN Support - 82578DM Intel Gigabit Network Connection
Point of View Geforce 9400GT (1024 MB)
Ram 4GB 1333 MHz DDR3
sound card - Realtek * ALC662-VC

Thanks

Share this post


Link to post
Share on other sites

Thank you so muchI use audio_realtekALC-100_v1.0.4b.command and audio id 1,both mic and headphone works.

Share this post


Link to post
Share on other sites

Hello Toleda've been following your work and learned a lot from him thanks!

I'm having a hard time here now.
New system through Haswell H81 motherboard was presented with unstable Bios F5 where no aviation support for the 4º generation processors, so updated the Bios to F7 and then F8, and both to give further support to my HDMI audio from my plate graphical AMD HD5670 !!
I watched the ioreg and P0P2 device was excluded from the Bios by the manufacturer!
I do not use DSDT
I have a SSDT1 to abilitação onboard audio and HDMI HD5670 card
Can you help me? since they do not concigo BIOS downpgrade to F5 above, it is not in the gigabyte site and did beckup that is not supported because the plate has protect bios !!!
 
 
EDIT:
Joy all joy !!! Looking for a solution to this problem found that discução: HDMI
I do not understand how this is possible since P0P2 device is not in the BIOS;
I do not have SSDT1 injection HDAU for HDMI audio abilitação as before and sound is perfect now!
NKvQgPg.png
 
thanks for the help of all !!!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ITzTravelInTime
      KX AUDIO DRIVER MOD
       
      Hi guys i am a small developer, i really like to use my sound blaster cards on my machines and i love also coding, so when i find the source code for the kx audio driver on git hub and then Eugene, the creator of kx audio driver decided to no longer maintain the project, i decided to start working on a mod of this driver and maintain it. 
       
      With my mod, created starting from the sources of the last official version of kx audio driver and all the small commiunity updates, i am working to keep the driver compatible with the latest mac os versions and to improove the driver over time.
       
      Supported cards are:
       
       - most of the Sound Blaster live!, live! 5.1 and live! 5.1 digital series (except for the cards not using the 10k1 architecture)
       - sound blaster pci 512 and pci 256
       - Sound Blaster Audigy, Audigy 2 and Audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip (like the EMU8852 aka 0404m, including the pcie version)
       - Sound Blaster Audigy 4 (SB0610 only) and the Audigy 4 pro
       - Sound Blaster Audigy RX (SB0155)
       - other creative and e-mu cards based on the (10k1,10k2, 10k2.5 and CA10300 based cards)
       
      The NOT supported cards includes (but are not limited to):
       
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - Any CA0106 based card and cards with similar architectures (like sound blaster live! 24 bit, sound blaster audigy SE SB0570, audigy LS and similars, but audigy SA is supported)
       - Any sound blaster x-fi (some of them works on macOS using a modified version of voodoo hda)
       - Any sound blaster recon3D
       - Sound blaster Audigy FX
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5/AE7/AE9 series
       - Any sound card without an emu sound chip
      - Any ISA Sound card
       
      In the time being the things i have modded or added with this mod are:
       
      - cracking and stability fixes
       
      - added a more proper support for the pci express Sound Blaster audigy rx SB0155 (which basically is an audigy 4 with a pcie bridge chip) 
       
      - more user-frienly names for the cards in the settings and other system menus (so the name will be, for example, SB live! 5.1 SB0060 instead of kx SB0060 [e880] witch was shown in the original driver)
       
      - added support to sample rate changing and bit resolution change (the absolte worst supported quality is 7 khz at 8 bit dept while the absolute best is 192 khz at 32 bit depth)
       
      - inputs support
       
      - added boot args to manage the driver (more info on those soon)
       
      What i'd like to implement but i don't know how to do:
       
       - fix the support when using more than one card, to get all the cards shown in the settings and other menus,
       
       - have the gameport/midi port of older cards to be used in mac os as a midi in/out
       
      If other developers would like to join and help they are free to do so, this is a free open source project afterall, and also an hand from other people with testing and feedback will be nice.
       
      LINKS and downloads:
               -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   (kext download coming soon, since an update is coming)  
       





    • By ltooz_audis
      Some people do have problem understanding AppleALC, how to use it for their own codecs. Here's how I used it for both Realtek ALC and IDT audio codecs.
      https://youtu.be/ZNUzQkb6p5g
      For more info on Catalina click here.
      Cheers,
      Louis
    • By Mieze
      A New Driver for Realtek RTL8111
       
      Due to the lack of an OS X driver that makes use of the advanced features of the Realtek RTL81111/8168 series I started a new project with the aim to create a state of the art driver that gets the most out of those NICs which can be found on virtually any cheap board on the market today. Based on Realtek's Linux driver (version 8.035.0) I have written a driver that is optimized for performance while making efficient use of system resources and keeping the CPU usage down under heavy load.

      Key Features of the Driver
      Supports Realtek RTL8111/8168 B/C/D/E/F/G found on recent boards. Support for multisegment packets relieving the network stack of unnecessary copy operations when assembling packets for transmission. No-copy receive and transmit. Only small packets are copied on reception because creating a copy is more efficient than allocating a new buffer. TCP, UDP and IPv4 checksum offload (receive and transmit). TCP segmentation offload under IPv4. Support for TCP/IPv6 and UDP/IPv6 checksum offload. Fully optimized for Mountain Lion (64bit architecture) but should work with Lion too. As of now there is no support for Snow Leopard but it can be added if someone will create the necessary patches. Supports Wake on LAN. Support for Energy Efficient Ethernet (EEE) which can be disabled by setting enableEEE to NO in the drivers Info.plist without rebuild. The default is YES. The driver is published under GPLv2.  
      Limitations
      As checksum offload doesn't work with jumbo frames they are currently unsupported and will definitely never be. No support for 32bit kernels.  
      Installation
      Before you install the driver you have to remove any installed driver for RTL8111/8168.
      Goto /S/L/E and delete the old driver (Lnx2mac, AppleRealtekRTL8169, etc.). Recreate the kernel cache. Open System Preferences and delete the corresponding network interface, e. g. en0. If you forget this step you might experience strange problems with certain Apple domains, iTunes and iCloud later. Reboot. Install the new driver and recreate the kernel cache. I recommend to use Kext Wizard or a similar utility for the installation. Reboot Open System Preferences again, select Network and check if the new network interface has been created automatically or create it manually now. Configure the interface.  
      Help - I'm getting kernel panics!
      Well, before you start complaining about bugs after you upgraded macOS and ask me to publish a driver update, you should first try to resolve the issue on your own by cleaning the system caches.
      As the driver uses macOS's private network driver interface, which is supposed to be used by Apple provided drivers only, you might run into problems after an OS update because the linker may fail to recognize that IONetworking.kext has been updated and that the driver needs to be linked against the new version (Apple provided drivers avoid this problem because they are always updated together with IONetworking.kext). As a result, the linking process produces garbage and the driver may call arbitrary code when trying to call functions from IONetworking.kext. This usually results in unpredicted behavior or a kernel panic. In order to recover from such a situation, you should clean the System Caches forcing the linker to recreate it's caches:
      Delete all the files in /System/Library/Caches and it's subdirectories but leave the directories and the symbolic links intact. This is very important! Reboot. Recreate the kernel cache. Reboot again.  
      Troubleshooting
      Make sure you have followed the installation instructions especially when you have issues with certain domains while the others are working fine. Use the debug version to collect log data when trying to track down problems. The kernel log messages can be found in /var/log/system.log. For Sierra and above use "log show --predicate "processID == 0" --debug" in order to retrieve kernel logs. Include the log data when asking for support or giving feedback. I'm an engineer, not a clairvoyant. Check your BIOS settings. You might want to disable Network Boot and the UEFI Network Stack as these can interfere with the driver. Double check that you have removed any other Realtek kext from your system because they could prevent the driver from working properly. Verify your bootloader configuration, in particular the kernel flags. Avoid using npci=0x2000 or npci=0x3000.  In Terminal run netstat -s in order to display network statistics. Carefully examine the data for any unusual activity like a high number of packets with bad IP header checksums, etc. In case auto-configuration of the link layer connection doesn't work it might be necessary to select the medium manually in System Preferences under Network for the interface. Use Wireshark to create a packet dump in order to collect diagnostic information. Keep in mind that there are many manufacturers of network equipment. Although Ethernet is an IEEE standard different implementations may show different behavior causing incompatibilities. In case you are having trouble try a different switch or a different cable.  
      FAQ
      How can I retrieve the kernel logs? In Terminal type "grep kernel /var/log/system.log". I want to disable Energy Efficient Ethernet (EEE) but I don't know how? Take a look at the driver's Info.plist file. There you will find an option named <key>enableEEE</key>. Change its value from <true/> to <false/>. Don't forget to recreate the kernel cache after changing the value. WoL from S5 doesn't work with this driver but under Windows it's working. Is this a driver bug? No it isn't, the driver is working as it should because OS X doesn't support WoL from S5.  
      Current status
      The driver has been successfully tested under 10.8.x and 10.9 with the B, C, D, E, F and G versions of the RTL8111/8168 and is known to work stable on these devices.  
      Changelog
      Version 2.2.2 (2018-01-21) Force ASPM state to disabled/enabled according to the config parameter setting. Requires 10.12 or newer. Version 2.2.1 (2016-03-12): Updated underlying linux sources from Realtek to 8.041.00. Added support for RTL8111H. Implemented Apple’s polled receive driver model (RXPOLL). Requires 10.11 or newer. Support for older versions of OS X has been dropped. Version 2.0.0 (2015-06-21): Uses Apple's private driver interface introduced with 10.8. Supports packet scheduling with QFQ. Please note that 2.0.0 is identical to 2.0.0d2. Only the version number has changed. Version 1.2.3 (2014-08-23): Reworked TSO4 and added support for TSO6. Version 1.2.2 (2014-08-44): Added an option to disable Active State Power Management (ASPM, default disabled) as ASPM seems to result in unstable operation of some chipsets. Resolved a problem with Link Aggregation after reboot. Added a workaround for the multicast filter bug of chipset 17 (RTL8111F) which prevented Bonjour from working properly Version 1.2.0 (2014-04-24): Updated underlying linux sources from Realtek to 8.037.00. Improved interrupt mitigate to use a less aggressive value for 10/100 MBit connections. Version 1.1.3 (2013-11-29): Improved transmit queue handling made it possible to reduce CPU load during packet transmission. Improved deadlock detection logic in order to avoid false positives due to lost interrupts. Version 1.1.2 (2013-08-03): Improved SMB performance in certain configurations. Faster browsing of large shares. Version 1.1.0 (2013-06-08): Support for TCP/IPv6 and UDP/IPv6 checksum offload added (can be disabled in Info.plist). Maximum size of the scatter-gather-list has been increased from 24 to 40 segments to resolve performance issues with TSO4 when offloading large packets which are highly fragmented. TSO4 can be disabled in Info.plist without rebuild. Statistics gathering has been improved to deliver more detailed information (resource shortages, transmitter resets, transmitter interrupt count). The interrupt mitigate settings has been changed to improve performance with SMB and to reduce CPU load. Configuration option added to allow for user defined interrupt mitigate settings without rebuild. Version 1.0.4 (2013-05-04): Moved setLinkStatus(kIONetworkLinkValid) from start() to enable(). Cleaned up getDescCommand(). Version 1.0.3 (2013-04-25): The issue after a reboot from Windows has been eliminated. Version 1.0.2 (2013-04-22): Added support for rx checksum offload of TCP and UDP over IPv6. Version 1.0.1 (2013-03-31): Improved behavior when rx checksum offload isn't working properly. Adds the chipset's model name to IORegistry so that it will show up in System Profiler.  
      Known Issues
      There are still performance problems with regard to SMB in certain configurations. My tests indicate that Apple's Broadcom driver shows the same behavior with those configurations. Obviously it's a more general problem that is not limited to my driver. WoL does not work in certain configurations. Old systems with 3 and 4 series chipsets exhibit performance issues in recent versions of macOS because there is no optimized power management for these systems in macOS anymore as Apple dropped support for the underlying hardware a long time ago. In case you are affected, please upgrade your hardware or find an alternative solution because I have no plans for a workaround. Sorry, but I don't think that it's worth the effort.  
      Getting the driver
      The source code can be found here: https://github.com/M...driver_for_OS_X There is also a pre-build binary for Mavericks and Yosemite: https://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/  
      Building from Source
      I'm using XCode 4.6.3 for development. You can get a free copy of XCode after becoming a member of the Apple developer program. The free membership is sufficient in order to get access to development tools and documentation.
    • By AbhilashSathe
      I'm currently using AppleALC inside /EFI/Clover/Kexts.
      Sound works fine through Laptop speakers. However, as soon as I connect my earphones, i start getting a continuous buzzing sound. Can anyone help me with this?

      config.plist
      SSDTS_DSDT.zip

       
      rough 
    • By LSP414
      Cannot figure out where to put custom ringtones on Catalina so I can select them in contacts. They are in the iTunes folder but are not recognized
×