Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

On 12/12/2018 at 7:04 AM, markilark said:

So I've recently put Mojave on my HP Envy Laptop (The HP Envy L6F68AV (15t-q400)) which uses the ALC290 (with the Realtek ALC3241 codec) the 6700hq, and GTX 950m which I assume has HDMI audio out with the HDMI port, though I have no use for this. This particular laptop has Bang & Olufsen speakers which have a subwoofer as a component of them. It has one 3.5mm jack for audio with a microphone in the built in webcam. I'm running Mojave. 

I've read the Clover guide and followed it as closely as possible, though I have not completed the steps towards solving some unrelated issues such as sleep and backlighting. In doing so, I've placed AppleALC along with Lilu in my Library/Extensions folder. In my plist file, I've tried setting the layout-id as 3, 4, and 28 as per the AppleALC guide for the ALC290. I also have applied the HDAS to HDEF patch. All of these layouts produce an internal speaker option in the sound devices, but do not produce audio. Layouts 3 and 28 show my internal microphone working, though I obviously cannot hear anything except for when headphones are attached, which changes the internal speakers option to headphones and outputs audio.

I've gone through the HP Envy guide and attempted to use it to reconfigure my plist and kexts, which produced a lot of errors and I ended up doing a fresh install. Likewise, I've gone over the audio troubleshooting guide by RehabMan here several times to no avail. I've tried manually injecting the AppleHDA file (after which I reverted to the original), and I've tried VoodooHDA - which worked but was extremely tinny as I think it was only outputting from one the tweeters (I have a pair of speakers and a subwoofer on the laptop). The headphones work well with VoodooHDA however. 

Attached I've included all the necessary problem reporting information (I think), and also included information extracted from Linux about my card and audio devices. I should probably note that while the speakers were working in Linux (Ubuntu), the subwoofer was not. I am aware this is a common problem but have seen some things around here saying there was a way to get them to work - I think it included muxing them down into another channel? Some linux threads have been posted on other forums describing a way to fix the issue, though I doubt it would apply to MacOS. I've also attached my codec dump. 


I'd appreciate any help I could get - it's driving me nuts! I've tried CodecCommander and all layout ids possible for my codec. 

debug_26626.zip

dumpcodec.rtf

 

I think I've managed some progress but still can't get the sub to work :/

Link to comment
Share on other sites

22 hours ago, Orangeboomerang said:

InsanelyDeepak --- THANK YOU!    I can now see internal speakers in preferences>sound, but sound still doesn't quite work.   When I play music I see the internal mic volume going up, but internal speakers volume level were flat-lined.  It's like it's mixing them up or something.   Seriously though more progress than I've seen in a LONG time!  Out of curiosity what did you change in the config?... so I can share what you changed to help others with similar problems.

 

Anyways, here's the output from kextstat

 

APPLEs-iMac:/ apple$ kextstat | grep -y hda

  102    2 0xffffff7f820ca000 0xc000     0xc000     com.apple.iokit.IOHDAFamily (282.10) 917C1366-DF57-3FE5-A81C-D1111AB3DA4E <6 5 3 1>

  103    1 0xffffff7f820d9000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (282.10) 41CE33FB-FED7-36D3-A3DF-03B036329B10 <102 94 90 13 8 7 6 5 3 1>

  137    0 0xffffff7f83362000 0xb7000    0xb7000    com.apple.driver.AppleHDA (282.10) 9BB2B0F6-EDD8-397A-9EBB-05508910C3EC <136 103 102 95 94 90 7 6 5 3 1>

  138    0 0xffffff7f83419000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (282.10) 85D7FB08-FE70-34A5-8525-0A3AA29225E9 <5 3>

 

 

 

thanks!

you must switch between layoutID to see which suites you better try 3 or 13 

if still no input/output is good post codec_dump will look for changes required 

 

 

Quote

  Out of curiosity what did you change in the config?... so I can share what you changed to help others with similar problems.

IRQ Fix patch you can use with DSDT or Config.plist 

 

Link to comment
Share on other sites

1 hour ago, Orangeboomerang said:

"you must switch between layoutID to see which suites you better try 3. "

 

DUDE.    I did this and it WORKS.  I've been working SO hard.  THANK YOU.   

 

THANK YOU. THANK YOU. THANK YOU.   !!!!!!!!!!!!!!!!!!!!

 

Merry frickin christmas!

 

 

great, enjoy good sound 

 

Quote

Merry frickin christmas!

you too :thumbsup_anim:

Link to comment
Share on other sites

hi, insainlyDeepak, I'm using your layout 16 on gigabyte z390 aorus master, Now I can finally see my audio devices, but none of the output has a audio output, and I think this z390 aorus master has a different config than other normal z390 board, can you make a new layout for this? 

 

I have card codec dump from linux. would you please help me check if this is a different layout?

 

Sorry, My bad, the internal speaker DID work after a cold boot. but output shows me two line out? that is not possible, right?

 

and this board's audio is able to output 32bit/192000 hz, but in midi setup, I only have 32bit/96khz

 

Thanks!

card0.txt

Edited by steve3d
Link to comment
Share on other sites

2 hours ago, steve3d said:

hi, insainlyDeepak, I'm using your layout 16 on gigabyte z390 aorus master, Now I can finally see my audio devices, but none of the output has a audio output, and I think this z390 aorus master has a different config than other normal z390 board, can you make a new layout for this? 

 

I have card codec dump from linux. would you please help me check if this is a different layout?

 

Sorry, My bad, the internal speaker DID work after a cold boot. but output shows me two line out? that is not possible, right?

 

and this board's audio is able to output 32bit/192000 hz, but in midi setup, I only have 32bit/96khz

 

Thanks!

card0.txt

your Codec: Realtek ALC1220 

i don't think there is layout16 for ALC1220

1242641285_ScreenShot2018-12-16at7_42_09PM.png.5b79cbafa44f575edbcdfc8a8764f462.png

 

Quote

I have card codec dump from linux. would you please help me check if this is a different layout?

sure i will osx version ??

 

 

Link to comment
Share on other sites

On 12/11/2018 at 12:19 PM, insant9999 said:

hi again so my front panel is damaged beyond repair is there any way to remap "Internal Speakers" to "Headphones" or somehow get amplified output to headphones from motherboards green connector? "Internal Speakers" i get poor audio quality compared to "Headphones" output. On windows realtek have updated their software and lets users choose output type for each port on the motherboard.

any possible help?

Link to comment
Share on other sites

8 hours ago, insant9999 said:

hi tried all 1-3 layouts i get headphones now in output devices. but the quality on max volume is still pretty bad compared to windows. i guess this gonna be enough for now until i get a new mobo. thanks a bunch

Screen Shot 2018-12-18 at 12.56.10 AM.png

yeah i also suffering from low output from headphone , can you use http://froyosoft.com/SoundBoosterLite.zip or Boom3D 

boom is paid and sounderBooster is free as well better i'm using it too from very long time 

Edited by insanelyDeepak
Link to comment
Share on other sites

17 hours ago, insanelyDeepak said:

yeah i also suffering from low output from headphone , can you use http://froyosoft.com/SoundBoosterLite.zip or Boom3D 

boom is paid and sounderBooster is free as well better i'm using it too from very long time 

not 100% sure but i think i was getting decent audio from front panel while i was playing with front panel connector (at least you could feel noticeable difference) maybe i'll get dac+amp soon and get proper sound

Link to comment
Share on other sites

@insanelyDeepak

thank you for the layout, I've tested all 1,2,5,7,11, and seems layout 1 has the right the jack number. but all of these layout are marked my  speaker as headphone. layout 2 missing line in, layout 5,7,11 no sound. and 5,7,11 says I have a internal microphone. that's not possible for a desktop computer.

 

Anyway, thanks!~

Link to comment
Share on other sites

×
×
  • Create New...