HP elitedesk 800 G1 USDT; won't boot with applealc

I am transitioning this computer from Clover, (built with corpnewts vanilla haswell guide), running Catalina 10.15.4 to Opencore 0.57. The computer works perfectly with clover, HDMI sound plus built in alc221 sound all work fine with AppleALC.

However, with opencore, this computer will not load applealc properly with the correct layout id 11 or 15 for alc221 codec, alcid=11 in nvram or layout id 11 under device properties. In device properties the value I add is <0B000000>. The computer stops booting at ioconsolesusers: giolockscreen ….. than eventually panics. The panic message is related to the AppleHDAcontroller. I am using AppleALC v 1.48 with lilu 1.4.3.

If I remove AppleAlc the machine boots without issue but without any sound. If I add applealc and set the layout id to <0B> under device properties the computer boots and I have HDMI sound but no sound thru the mb builtin connectors. Ioregistry shows the AppleHDAcontroller and IOHDAcodecDevice attaching to HDEF PCIO@1B,0 but no IOHDACodecDriver. HDAU is fully loaded.

I checked out the applealc troubleshooting guide and eventually determined that if I remove the fixHPET ACPI fix in clover I get the same behavior with opencore namely a panic at boot.

I tried adding the HPET ssd patch to opencore using the ssdtime script but it did not fix the problem. I also noticed that this computer has limited slide values available (1-255).

COMPUTER SPEC: HP Elitedesk 800 G1 USDT. Bios v 2.18 with modified unlocked CFG

It has a laptop style Haswell mb with an unpopulated mx video card slot.

Install method: Dortania opencore vanilla, OC 0.57 running Catalina 10.15.4., IMAC14,2 platform

Cpu = I5-4570s

HD4600 IGPU

2 x 4gb ddr3 sodium’s

Broadcom 4360cs2 bluetooth and wireless card

ALC 221 codec - layout 11 works in clover with applealc

Ethernet= intel L817vm -use mausiethernet kext works fine

submitted by /u/bilben1
[link] [comments]