Jump to content
ITzTravelInTime

Creative CA0132 (Sound Blaster Z series) patch for AppleHDA, VoodooHDA or AppleALC request

11 posts in this topic

Recommended Posts

Hi guys, since the creative CA0132 chip, mounted on some motherboards, is now compatible with mac using apple alc, i am asking why it should not working with the same chip on a sound blaster z series card, so i want to ask to the developer of the most used sound driver here to add support for this chip on a sound blaster z series card, i'd like to use that card with my hackintosh, up to now the only thing that can be got to work is the input on the rear with voodoo hda, so i invite you to do that because it is possible, you have already done it with the new 200 series motherboards.

 

Note that i an not an owner of one of that cards, but i will get one of them if the support will be added in the driver (i prefer that this support will be added to apple alc since i am using it in my machine)

 

Share this post


Link to post
Share on other sites
Advertisement

You're doing an awesome job, man, thank you so much for all the effort.

I've built a decent workstation based on https://www.gigabyte.com/Motherboard/GA-Z270X-Gaming-9-rev-10#kfand it has SoundBlaster ZxRi. It uses  CA0132 codec as far as i know. So far very little success trying to start it up, the only kext that made the thing work was AppleALC project, but the sound works on max settings from only one rear output and there are no volume controls.

I've discovered your work on youtube - well, damn :) - and right now I'm going to the store to pick up Audigy RX (sb1550), the one your kext works with. I'll tell you the results :)

I'm a developer myself, c/c++, never worked on drivers, however. Maybe i could be of some help to your efforts? Anyways, it would be super awesome to make CA0132 work at some point. Check out my mobo specs by the link above, it looks like a fine piece of sound equipment. Worth trying to make it work i think

Share this post


Link to post
Share on other sites

You're doing an awesome job, man, thank you so much for all the effort.

I've built a decent workstation based on https://www.gigabyte.com/Motherboard/GA-Z270X-Gaming-9-rev-10#kfand it has SoundBlaster ZxRi. It uses  CA0132 codec as far as i know. So far very little success trying to start it up, the only kext that made the thing work was AppleALC project, but the sound works on max settings from only one rear output and there are no volume controls.

I've discovered your work on youtube - well, damn :) - and right now I'm going to the store to pick up Audigy RX (sb1550), the one your kext works with. I'll tell you the results :)

I'm a developer myself, c/c++, never worked on drivers, however. Maybe i could be of some help to your efforts? Anyways, it would be super awesome to make CA0132 work at some point. Check out my mobo specs by the link above, it looks like a fine piece of sound equipment. Worth trying to make it work i think

i have forgot to answer to your post, thank you to appreciate my work, i like to collect sound cards and for my job i am a developer on apple platforms, using apple alc for the sound blaster cards is not the best since the driver is for patching the sound driver that come with mac os, the pcie cards uses the chip in a different way, so we need something to set the pci properties to get it working with apple alc like the on board audio, with things like hack the pcie registers and putting the card to be fully working with apple alc (that dose an excellent job, the audio with that kext is clean and works well on supported cards), for the audigy rx the bad thing abut the kx audio driver is that for now only output works, but they works fine, even when you manually set the card in 7.1 mode, but i still need to add proper support for the front audio header and for the dac, it is a lot of work and i need to find also some sources of a linux driver to take a look and see what they have done, and also it needs some more proper pcie initialization to get commands like volume change to work with less latency, i am also checking out other audio solutions like the cmi8738 based cards, because they are really cheap anche can be decente replacements for non working on board audio

Share this post


Link to post
Share on other sites

You're doing an awesome job, man, thank you so much for all the effort.

I've built a decent workstation based on https://www.gigabyte.com/Motherboard/GA-Z270X-Gaming-9-rev-10#kfand it has SoundBlaster ZxRi. It uses  CA0132 codec as far as i know. So far very little success trying to start it up, the only kext that made the thing work was AppleALC project, but the sound works on max settings from only one rear output and there are no volume controls.

The AppleALC.kext should work with layout-id 4,5,6. If not upload your IOReg dump.

 

 

the pcie cards uses the chip in a different way, so we need something to set the pci properties to get it working with apple alc like the on board audio, with things like hack the pcie registers and putting the card to be fully working with apple alc

Do you have more informations about PCIe cards and AppleHDA?, soon i will get a PCIe card from a work buddy.

Share this post


Link to post
Share on other sites

The AppleALC.kext should work with layout-id 4,5,6. If not upload your IOReg dump.

 

 

Do you have more informations about PCIe cards and AppleHDA?, soon i will get a PCIe card from a work buddy.

i was talking about the sound blaster z series, and as usual in many expansion cards that uses the same chip used also in some motherboards, the chip is used differently, some pci registers can also be set differently by default, i don't know much abut that cards, so i have created this thread to ask that, if could be made to work or fully work that card

Share this post


Link to post
Share on other sites

i was talking about the sound blaster z series, and as usual in many expansion cards that uses the same chip used also in some motherboards, the chip is used differently, some pci registers can also be set differently by default, i don't know much abut that cards, so i have created this thread to ask that, if could be made to work or fully work that card

I expect that the ACPI device name "HDEF" and a faked controller device ID could do the trick, including the AppleHDA patches. The class code should be 040300, I thought you have already tried it.

Share this post


Link to post
Share on other sites

Hi guys, sorry for interruption.

I have the Sound Blaster Z card, so I wonder if is there anything I can help with.  

for now the only thing is to use apple alc kext + lilu kext and there are no audio controls and only one channel should work as reported by rimzz

Share this post


Link to post
Share on other sites

Hi ITzTravelInTime, do you think cmi8738 based boards have a better support than the sound blasters (supported by your driver)?

Share this post


Link to post
Share on other sites
6 minutes ago, jubarim said:

Hi ITzTravelInTime, do you think cmi8738 based boards have a better support than the sound blasters (supported by your driver)?

i dont think so, the driver is quite old and i failed to create a version improved for more recent mac os versions and inputs on that does not works too and the only output working is the main output with the kx audio driver instaed you can use almost all the outputs of a sound blaster, and also not all the 8738 card are going to work with drivers you can find, some, like the pcie versions does not works, maybe the only thing which the cmi8738 could do better on mac os is the support for multiple frequencies, something that the kx audio driver still lacks (but i am working on it) and also the kx audio driver is not made me, is modifyed by me.

Share this post


Link to post
Share on other sites
9 minutes ago, ITzTravelInTime said:

i dont think so, the driver is quite old and i failed to create a version improved for more recent mac os versions and inputs on that does not works too and the only output working is the main output with the kx audio driver instaed you can use almost all the outputs of a sound blaster, and also not all the 8738 card are going to work with drivers you can find, some, like the pcie versions does not works, maybe the only thing which the cmi8738 could do better on mac os is the support for multiple frequencies, something that the kx audio driver still lacks (but i am working on it) and also the kx audio driver is not made me, is modifyed by me.

I see! I will stick with the kx :-) Thanks very much for the info.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ErmaC
      Please be advised that this is not a discussion topic.
       

      This topic is a "direct" line of communication between the Developers of Clover (Clover Team).
      Unless a Developer/Coder asks for more information, all the critical information of a post should be contained in the subject and first post.
      Every post will be responded to in some fashion before being locked.
       
       
       
       

      Invalid Posts
      Since we are strictly interested in issue reports on this topic, the following post/reply are likely to be deleted immediately:
      1. Discussion topic aka OFF-TOPIC (What do you all think?)
      2. Invalid issue reports
      3. Feedback / Suggestion threads.
      4. Posts requesting information about the bootloader.
      5. Posts made on other forums (Don't spam.)
      6. "Accomplishment" threads, threads to advertise screenshots unrelated to bug reports.
      7. Posts requesting status updates on existing issues.
       
       
    • 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. 
       
      With my mod, created starting from the sources of the last version of kx audio driver, and also by using apple developer documentation for pci and audio drivers as reference, i am working to achieve 2 things mainly: get all the cards supported by the driver to work with all the recent versions os macOS and add support for other cards that are not officially supported by the driver that works or could, but needs to be more properly supported.
       
      This driver is made to support cards based on the E-mu 10k1, 10k2 and similars (like what is used by audigy rx and audigy 4 cards).
       
      Supported cards are:
       
       - most of the sound blaster live!, live! 5.1 and live! 5.1 digital series
       - sound blaster 512
       - sound blaster 256
       - other creative and e-mu sound cards based on the 10k1 chip (cards with the ES1370/ES1371/ES1372/ES1373 chips are not supported)
       - sound blaster Audigy series (1 st gen)
       - sound blaster Audigy 2  and audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip
       - Some Audigy 4 cards (SB0610 only) and the audigy 4 pro
       - Sound blaster Audigy RX (sb0155)
       - other creative and e-mu cards based on the (10k2, 10k2,5 and CA10300 based cards)
       
      NOT supported cards:
       
       - Any ISA Sound card
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - CMI8738/CMI8788 based 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
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5 series
       
      In the time being the things i have modded or added with this mod are:
       
      - increased the simple buffer frames number with different values for emu10k1 based cards and emu10k2 based cards (including recent audigy 4 and rx) to reduce and all the audio cracking issues and possibly fixing all of them on a lot of cards
       
      - added a more proper support for the pci express sound blaster audigy rx (which basically is an audigy 4 with a pcie bridge chip) 
       
      - added more fancy names for the cards in the settings and other 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 added lots of sample rates (from 8 khz to 176,4 khz) to accomodate any possible usecase (note that 10k1 sound cards are limited up to 48khz sample rate, and 10k2 based cards are limited to 176,4 khz because of issues getting 192 khz to work, for now the driver goes up to 176,4 khz for such cards) 
       
      - added boot args to manage the driver:
       
      Boot args to use with the kx audio driver mod: -kx_disable or -kxdisable or -kxoff This will prevent the driver from doing any initialization work, so the driver is basically disabled, use it to boot your ssytem in case the driver is giving you issues and kernel panics while you are trying to boot/using your system, so you are able to remove this driver or replace it with another version of it or to do some truble shooting. -kx_debug or -kxdebug or -kxspec Will show more debug info about the card, mainly the i/o port address and the kind of bus that it uses -kx_exp_deb or -kx_beta or -kxbeta Will enable experimental and probably not working or unstable features like showing inputs for the card or 192 khz sampling rate, use it only for testing and debug purposes, this may likely cause instability and problems in the everyday usage! Use it at your own risk! -kx_original or -kxoriginal This will basically turn off almost all the mods of this mod, so the driver will come to work as it was before modding it, this can be usefoul as a "safe mode" like feture to have a working driver in case of problems with features of the mod, so using this means no crsking issues improvements, only 48 khz sample rate and only features of the non-modded kx audio driver for mac os x  
      - created a script file to use with the driver for installing the driver and also to load/unload, update, repolace it and it's libraries.
       
      What i'd like to implement but i don't know how to do:
       
       - I'd like mainly to add a more proper support to the pci bridge chip of the audigy rx,
       
       - have audio inputs working,
       
       - 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 me, you can, and also an hand from other people with testing and feedback will be nice.
       
      link for the kext only (if you have clover put it in [your clover efi folder]/clover/kexts/[your macOS version]/ so it will not be deleted when updating macOS):
               - download from the downloads section:          kX Audio Driver Mod by ITzTravelInTime 1.01                                                                                    - external download:                                      https://dl.dropboxus...Driver.kext.zip   link for the installer pack (the best way to install it, but you have to reinstall it when you upgrade macOS, remeber to fix kext permitions and rebuild the kernelcache if you want to remove the kext from it's install directory without using the unistall feature of the provvided script):              - download:                                                   https://dl.dropboxus...aller pack.zip   Source code from Git Hub:          -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   NOTE: Some system because of some problems with the HPET may need to use FixHPET in clover and to install the kext in /System/Library/Extensions or to do other kind of hpet mods to run the driver properly, but only on some systems, most systems should not require it  






    • By moman2000
      Hi,
       
      Here it is (attached) for anyone who needs it for patching or restoring!
       
      Taken from macOS 10.14 Beta 1 18A293u
       
      Regards,
      Mohamed
      AppleHDA_282.5.kext.zip
    • By rio2
      How to make AppleHDAController load on Ryzen boards?
      Rename(/add) your audio controller to your DSDT/SSDT as HDEF Add a _DSM method to your HDEF device with layout id 1 Patch the AppleHDAController binary, because it has a static table containing the supported PCI Vendor/DeviceID pairs and it also checks the VendorID against known values. As an example I provide a dif file and patched 10.13.3 binary, but if you want to I can patch the binary for other versions.  
      After AppleHDAController loads to actually get sound working you need to patch AppleHDA.kext for the codec on your board. First I tried to use Lilu+AppleALC for this task, but for some reason it refused to work. (I might look into it later why) But for the time being it was easier to use toleda's cloverALC script for that, but to make it work I had to change(/remove) the specified location of the HDEF device from the script. And for some reason it also required me to mount the EFI partition manually.
       
      Change this:
      if [[ $(cat /tmp/HDEF.txt | grep -c "HDEF@1") != 0 ]]; then Into this:
      if [[ $(cat /tmp/HDEF.txt | grep -c "HDEF") != 0 ]]; then  
      AppleHDAController_Patched10.13.3
      AppleHDAController-10.13.3-AMD.bdiff
×