Contribute
Register

[Guide] HP Elite 8300 & 6300 Pro (all form factors) using Clover UEFI hotpatch

Workaround for mic problem

@Sniki,

I think I found the source of the mic problem, at least on my 8300 machine.
It seems like AppleALC enables almost all of the ALC221 functionality, but my
mic wouldn't turn on with the recipe here.

With the prior recipe, we installed CodecCommander, hda-verb, and part of the
DSL configured the ALC221 with three hda-verbs, which would be enabled
on init, on sleep, and/or on wake. I found that, following the old recipe and
installing CodecCommander in /Library/Extensions, it worked as before. However,
when CodecCommander was installed in EFI/Clover/Kexts/Other, the verbs for init
don't seem to work. However, if you put the machine to sleep and woke it back up,
the verbs for wake work and the mic is working.

I looked more carefully at the verbs in the DSL file, and appears that only one more
is needed to make the mic work. It was the first command in the DSL file, i.e.,

Package (0x08)
{
// hda-verb 0x1a SET_PIN_WIDGET_CONTROL 0x24
"Command",
Buffer (0x04)
{
0x01, 0xA7, 0x07, 0x24
},

"On Init",
">y",
"On Sleep",
">n",
"On Wake",
">y"
}

The hda-verb syntax to run the same command is:

hda-verb 0x1a SET_PIN_WIDGET_CONTROL 0x24

If you run it in a terminal, the system responds as follows:

nid = 0x1a, verb = 0x707, param = 0x24
command 0x01a70724 --> result = 0x00000000

So here are preliminaries for two possible work arounds:

1. Install CodecCommander in EFI/Clover/Kexts/Other
2. Install hda-verb in /usr/local/bin

The first solution is
1. install the attached SSDT-CC-MINI, saved as an ASL file, in /EFI/Clover/ACPI/Patched
2. Put the machine to sleep and wake it up to use the mic

The second solution is
1. save the command

hda-verb 0x1a SET_PIN_WIDGET_CONTROL 0x24

as a script file, e.g. micturnon.sh, in a convenient place
2. if necessary, change permissions to make it executable, i.e. chmod +x micturnon.sh
3. execute the command, or the script file micturnon.sh, from the terminal when you want to turn on the mic

I think it should be easy to incorporate this one hda-verb command in AppleALC, but I don't know how.
 

Attachments

  • SSDT-CC-MINI.dsl
    1.6 KB · Views: 76
View attachment 447573
[/QUOTE]

Itwas,

Thanks for posting this chart. I did some testing with a HP 8300 with an i5-3570K
with HD4000 graphics and an Asus ROG Strix RX 570 graphics card. The HP is configured
as a MacMini6,1 in SMBIOS.

I confirmed that AppleTV is working with the shikigva=80 boot flag, both with HLS videos
like Snoopy and mp4 movies like The Clowns. I can stream or download and watch them later
without problems, and it seems more responsive, but that may just be the improved graphics
card.

The chart does not make it clear how to configure the IGPU in IGPU+AMD mode. In my test,
I enabled the IGPU in BIOS as the secondary video interface and the AMD as primary. I did not
need to configure an AAPL,ig-platform-id or any other property in config.plist in Devices / Properties
for the device PciRoot(0)/Pci(0x02,0). IORegistryExplorer told me the IGPU defaulted to a headless
ig-platform-id of 07006201 with device-id 62010000, and it works fine like that.

VideoProc however, tells me that H264 and HEVC are Unavailable in this mode, and Hackintool
says the VDA Decoder Failed. It also cannot play the Sony Food Fizzle HEVC cleanly in this mode.

Lisa
 
Lisa

it is possible Macmini configure with dGPU (external dGPU)

Macmini6,x lack of the Thunderbolt 3 Port, that can be connected to the external dGPU, maybe you can try other SMBIOS

These mac models which have the Thunderbolt 3 Port, but they are using newer CPU (IGPU), not IvyBridge
  • iMac Pro
  • iMac models from 2017
  • Mac mini (2018) ("Coffee Lake")
  • MacBook Pro models from 2016 or later
  • MacBook Air (Retina, 13-inch, 2018)
 
Lisa

it is possible Macmini configure with dGPU (external dGPU)

Macmini6,x lack of the Thunderbolt 3 Port, that can be connected to the external dGPU, maybe you can try other SMBIOS

These mac models which have the Thunderbolt 3 Port, but they are using newer CPU (IGPU), not IvyBridge
  • iMac Pro
  • iMac models from 2017
  • Mac mini (2018) ("Coffee Lake")
  • MacBook Pro models from 2016 or later
  • MacBook Air (Retina, 13-inch, 2018)
I don't have an external GPU, this is an internal RX570 GPU. I have been using other SMBIOS settings mostly,
but did some testing for better perspective on the MacMini6,1 and HD4000 as advocated by Sniki
 
With regard to HEVC, I wanted to report that I followed the lead of @trankilou post #1383 in


In my HP 8300 CMT, I have an i5-3570K with HD4000 graphics set as secondary in BIOS Advanced/VGA configuration,
and have an AMD Radeon RX 570 (the Asus ROG Strix 0x1002 0x67df) set to primary. The HD4000 is automatically
configured with a headless AAPL,ig-platform-id of 07006201 by Clover/WEG without any config.plist device entry for
the IGPU. The SMBIOS is set to MacMini6,1.

I entered two commands in terminal to force use of the AMD graphics:

defaults write com.apple.AppleGVA gvaForceAMDKE -boolean yes
defaults write com.apple.AppleGVA gvaForceAMDHEVCDecode -boolean yes

When I checked performance with VideoProc, I noticed the H264 resolution increased from UHD to 4K.
Although VideoProc still reports that HEVC is Unavailable, HEVC videos such as Sony Food Fizzle now
play smoothly in Quicktime.

I also rechecked AppleTV content. Mp4 movies play fine in AppleTV or Quicktime, HLS video plays fine,
and streaming is still good, and my only boot argument is

shikigva=80
 
Upgraded to version 10.15.4 Beta (19E224g) without problems, but lost HEVC.
 
Under both MacMini6,1 and iMacPro1,1.
 
Under both MacMini6,1 and iMacPro1,1.

Later discovery:

On 10.15.4 beta, with my RX 570 machine and MacMini6,1 SMBIOS,
HEVC was recovered by installing HEVCenabler.kext from post #3 here
for the Ellesmere accelerator:


and invoking the two commands from terminal:

defaults write com.apple.AppleGVA gvaForceAMDHEVCDecode -boolean yes
defaults write com.apple.AppleGVA gvaForceAMDKE -boolean yes

On 10.15.4 beta, with my RX 560 machine and ImacPro1,1 SMBIOS,
HEVC was recovered by installing dummy152.kext for the Baffin accelerator.
 
Last edited:
hello
is it normal that the audio icon is disabled if I select dvi or hdmi output?
The audio, however, is played regularly, only I don't have the adjustment.
 
Back
Top