Jump to content

Creative CA0132 (G1.Sniper M3) patch for AppleHDA or VoodooHDA


wern apfel
 Share

801 posts in this topic

Recommended Posts

You also have AppleALC @/S/L/E, and probably some other kexts. Make sure that you have all kexts only at one place /S/L/E, /L/E or clover/kexts/Other. Because of dependencies, not all kexts are working from "Other" folder. But Lilu, and his plugins are working from "Other" folder.

I think for working graphics card you need the NvidiaGraphicsFixup.kext + Lilu, use the latest releases.

The audio pin configuration is wrong, you probably have also installed a CA0132.kext!? remove it.

 

All you need for audio is: AppleALC + Lilu @clover/kexts/Other or the fully patched AppleHDA @/S/L/E. In both cases you need the HDAS to HDEF clover patch, and the provided CodecCommander.kext to /L/E.

Thanks for your help but at last ​ I lost my efi partition and I have tried to erase my SSD and completely reinstall my OS High Sierra with a USB stick but after the boot from High Sierra on the installation SSD I get the message /System/Installation/Packages/OSInstall.mpkg appears to be missing or damaged.

 

I don't know what to do I think I'll give my efforts up.\

Link to comment
Share on other sites

Thanks for your help but at last ​ I lost my efi partition and I have tried to erase my SSD and completely reinstall my OS High Sierra with a USB stick but after the boot from High Sierra on the installation SSD I get the message /System/Installation/Packages/OSInstall.mpkg appears to be missing or damaged.

 

I don't know what to do I think I'll give my efforts up.\

A fresh install should fix the most issues.

If you have already the newest clover, temporary remove the EmuVariableUefi-64.efi driver from your EFI folder to bypass the OSInstall.mpkg issue.

Link to comment
Share on other sites

A fresh install should fix the most issues.

If you have already the newest clover, temporary remove the EmuVariableUefi-64.efi driver from your EFI folder to bypass the OSInstall.mpkg issue.

Can I use my own EFI folder because I have tried it with a created one by the newest version of Clover.

Maybe that is my mistake.

Here is my EFI folder that gives me te failure also without the EmuVariableUefi-64.efi driver.

EFI.zip

Link to comment
Share on other sites

Install clover to the ESP, so far i remember clover cannot be installed on a APFS formatted drive.

Forgive me but what do you mean with ESP?

 

Verstuurd vanaf mijn Lenovo TAB 2 A10-70F met Tapatalk

Link to comment
Share on other sites

Thanks for your explanation. Thanks your persistent help I will try another effort and In let you know my results.

 

Verstuurd vanaf mijn Lenovo TAB 2 A10-70F met Tapatalk

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

I still with the same issue.

 

After the system's waked I have not sound on headphones. The rest  output/inmput are ok.

 

 

I do not know what to do.

 

If I use the app made by Wern Apfel I have the same issue just when I open it.

 

 

Thanks a lot....!!!

Try this updated switcher, you should always select the first output device in the audio prefpane. Save and upload your IOReg.

CA0132AudioSwitcher.zip

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Try this updated switcher, you should always select the first output device in the audio prefpane. Save and upload your IOReg.

attachicon.gifCA0132AudioSwitcher.zip

 

great thread lots of information.

My audio in rear out is working fine on my Gigabyte z170 Gaming 7 board 10.12.6.

but like others unable to have control with the keyboard volume slider.

audio shows that i have voodoo driver installed. 

 

do i add apple and lilu kext to OTHER folder to make the volume control work? currently it is empty.

this is the current Apple and Lilu kext in my Clover, 10.12 folder. 

AppleALC.kext.zip

Lilu.kext.zip

Link to comment
Share on other sites

 

great thread lots of information.

My audio in rear out is working fine on my Gigabyte z170 Gaming 7 board 10.12.6.

but like others unable to have control with the keyboard volume slider.

audio shows that i have voodoo driver installed. 

 

do i add apple and lilu kext to OTHER folder to make the volume control work? currently it is empty.

this is the current Apple and Lilu kext in my Clover, 10.12 folder. 

 

If you want to use AppleALC, you should remove VoodooHDA, HDADisabler, CA0132.kext and all audio related kexts. Install the CodecCommander.kext from the 1st post to /L/E or /S/L/E, make sure the AppleHDA.kext is unchanged. AppleALC and Lilu should work from Other folder or 10.12.

Save and upload your IOReg.

Link to comment
Share on other sites

If you use a Gigabyte Gaming 7 mainboard without custom DSDT you'll also need the HDAS to HDEF clover-patch.

Here a fully patched AppleHDA attachicon.gifAppleHDA_10.13.1_layout-ID_0.zip, it gives you the default outputs. Install it with a KextUtility.

For headphones and front microphone you can use this switcherattachicon.gifCA0132AudioSwitcher.zip

A backup of your AppleHDA.kext could be useful later!

 

 IORegistryExplorer

Hi Wern Apfel

 

I did it with this files and explanation I succeeded in installing High Sierra with audio.

 

Thanks very much.

 

Harry

  • Like 1
Link to comment
Share on other sites

Hi Wern Apfel

 

I did it with this files and explanation I succeeded in installing High Sierra with audio.

 

Thanks very much.

 

Harry

 

how difficult was it to update to high sierra i also have Gaming 7 also. did you update through the app store?

Link to comment
Share on other sites

how difficult was it to update to high sierra i also have Gaming 7 also. did you update through the app store?

I had no problem. Besides it I have replaced my graphics card with a Radeon 560x so I didn't have to use other drivers. I use 

AppleIntelIE1000e, ArtherosE2200Ethernet,FakeSMC Lilu and Whatevergreen kext files. After download from store and startup install HS I had ca. 4 times a reboot (which is I think normal. I use a backup or trial SSD off a 256GB. 

Link to comment
Share on other sites

Hi Wern Apfel

 

I did it with this files and explanation I succeeded in installing High Sierra with audio.

 

Thanks very much.

 

Harry

Thanks for the feedback.

 

how difficult was it to update to high sierra i also have Gaming 7 also. did you update through the app store?

Before you update make sure you use the latest Clover, AppleALC and Lilu.

Link to comment
Share on other sites

Hello, i'm a newbie. I have just install hackintosh for hours. And i'm also sorry for my bad English.
How can I define which layout-id is suitable for my laptop? I'm using alienware M17x r4. It has 4 3.5 audio jack. They are headphone, headset, micro and optical out. My laptop also has a stereo micro in front of screen. I think layout-id 1 is suitable but I still don't know how to change to that layout.

Tell me anything you need to give a guide for me.

Thank you very much and sorry for my bad English again.

Link to comment
Share on other sites

Hello, i'm a newbie. I have just install hackintosh for hours. And i'm also sorry for my bad English.

How can I define which layout-id is suitable for my laptop? I'm using alienware M17x r4. It has 4 3.5 audio jack. They are headphone, headset, micro and optical out. My laptop also has a stereo micro in front of screen. I think layout-id 1 is suitable but I still don't know how to change to that layout.

Tell me anything you need to give a guide for me.

Thank you very much and sorry for my bad English again.

You can define the layout-id by entering the value in the config.plist or a custom DSDT/SSDT, where the DSDT/SSDT has higher priority.

Layout-id 1 should work for you, but with only one headphone jack. With the necessary information, we can also activate the second headphone jack. Save and upload your IOReg for further investigations. 

 

config.plist

<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>
Link to comment
Share on other sites

 

You can define the layout-id by entering the value in the config.plist or a custom DSDT/SSDT, where the DSDT/SSDT has higher priority.

Layout-id 1 should work for you, but with only one headphone jack. With the necessary information, we can also activate the second headphone jack. Save and upload your IOReg for further investigations. 

 

config.plist

<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>

I tried this but it does not recognize input neither output

Link to comment
Share on other sites

I tried this but it does not recognize input neither output

As mentioned in the previous post, a custom DSDT has a higher priority and the entry in the config.plist has no effect. Also you've not uploaded your IOReg, which makes troubleshooting easier.

Link to comment
Share on other sites

As mentioned in the previous post, a custom DSDT has a higher priority and the entry in the config.plist has no effect. Also you've not uploaded your IOReg, which makes troubleshooting easier.

This is what I patched in DSDT

        Device (HDEF)
        {
            Name (_ADR, 0x001B0000)  // _ADR: Address
            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)  // _PRW: Power Resources for Wake
            {
                Return (Package (0x02)
                {
                    0x0D, 
                    Zero
                })
            }

            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                           
                    })
                }

                Return (Package (0x06)
                {
                    "layout-id", 
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                         
                    }, 

                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }, 

                    "PinConfigurations", 
                    Buffer (Zero) {}
                })
            }
        } 

m17x.ioreg.zip

Link to comment
Share on other sites

 

This is what I patched in DSDT

        Device (HDEF)
        {
            Name (_ADR, 0x001B0000)  // _ADR: Address
            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)  // _PRW: Power Resources for Wake
            {
                Return (Package (0x02)
                {
                    0x0D, 
                    Zero
                })
            }

            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                           
                    })
                }

                Return (Package (0x06)
                {
                    "layout-id", 
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                         
                    }, 

                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }, 

                    "PinConfigurations", 
                    Buffer (Zero) {}
                })
            }
        } 

Did you saved the IOReg after the DSDT patch? If so, you also have an SSDT in the patched folder, your layout-id is 3! 

You also need the IRQ fixes: FixHPET, FixIPIC, FixRTC, FixTMR. Which should also fix the not working EH01 device.

post-448675-0-80305000-1517500433_thumb.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...