Jump to content

VoodooHDA 3.0.2


Slice
714 posts in this topic

Recommended Posts

I improved sources and returned a code for Mic detection which differ VoodooHDA from AppleHDA. 

VoodooHDA can detect more Mics then AppleHDA because VoodooHDA can disturb HDA standard. AppleHDA has no such permission.

New version 2.9.9 is in the first post.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...
On 2/25/2022 at 5:03 PM, Slice said:

I improved sources and returned a code for Mic detection which differ VoodooHDA from AppleHDA. 

VoodooHDA can detect more Mics then AppleHDA because VoodooHDA can disturb HDA standard. AppleHDA has no such permission.

New version 2.9.9 is in the first post.

Hi Slice,

i need your help to make VoodooHDA works.

I have completely disabled SIP and copied the kext under /L/E. As you instructed after copied i got the warning from gatekeeper. I allowed the kext and after rebuilded the kernel cache  the system rebooted. After that i can see VoodooHDA kext is loaded :

mattia@Mattias-MacBook-Pro Extensions % kextstat | grep "Voodoo"                                             
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
   57    1 0                  0x10000    0x10000    com.alexandred.VoodooI2CServices (1) 0356C79E-A02A-3739-8E68-23CF331EF37F <5 3>
   69    1 0                  0x2c000    0x2c000    org.coolstar.VoodooGPIO (1.1) 374D4E1A-3F46-3BC6-A909-D8AD3916CF1D <13 6 5 3>
   76    1 0                  0x40000    0x40000    com.alexandred.VoodooI2C (2.7) 85063110-ECD0-3B21-B824-AF696ACEF9C1 <69 58 57 14 13 6 5 3 1>
  108    0 0                  0x39000    0x39000    com.alexandred.VoodooI2CHID (1) 60F63B3B-AE97-3268-A807-C11653ED4DE0 <76 58 13 6 5 3>
  110    0 0                  0x19000    0x19000    me.kishorprins.VoodooInput (1.1.3) F3F0AEF0-FA53-3E76-823F-C9151C2B4A2F <58 6 5 3>
  126    0 0xffffff7f9cd4e000 0x25000    0x25000    org.voodoo.driver.VoodooHDA (2.9.8) F71FC261-CDDD-3A05-8F65-3CA686B808C4 <123 14 8 6 5 3>

But even if the kext is loaded i don't have any output source to chose from (i have a laptop with ALC256). No speaker nor Headphone.

What can i do to debug the problem ?

Thanks

Mattia

 

P.S. I've tried 2.9.8 and 2.9.9 version.

P.P.S. I've also tried the getdump utility but in terminal it doesn't give me any output :

mattia@Mattias-MacBook-Pro Downloads % ./getdump 
mattia@Mattias-MacBook-Pro Downloads % 

I've also checked under System Report -> Software -> Extensions and VoodooHDA has  Signature Validation Errors: Kext signature validation error code -67050

Edited by tmbt
updated info
Link to comment
Share on other sites

1 hour ago, tmbt said:

Hi Slice,

i need your help to make VoodooHDA works.

I have completely disabled SIP and copied the kext under /L/E. As you instructed after copied i got the warning from gatekeeper. I allowed the kext and after rebuilded the kernel cache  the system rebooted. After that i can see VoodooHDA kext is loaded :

mattia@Mattias-MacBook-Pro Extensions % kextstat | grep "Voodoo"                                             
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
   57    1 0                  0x10000    0x10000    com.alexandred.VoodooI2CServices (1) 0356C79E-A02A-3739-8E68-23CF331EF37F <5 3>
   69    1 0                  0x2c000    0x2c000    org.coolstar.VoodooGPIO (1.1) 374D4E1A-3F46-3BC6-A909-D8AD3916CF1D <13 6 5 3>
   76    1 0                  0x40000    0x40000    com.alexandred.VoodooI2C (2.7) 85063110-ECD0-3B21-B824-AF696ACEF9C1 <69 58 57 14 13 6 5 3 1>
  108    0 0                  0x39000    0x39000    com.alexandred.VoodooI2CHID (1) 60F63B3B-AE97-3268-A807-C11653ED4DE0 <76 58 13 6 5 3>
  110    0 0                  0x19000    0x19000    me.kishorprins.VoodooInput (1.1.3) F3F0AEF0-FA53-3E76-823F-C9151C2B4A2F <58 6 5 3>
  126    0 0xffffff7f9cd4e000 0x25000    0x25000    org.voodoo.driver.VoodooHDA (2.9.8) F71FC261-CDDD-3A05-8F65-3CA686B808C4 <123 14 8 6 5 3>

But even if the kext is loaded i don't have any output source to chose from (i have a laptop with ALC256). No speaker nor Headphone.

What can i do to debug the problem ?

Thanks

Mattia

 

P.S. I've tried 2.9.8 and 2.9.9 version.

P.P.S. I've also tried the getdump utility but in terminal it doesn't give me any output :

mattia@Mattias-MacBook-Pro Downloads % ./getdump 
mattia@Mattias-MacBook-Pro Downloads % 

I've also checked under System Report -> Software -> Extensions and VoodooHDA has  Signature Validation Errors: Kext signature validation error code -67050

Show me the list of PCI devices or better IOReg.

IORegistryExplorer2.app.zip

Link to comment
Share on other sites

2 hours ago, tmbt said:

Hey mate, have you checked my ioreg ?

Thanks

Mattia

Have patience please I am busy.

I looked at you ioreg and there is no devices attached to HDAS which should be sound device.

There is a possibility that your laptop has audio codec attached to I2C bus. I already saw such configurations.

In this case you have no chances to make sound in macOS. 

Or if you are a developer-programmer you may begin a new project to attach VoodooHDA engine to VoodooI2C driver.

It looks like not very hard problem but the programmer should have such hardware else no way.

Link to comment
Share on other sites

22 hours ago, Slice said:

Have patience please I am busy.

I looked at you ioreg and there is no devices attached to HDAS which should be sound device.

There is a possibility that your laptop has audio codec attached to I2C bus. I already saw such configurations.

In this case you have no chances to make sound in macOS. 

Or if you are a developer-programmer you may begin a new project to attach VoodooHDA engine to VoodooI2C driver.

It looks like not very hard problem but the programmer should have such hardware else no way.

But AppleALC is working. I mean i can't find the perfect layout ID for my codec (i got some problems after sleep usually) but audio e mic are working.

Is only when i try to use VoodooHDA i got no audio at all ...

Here is ioReg when using AppleALC

 

ioregWithAPPLEALC.zip

Edited by tmbt
Link to comment
Share on other sites

1 hour ago, tmbt said:

But AppleALC is working. I mean i can't find the perfect layout ID for my codec (i got some problems after sleep usually) but audio e mic are working.

Is only when i try to use VoodooHDA i got no audio at all ...

Here is ioReg when using AppleALC

 

ioregWithAPPLEALC.zip 688.79 kB · 0 downloads

If so let us begin from initial.

Are you able to load VoodooHDA to be in ioreg?

Can you use getdump utility when the VoodooHDA is loaded?

Link to comment
Share on other sites

49 minutes ago, Slice said:

If so let us begin from initial.

Are you able to load VoodooHDA to be in ioreg?

Can you use getdump utility when the VoodooHDA is loaded?

I've followed the steps in the first post. Copied the VoodooHDA kext under /L/E. When gatekeeper asked me to restart because there was a new Extension i did so and after the reboot i can see VoodooHDA.kext loaded:

126    0 0xffffff7f9cd4e000 0x25000    0x25000    org.voodoo.driver.VoodooHDA (2.9.8) F71FC261-CDDD-3A05-8F65-3CA686B808C4 <123 14 8 6 5 3>

After that i tried to run getdump utility but the i got an empty output. 

I'm not sure what else to check apart the fact that the kext is loaded using kextstat

 

Link to comment
Share on other sites

11 hours ago, tmbt said:

I've followed the steps in the first post. Copied the VoodooHDA kext under /L/E. When gatekeeper asked me to restart because there was a new Extension i did so and after the reboot i can see VoodooHDA.kext loaded:

126    0 0xffffff7f9cd4e000 0x25000    0x25000    org.voodoo.driver.VoodooHDA (2.9.8) F71FC261-CDDD-3A05-8F65-3CA686B808C4 <123 14 8 6 5 3>

After that i tried to run getdump utility but the i got an empty output. 

I'm not sure what else to check apart the fact that the kext is loaded using kextstat

 

If kextstat said loaded then the kext is loaded and must be present in ioreg.

What is csr-active value?

Link to comment
Share on other sites

9 hours ago, Slice said:

If kextstat said loaded then the kext is loaded and must be present in ioreg.

What is csr-active value?

I'm using OC 

The value in config.plist for csr-active-config is 85020000  

 

UPDATE: I've also tried with a value to completely disable SIP. Here is the crsutil status output

System Integrity Protection status: unknown (Custom Configuration).

 

Configuration:

Apple Internal: disabled

Kext Signing: disabled

Filesystem Protections: disabled

Debugging Restrictions: disabled

DTrace Restrictions: disabled

NVRAM Protections: disabled

BaseSystem Verification: disabled

 

And here is a screenshot :

 

 

353749610_Screenshot2022-03-12at14_59_02.thumb.png.f3a4110ff12de1278caecb83ce2c2527.png

 

 

Edited by tmbt
Link to comment
Share on other sites

On 3/12/2022 at 9:05 PM, Slice said:

And where is new ioreg with loaded voodoohda?

Where is getdump when the voodoohda is loaded?

Sorry but we're not understandig each other (my fault). I will attach again everything here because i've already sent you ioreg with VoodooHDA and it seemed it wasnt' loaded but it is. 

So:

kextcache output :

mattia@Mattias-MacBook-Pro ~ % kextstat | grep "VoodooHDA"
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
  135    0 0xffffff7f9cd4e000 0x25000    0x25000    org.voodoo.driver.VoodooHDA (2.9.9) E6818C99-351C-334E-BB24-E4D2A69E4431 <130 14 8 6 5 3>

Getdump output (with or withoud sudo) is EMPTY :

mattia@Mattias-MacBook-Pro Downloads % ./getdump 
mattia@Mattias-MacBook-Pro Downloads % sudo ./getdump 
Password:

ioreg with VoodooHDA loaded according to kextstat :

ioregWithVoodooHDA.zip

 

 

To load it i've used the method you described in the first post. Placing the kext in /L/E and when gatekeeper ask to add the new extension i click OK and then reboot.

After that the kext seems to be loaded but i don't have any sound

 

Just in case you want to have a comparison here is an ioreg with audio working using AppleALC (but it's not perfect after sleep):

ioregWithAppleALC.zip

 

Thanks

Mattia

 

Edited by tmbt
Link to comment
Share on other sites

Sorry, but this ioreg doesn't contain VoodooHDA while kextstat may show that a kext is loaded when and only when the kext is present in ioreg.

You do something wrong.

Link to comment
Share on other sites

  • 2 months later...

@Slice, 

 

I am getting continuous boot loop for MacOS 12 Monterey after installing VoodooHDA. I am trying to trouble shoot but I am failing to understand what is the problem

 

I have a Triple boot on the same Hardrive, Catalina, BigSur and Monterey on different partition. Same EFI is working perfectly for Catalina and BigSur it worked perfectly for Monterey before installation of VoodooHDA. 

 

I am using the open core Bootloader combination with Orlia Haswell chipset

 

My computer configuration is 

Lenovo M93p Medium Desktop 

32 GB ram 

6 monitors 

speakers wifi graphics working for Catalina and BigSur 

Wifi and Graphics working perfecrtly for Monterey. 

 

EFI.zip config.plist

Screenshot 2022-06-01 at 2.39.58 AM.png

Edited by $tealth
EFI attachment
Link to comment
Share on other sites

15 minutes ago, $tealth said:

@Slice, 

 

I am getting continuous boot loop for MacOS 12 Monterey after installing VoodooHDA. I am trying to trouble shoot but I am failing to understand what is the problem

 

I have a Triple boot on the same Hardrive, Catalina, BigSur and Monterey on different partition. Same EFI is working perfectly for Catalina and BigSur it worked perfectly for Monterey before installation of VoodooHDA. 

 

I am using the open core Bootloader combination with Orlia Haswell chipset

 

My computer configuration is 

Lenovo M93p Medium Desktop 

32 GB ram 

6 monitors 

speakers wifi graphics working for Catalina and BigSur 

Wifi and Graphics working perfecrtly for Monterey. 

 

EFI.zip 5.45 MB · 0 downloads config.plist 27.78 kB · 0 downloads

You are trying to inject VoodooHDA by OpenCore. It is impossible in Monterey.

See the link in my signature.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

@Slice i have huawei matebook d15 

it has been used everest sound card for this laptop i couldn'nt find any layout

Id to working under ALC.kext but controller is supported by alc acithentra

Sound card is not supported yet

• Intel Smart Sound - audio controller:
PCI\VEN_8086&DEV_02C8&SUBSYS_1260152D&REV_00
PCI\VEN_8086&DEV_02C8&SUBSYS_1260152D
PCI\VEN_8086&DEV_02C8&CC_040100
PCI\VEN_8086&DEV_02C8&CC_0401

• ESAuDriver Device
ACPI\VEN_ESSX&DEV_8336&SUBSYS_152D1262
ACPI\ESSX8336
*ESSX8336

is it voodoohda.kext working for this everest sound card?

please reply me i m running hackintosh without sound

 

Link to comment
Share on other sites

9 hours ago, ameenjuz said:

@Slice i have huawei matebook d15 

it has been used everest sound card for this laptop i couldn'nt find any layout

Id to working under ALC.kext but controller is supported by alc acithentra

Sound card is not supported yet

• Intel Smart Sound - audio controller:
PCI\VEN_8086&DEV_02C8&SUBSYS_1260152D&REV_00
PCI\VEN_8086&DEV_02C8&SUBSYS_1260152D
PCI\VEN_8086&DEV_02C8&CC_040100
PCI\VEN_8086&DEV_02C8&CC_0401

• ESAuDriver Device
ACPI\VEN_ESSX&DEV_8336&SUBSYS_152D1262
ACPI\ESSX8336
*ESSX8336

is it voodoohda.kext working for this everest sound card?

please reply me i m running hackintosh without sound

 

No ESSX8336 has I2C interface and so is not controlled by VoodooHDA which is intended for PCIe sound cards. we already discussed this.

9 hours ago, ThriftLover said:

Hi,

 

Does VoodooHDA 2.9.9 version work on Mac OS Leopard 10.5.8?

 

Thanks.

No, it is compiled with SDK10.11 or 10.13.

VoodooHDA was developed in 2009 when we had Leopard so yes there was a version that worked.

If you want new version to work in old system then you have to take sources and compile them in old Xcode with old SDK.

 

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

I found one new reason why VoodooHDA panics in new system.

Old functions LOCK()/UNLOCK() causes Monterey to crash.

So this is the new version 3.0.1 without these dangerous functions.

I also making DP audio to works but it seems not supported. For HDMI and DP use system driver AppleGFXHDA.kext which works with some Intel and AMD GPUs. For example with my RX570.

To do this open VoodooHDA/Contents/Info.plist and replace

			<key>IOPCIClassMatch</key>
			<string>0x04000000&amp;0xfffc0000</string>

by

			<key>IONameMatch</key>
			<string>HDAS</string>

supposing your embedded Audio has ACPI name = "HDAS"

Then VoodooHDA will not attached to HDAU device and AppleGFXHDA will work.

 

VoodooHDA.kext-v301.zip

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

I rebooted by Opencore and got VoodooHDA is not working. I checked SIP it is in the same state.

I tried to enable it again as the trick in the topic but no go. The system even not asked about security.

Rebooted by Clover I got VoodooHDA is working again. 

I don't know what is the problem.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Hi Slice,

 

in the past I had an old Haswell-based ASUS laptop with Mac OS Mojave and used VoodooHDA 2.8.x successfully to get speaker and headphone audio. No other measures where needed. I now did a clean install of Big Sur 11.6.6 on the laptop, used VoodooHDA 3.0.1 and got no audio anywhere.

 

Are the instructions here still valid? I don't have to use AppleHDADisabler? Or edit and config? Can I use Hackintool do install the kext into L/E and then flush the cache?

Link to comment
Share on other sites

1 hour ago, Bradamante said:

Hi Slice,

 

in the past I had an old Haswell-based ASUS laptop with Mac OS Mojave and used VoodooHDA 2.8.x successfully to get speaker and headphone audio. No other measures where needed. I now did a clean install of Big Sur 11.6.6 on the laptop, used VoodooHDA 3.0.1 and got no audio anywhere.

 

Are the instructions here still valid? I don't have to use AppleHDADisabler? Or edit and config? Can I use Hackintool do install the kext into L/E and then flush the cache?

Yes, the instruction is still valid. AppleHDADisabler is not needed if you don't change ACPI name to HDEF. Good name for VoodooHDA will be HDAS.

Not needed to use Hackintool, I described step by step what to do for macOS accepted the new kext. 

Link to comment
Share on other sites

Well, that might be a bit of a problem since the ALC3229 aka ALC282 is HDEF@1B and the HDMI audio is HDAU@3. Using OpenCore I can use AudioDxe to output the boot chime on the internal speakers via HDEF.

So I guess I have to use AppleHDADisabler? How can I make sure that kexts are loaded in the right order (HDADisabler first, I assume)? Is the VoodooHDA edit with "IOPCIPrimaryMatch" still the way to go?

Bildschirmfoto 2022-10-18 um 23.36.44.png

 

Should I do a DSDT patch like:

 

Quote
<dict>
                <key>Comment</key>
                <string>Rename HDEF to HDAS</string>
                <key>Find</key>
                <data>
                SERFRg==
                </data>
                <key>Replace</key>
                <data>
                SERBUw==
                </data>
            </dict>

 

Edited by Bradamante
Link to comment
Share on other sites

×
×
  • Create New...