Contribute
Register

Audio not working - unsupported HDEF device

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,225
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hey,
I recently got my new Lenovo Y520 laptop and I extracted my codec's AppleHDA files from AppleALC and created an injector kext, but the audio is still not working. I suspect it has something to do with my HDEF device not being supported. Although I have installed latest FakePCIID.kext & FakePCIID_Intel_HDMI_Audio.kext, I still get no audio. I am sure the AppleHDA injector kext files are valid because I tested with AppleALC and it works.

I am attaching my PR files + the injector kext.
 

Attachments

  • PR-the-braveknight.zip
    2.1 MB · Views: 50

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hey,
I recently got my new Lenovo Y520 laptop and I extracted my codec's AppleHDA files from AppleALC and created an injector kext, but the audio is still not working. I suspect it has something to do with my HDEF device not being supported. Although I have installed latest FakePCIID.kext & FakePCIID_Intel_HDMI_Audio.kext, I still get no audio. I am sure the AppleHDA injector kext files are valid because I tested with AppleALC and it works.

I am attaching my PR files + the injector kext.

Try without FakePCIID_Intel_HDMI_Audio.kext.
 

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,225
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS

Attachments

  • the-braveknight.zip
    2.3 MB · Views: 33

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Still no luck.

This ioreg shows AppleHDA not loading at all.
You should check your XML files to be sure they are correct.
(generate with patch_hda.sh).

Also, try different spoofed device-id. There are several possibilities. You can inject RM,device-id to control the spoofed HDEF id used by FakePCIID.

Don't forget about boot without caches, rebuild cache, reboot...
 

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,225
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
This ioreg shows AppleHDA not loading at all.
You should check your XML files to be sure they are correct.
(generate with patch_hda.sh).

Also, try different spoofed device-id. There are several possibilities. You can inject RM,device-id to control the spoofed HDEF id used by FakePCIID.

Don't forget about boot without caches, rebuild cache, reboot...
Okay will try that now and report back.

A side question: Is AppleLPC supposed to load on Kaby Lake? Because it’s not loading in my case.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Okay will try that now and report back.

A side question: Is AppleLPC supposed to load on Kaby Lake? Because it’s not loading in my case.

Apple does not seem to use AppleLPC on Skylake and later.
 

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,225
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
This ioreg shows AppleHDA not loading at all.
You should check your XML files to be sure they are correct.
(generate with patch_hda.sh).

Also, try different spoofed device-id. There are several possibilities. You can inject RM,device-id to control the spoofed HDEF id used by FakePCIID.

Don't forget about boot without caches, rebuild cache, reboot...
I tried with a few different ids, still no luck. I found out that AppleALC patches my device-id (0xa171) to 0xa170 which is FakePCIID's default so I removed the RM,device-id entry.

My understanding is that since AppleHDAController.kext is loading, it's not device-id related. Is that correct?

I am attaching new PR files.
 

Attachments

  • the-braveknight.zip
    1.7 MB · Views: 28
Top