Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

20 minutes ago, brousseau6933 said:

Sorry arsradu, too lazy myself to try latest Lilu and AppleALC: is this bug solved with latest releases in case you tried them?

 

Thanks,

 

Patrice

 

Hi Patrice,

 

I'm currently on Lilu 1.3.5 (official) and AppleALC 1.3.7 (built by me). Aaand...so far so good.

 

If you wanna try them on your computer, you can find them attached to this post.

AppleALC1.3.7&Lilu1.3.5.zip

 

Edit: Now I saw that 1.3.7 is officially released. So...I guess it should be fixed with this release. Haven't tried it yet.

Edited by arsradu
  • Like 1
Link to comment
Share on other sites

41 minutes ago, arsradu said:

 

Hi Patrice,

 

I'm currently on Lilu 1.3.5 (official) and AppleALC 1.3.7 (built by me). Aaand...so far so good.

 

If you wanna try them on your computer, you can find them attached to this post.

AppleALC1.3.7&Lilu1.3.5.zip

 

Edit: Now I saw that 1.3.7 is officially released. So...I guess it should be fixed with this release. Haven't tried it yet.

Thanks a bunch, I'll try it first on an USB stick to be sure...

Link to comment
Share on other sites

Hi,

 

I am facing the same problem with Audio. Audio is not detected sometimes (actually com.apple.driver.AppleHDA and com.apple.driver.AppleHDAController are loaded all the times but not com.apple.driver.AppleHDAHardwareConfigDriver). While if I use AppleALC 1.3.4, audio comes all the times "on a successful boot". The problem with AppleALC 1.3.4 is that sometimes my boot hangs (I couldn't see any specific error in verbose mode) and then I have to force shutdown the laptop and boot OSX again. Sometimes it is booted in one go, and sometimes two go. Version above AppleALC 1.3.4 (that include all 1.3.5, 6 and 7) the system boots all the times but then audio is not detected sometimes. 

Currently I have AppleALC 1.3.4 and Lilu latest. I have built, AppleALC, AirportBrcmFixup and Whatevergreen from source using Lilu 1.3.5 (the latest one). I tried using Lilu official built, and tried building Lilu also from source. Same results. I attach herewith the debug files from my computer. Please help.

debug_26817.zip

Link to comment
Share on other sites

Hey, using Mojave 10.14.4 & ALC1220-VB (Z390 Aorus Ultra)

my headphones connected to the front audio jack and speakers connected to the back audio jack.

My headphones and Internal speakers use the same output when opening the Audio menubar.

 

If my headphones are connected sounds works only through the headphones using the "Headphones" output. If I remove the headphones connector, the headphones output is changing to "Internal speakers". Selecting it will output audio through the speakers.

 

I'd like to be able to switch between outputs without removing the headphones connector.

 

On previous setup I managed to do so by changing the layout-id. With this board, I tried all these ids: 1,2,5,7,11,13,15,16,27

And none of them helped.

 

Any help would be appreciated. 

Edited by Shasoosh
Link to comment
Share on other sites

Hi.

 

From HP ZbooK 15UG4 :

 

Put CX7700 codec dump again but with Clover 4920.

As usual, Conexant (unknown) by Clover, and of course, no sound, with layout ID 21 or 3 with latest LiLu and AppleALC Flavor.

 

Recognize by Linux or Hackintool as CX8200, but no, after looking directly on the chip, it's a CX7700

 

This chip is present on HP PRoBooK 430,450,470 G4 family too.

 

Hope this help

 

Regards

 

 

CX7700CodecDumP.zip

Edited by DoZe
Link to comment
Share on other sites

On 4/27/2019 at 6:23 PM, Shasoosh said:

Hey, using Mojave 10.14.4 & ALC1220-VB (Z390 Aorus Ultra)

my headphones connected to the front audio jack and speakers connected to the back audio jack.

My headphones and Internal speakers use the same output when opening the Audio menubar.

 

If my headphones are connected sounds works only through the headphones using the "Headphones" output. If I remove the headphones connector, the headphones output is changing to "Internal speakers". Selecting it will output audio through the speakers.

 

I'd like to be able to switch between outputs without removing the headphones connector.

 

On previous setup I managed to do so by changing the layout-id. With this board, I tried all these ids: 1,2,5,7,11,13,15,16,27

And none of them helped.

 

Any help would be appreciated. 

 

Anyone can help with compiling a version that supports this?

Link to comment
Share on other sites

@Shasoosh

layout-id 16 is for Gigabyte Z390 and ASRock Z390
does this work with you in the SwitchMode (outputs) and the inputs too???
If so, then I can configure you ManualMode.

 

 

@DoZe

please make codec dump with LinuxLive (for example Ubuntu)

Terminal command:

cd ~/Desktop && mkdir CodecDump && for c in /proc/asound/card*/codec#*; do f="${c/\/*card/card}"; cat "$c" > CodecDump/${f//\//-}.txt; done && zip -r CodecDump.zip CodecDump
Edited by MacPeet
  • Like 1
Link to comment
Share on other sites

20 hours ago, MacPeet said:

@Shasoosh

layout-id 16 is for Gigabyte Z390 and ASRock Z390
does this work with you in the SwitchMode (outputs) and the inputs too???
If so, then I can configure you ManualMode.

 

 

Thanks for the reply. 16 shows Headphones regardless if headphones are connected and if selected, will always play sound through the speakers. Also, Mic doesn't work with 16.

Link to comment
Share on other sites

On 4/27/2019 at 12:39 PM, osamazhar said:

Hi,

 

I am facing the same problem with Audio. Audio is not detected sometimes (actually com.apple.driver.AppleHDA and com.apple.driver.AppleHDAController are loaded all the times but not com.apple.driver.AppleHDAHardwareConfigDriver). While if I use AppleALC 1.3.4, audio comes all the times "on a successful boot". The problem with AppleALC 1.3.4 is that sometimes my boot hangs (I couldn't see any specific error in verbose mode) and then I have to force shutdown the laptop and boot OSX again. Sometimes it is booted in one go, and sometimes two go. Version above AppleALC 1.3.4 (that include all 1.3.5, 6 and 7) the system boots all the times but then audio is not detected sometimes. 

Currently I have AppleALC 1.3.4 and Lilu latest. I have built, AppleALC, AirportBrcmFixup and Whatevergreen from source using Lilu 1.3.5 (the latest one). I tried using Lilu official built, and tried building Lilu also from source. Same results. I attach herewith the debug files from my computer. Please help.

debug_26817.zip

Can somebody help me with this? I have moved to VirtualSMC (and its sensors, thought may be it is related to ACPI battery kext because I suspect that boot hanged when charging state was changed (from plugged-in to on battery)) but boot is now hanging more frequently. I am using VoodooI2C for my trackpad. With VirtualSMC I see the trackpad works better than with FakeSMC and its kexts. But this audio problem and boot hangs is really bothering. 

Link to comment
Share on other sites

@Shasoosh

 

I can not give the changed ID 1 to the release. The original ID 1 in SwitchMode is not developed by me. This was just a try.
I can bring a new ID to the release.

Try this with ID28:

 

trial2_AppleALC.kext_ID28.zip


If it works, then I can release LayoutID 28 - ALC1220 for Z390 Aorus Ultra - Output SP/HP manual mode.

Edited by MacPeet
Link to comment
Share on other sites

Hi everyone! I'm new to this and quite confused. I have a ASUS VIVOBOOK N580VD and I'm not sure what codec it used or which files I need.

I read: An iDiot's Guide To Lilu and its Plug-in's but I guess I'm too much of an idiot haha. If anyone could point me in the right direction that would be highly appreciated!

 

Motherboard:X580VD
CPU: i7-7700HQ (Kaby Lake FCBGA-1440)
GPU: Intel HD630 / GTX1050 (2GB)
RAM: 16GB (Samsung M47A1K43CB1-CRC DDR4 2x8GB PC4 2400T SA1-11)
SSD: 256GB Micron 1100 M.2 (MTFDDAV256TBM)
SSHD: 2TB FireCuda (ST2000LX001)
Ethernet: Realtek RTL8168
WIFI: Intel 8265NGW M.2 (Needs to be replaced)

Built-in Display: B156HAN06.1 (q8-@X,E)

Audio: Haven't figured that out yet.

Link to comment
Share on other sites

7 hours ago, Denisuu said:

Hi everyone! I'm new to this and quite confused. I have a ASUS VIVOBOOK N580VD and I'm not sure what codec it used or which files I need.

I read: An iDiot's Guide To Lilu and its Plug-in's but I guess I'm too much of an idiot haha. If anyone could point me in the right direction that would be highly appreciated!

 

Motherboard:X580VD
CPU: i7-7700HQ (Kaby Lake FCBGA-1440)
GPU: Intel HD630 / GTX1050 (2GB)
RAM: 16GB (Samsung M47A1K43CB1-CRC DDR4 2x8GB PC4 2400T SA1-11)
SSD: 256GB Micron 1100 M.2 (MTFDDAV256TBM)
SSHD: 2TB FireCuda (ST2000LX001)
Ethernet: Realtek RTL8168
WIFI: Intel 8265NGW M.2 (Needs to be replaced)

Built-in Display: B156HAN06.1 (q8-@X,E)

Audio: Haven't figured that out yet.

 

1 minute ago, bingo_jake said:

anyone know what layout-id I should use with AppleALC  for  HD Audio, Realtek® ALC3245 codec   on ThinkPad 460P ?

 

 

 

 

Look here: https://olarila.com/forum/viewtopic.php?f=28&t=9788

Link to comment
Share on other sites

Hi @vit9696 and @vandroiy2012 i make commit in here https://github.com/acidanthera/AppleALC/pull/404

I Fix may typo pin config for ALC294, and i add HDA Controller patch for Intel WhiskeyLake Notebook,, device id of HDEF in WhiskeyLake notebook is 0x9DC8. I make controller patch for it. And i test it and working in WhiskeyLake notebook. No Need FakePCIID.kext and FakePCIID_INTEl HDMI.kext anymore :)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...