Contribute
Register

OCValidate 0.8.6 My Config Errors

Joined
Mar 11, 2021
Messages
107
Motherboard
DELL OPTIPLEX 5050
CPU
i5-6600
Graphics
RX 560
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hi

Just checking my config file and when I run it through OCValidate I get the following issues:

Original path: PciRoot(0x0)/Pci(0x1F,0x03)
Path after internal conversion: PciRoot(0x0)/Pci(0x1F,0x3)
UEFI->Audio->AudioDevice is borked! Please check the information above!
CheckUefi returns 1 error!

Everything seem to be working fine on osx 12.6 using the attached EFI.

Any suggestions as what I need to do to fix the above.

Thank you
 

Attachments

  • config.plist
    50.5 KB · Views: 7

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,542
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
I would delete the PciRoot(0x0)/Pci(0x1F,0x03) section from the DeviceProperties in your config.plist. It does nothing helpful, just provides cosmetic functions.

Screenshot 2022-12-08 at 22.02.24.png

You are not using it to inject the audio codec layout-id, this is done in your boot arguments.

Screenshot 2022-12-08 at 22.02.09.png

So the PciRoot(0x0)/Pci(0x1F,0x03) section is redundant and can be deleted without any issues.
 
Joined
Mar 11, 2021
Messages
107
Motherboard
DELL OPTIPLEX 5050
CPU
i5-6600
Graphics
RX 560
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Thank you @Edhawk,

I have deleted that part and then re validated the file and still get the message. Looks like I still have the following under UEFI, should I also be deleting that?


<key>Audio</key>
<dict>
<key>AudioCodec</key>
<integer>0</integer>
<key>AudioDevice</key>
<string>PciRoot(0x0)/Pci(0x1F,0x03)</string>
<key>AudioOutMask</key>
<integer>1</integer>
<key>AudioSupport</key>
<true/>
<key>DisconnectHda</key>
<false/>
<key>MaximumGain</key>
<integer>-15</integer>
<key>MinimumAssistGain</key>
<integer>-30</integer>
<key>MinimumAudibleGain</key>
<integer>-55</integer>
<key>PlayChime</key>
<string>Auto</string>
<key>ResetTrafficClass</key>
<false/>
<key>SetupDelay</key>
<integer>0</integer>
</dict>

Thank you
 
Joined
Mar 2, 2014
Messages
1,669
Motherboard
Gigabyte Z390 I AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Air
Classic Mac
  1. Power Mac
I use PciRoot(0x0)/Pci(0x1f,0x3) in my config.plist to define the ALC1220 codec in my computer at left. With that in place, I don't need the alcid boot argument to provide audio. But PciRoot(0x0)/Pci(0x1F,0x03) is not correct.
 

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,542
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
No you don’t have to delete this section.

You just need to include a valid layout-ID, as it is currently set as 0.

You also need to make sure the address of the audio device is correct.
 
Joined
Mar 11, 2021
Messages
107
Motherboard
DELL OPTIPLEX 5050
CPU
i5-6600
Graphics
RX 560
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Thank you both, have made the changes and the config does not show any errors.

Now need to see why Ventura does not wake correctly once the machine goes to sleep.
 
Top