Jump to content
8755 posts in this topic

Recommended Posts

19 minutes ago, doddos920 said:

Hi, I want to ask, how to add fake imei on config.plist Opencore? 

Add device-id IMEI in DeviceProperties 

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md

But if the device IMEI (HECI, MEI, etc.) is absent in ACPI, you should add in DSDT/SSDT, that fake device-id was applied.

Edited by Andrey1970

For my laptop im unable to get CPU low power mode. I am using SSDT-PLUG

1.2Ghz seems to be as long as it wants to go when it should go down to 800Mhz?

Lid sleep also is not working.

 

Screen Shot 2020-04-19 at 9.13.05 pm.png

config.plist

 

1346393084_ScreenShot2020-04-21at3_16_07pm.png.14b50793a341d6c1b250ef2a516dc9f0.png

 

MacBook Pro.zip

Edited by SavageAUS
4 hours ago, SavageAUS said:

 

Screen Shot 2020-04-19 at 11.13.15 pm.png

 

Out of topic but have you noticed the Date Modified tab of your screenshot? Tomorrow? Is it a bug? Or I don't understand English at all.

Edited by insanefrancis

Sorry if this is a silly question, I have recently changed over to OpenCore from Clover, have done some research but can't find an answer to this.  

 

In the OpenCore config.plist should I be including the patches that I used to use in Clover ... eg change XHCI to XHC, change XHC1 to XHC, change GLAN to GIGE etc...?

 

I have compiled the SSDT files (AWAC, EC, HPET, PLUG, PMC etc..) and included them as shown in the installation guides. Completed USB mapping and stuff and the system is running pretty well.

 

Just wondering if I should have also added each of the patches I used to use in clover? I note that one big difference is that I had never used SSDTs before and wonder if having those takes over the need for the other patches.

 

Thanks in advance for the advice

 

__

MSI MPG z390 Gaming Plus, I5-9600KF, ASUS RX580, BCM94360CD, macOS Catalina 10.15.4, OpenCore


 
9 hours ago, alkemix said:

Audiodevice is correct ( gfxutil -f HDEF  ),  audiocodec and audio out are indispensable, How do I know what the values are ?  

Screen Shot 2020-04-20 alle 00.53.41.png

 

Clues are in the Configuration manual:
 

1. AudioCodec
Type: plist integer
Failsafe: 0
Description: Codec address on the specified audio controller for audio support.
Normally this contains first audio codec address on the builtin analog audio controller (HDEF). Audio codec addresses, e.g. 2, can be found in the debug log (marked in bold):
OCAU: 1/3 PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/VenMsg(<redacted>,00000000) (4 outputs) OCAU: 2/3 PciRoot(0x0)/Pci(0x3,0x0)/VenMsg(<redacted>,00000000) (1 outputs)
OCAU: 3/3 PciRoot(0x0)/Pci(0x1B,0x0)/VenMsg(<redacted>,02000000) (7 outputs)
As an alternative this value can be obtained from IOHDACodecDevice class in I/O Registry containing it in IOHDACodecAddress field.
  
3. AudioOut
Type: plist integer
Failsafe: 0
Description: Index of the output port of the specified codec starting from 0.
Normally this contains the index of the green out of the builtin analog audio controller (HDEF). The number of output nodes (N) in the debug log (marked in bold):
OCAU: 1/3 PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/VenMsg(<redacted>,00000000) (4 outputs) OCAU: 2/3 PciRoot(0x0)/Pci(0x3,0x0)/VenMsg(<redacted>,00000000) (1 outputs)
OCAU: 3/3 PciRoot(0x0)/Pci(0x1B,0x0)/VenMsg(<redacted>,02000000) (7 outputs)
The quickest way to find the right port is to bruteforce the values from 0 to N - 1.

 

21 minutes ago, EC0 said:

Please if anyone know what can i do tell me

 

Hi

 

If you need help: before complete your signature (config, motherboard, OC version, etc), tell what macOS you want to install. Post before in the right macOS topic! 

  • Like 1
56 minutes ago, Matgen84 said:

 

Hi

 

If you need help: before complete your signature (config, motherboard, OC version, etc), tell what macOS you want to install. Post before in the right macOS topic! 

hi Sir thanks for reply i put my system information in signature

and i want install 10.15.4 macOS Catalina

  • Like 1
1 minute ago, EC0 said:

hi Sir thanks for reply i put my system information in signature

and i want install 10.15.4 macOS Catalina

 

Your GTX 1060 is not supported on Catalina. The highest you can go is High Sierra.

  • Like 1
2 minutes ago, insanefrancis said:

 

Your GTX 1060 is not supported on Catalina. The highest you can go is High Sierra. 

thanks for info but i want why not detected My hard drive because when if i try  install High Sierra maybe the problem still with me

this my EFI file

 

 

EFI.zip

27 minutes ago, EC0 said:

thanks for info but i want why not detected My hard drive because when if i try  install High Sierra maybe the problem still with me

this my EFI file

 

 

EFI.zip

 

You're several problem with your folder structure:

  • remove boot and bootlex.log, keep EFI folder
  • put Resources folder in OC directory

On your screenshot, your USB Toshiba is formatted MBR, why? macOS recognize your key as Internal drive? Try to recreate USB Installer from createinstallmedia method with GPT/macOS journalized pen drive for example.

  • Like 1

Hello,

I have some problem with the boot audio, I'd want to play chime at startup.

The setup seems correct, but I have an error in OpenCore log (OCAU: Cannot find specified audio device - Not Found).

From Opencore log:

07:634 00:006 OCAU: Matching PciRoot(0x1)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)...
07:640 00:006 HdaCodecAudioIoGetOutputs(): start
07:647 00:006 HdaCodecGetSupportedPcmRates(): start
07:653 00:006 HdaCodecGetOutputDac(): start
07:659 00:006 HdaCodecGetSupportedPcmRates(): start
07:665 00:006 HdaCodecGetOutputDac(): start
07:671 00:006 HdaCodecGetSupportedPcmRates(): start
07:677 00:006 HdaCodecGetOutputDac(): start
07:683 00:005 HdaCodecGetSupportedPcmRates(): start
07:689 00:006 HdaCodecGetOutputDac(): start
07:695 00:005 OCAU: 1/2 PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (4 outputs) - Success
07:701 00:006 HdaCodecAudioIoGetOutputs(): start
07:707 00:005 HdaCodecGetSupportedPcmRates(): start
07:713 00:005 HdaCodecGetOutputDac(): start
07:719 00:005 HdaCodecGetSupportedPcmRates(): start
07:725 00:006 HdaCodecGetOutputDac(): start
07:732 00:006 HdaCodecGetSupportedPcmRates(): start
07:738 00:006 HdaCodecGetOutputDac(): start
07:744 00:006 HdaCodecGetSupportedPcmRates(): start
07:750 00:006 HdaCodecGetOutputDac(): start
07:756 00:006 HdaCodecGetSupportedPcmRates(): start
07:762 00:006 HdaCodecGetOutputDac(): start
07:768 00:006 HdaCodecGetSupportedPcmRates(): start
07:775 00:006 HdaCodecGetOutputDac(): start
07:781 00:006 HdaCodecGetSupportedPcmRates(): start
07:787 00:006 HdaCodecGetOutputDac(): start
07:793 00:005 OCAU: 2/2 PciRoot(0x0)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (7 outputs) - Success
07:799 00:006 OCAU: Cannot find specified audio device - Not Found
07:806 00:006 OC: Audio connection failed - Not Found

The 4 outputs device is HDAU from my nvidia gpu card, the 7 outputs device is HDEF from the integrated audio device.

From gfxutil -f HDEF:

./gfxutil -f HDEF
00:02.0 8086:1d20 /PCI0@0/HDEF@2 = PciRoot(0x1)/Pci(0x2,0x0)

Relevant section of config.plist:

		<key>Audio</key>
		<dict>
			<key>AudioCodec</key>
			<integer>0</integer>
			<key>AudioDevice</key>
			<string>PciRoot(0x1)/Pci(0x2,0x0)</string>
			<key>AudioOut</key>
			<integer>0</integer>
			<key>AudioSupport</key>
			<true/>
			<key>MinimumVolume</key>
			<integer>20</integer>
			<key>PlayChime</key>
			<true/>
			<key>VolumeAmplifier</key>
			<integer>1000</integer>
		</dict>

.......

		<key>Drivers</key>
		<array>
			<string>HfsPlusLegacy.efi</string>
			<string>OpenRuntime.efi</string>
			<string>UsbMouseDxe.efi</string>
			<string>AudioDxe.efi</string>
			<string>OpenCanopy.efi</string>
		</array>

HDEF is Realtek ALC899 (Vendor ID: 0x10EC0899).

I tried AudioOut from 0 to 7, same error.

I'm able to dump the codec from the OpenShell with HdaCodecDump, see attached.

 

 

Audio resources are in their place:

oc.png.bee568d49189b187c681f01ba9b33d27.png

 

 

Not sure why OpenCore is reporting the address PciRoot(0x0)/Pci(0x2,0x0) instead of PciRoot(0x1)/Pci(0x2,0x0) as specified in the config.plist?

 

Do you think is it a bug?

I thought to open a github issue for this, but not sure where to place, if in "Bug in OpenCore or KEXTs" or in "Bug in tools or applications", and if this can be classified as a bug...I know vit9696 and all the devs have a lot of work to do and I don't want to make them waste time for nothing.

What do you think?

 

Thanks

 

dump.txt

Edited by ghost8282

Help with Hotpatch (instant wake). 

 

I have a Thinkpad t470, and have it running well with opencore. However I still need to apply a static patch to my DSDT. 

 

My DSDT has in device XDCI:

 

           Name (_PRW, Package (0x03)  // _PRW: Power Resources for Wake
            {
                0x6D,
                0x03,
                \_SB.PCI0.LPCB.EC.PUBS
            })

 

That is causing wake from sleep.

 

Comparing to my XHC, that has: 

 

         Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
         {
                Return (Package (0x02)
                {
                    0x6D,
                    Zero
                })
        }

 

That I can fix with a 0x6d patch. 

 

 

My DSDT static patch converts (in XDCI) : the Name (_PRW, Package (0x03)  to a Method (_PRW, 0, NotSerialized). I then follow by the 0x6d rename and I am good to go. 

 

Is it possible to do this by pure hotpatching? 

 

Many Thanks,

Scott. 

12 hours ago, Andrey1970 said:

Simply download OpenCore source code from master and launch macbuild.tool
https://github.com/acidanthera/OpenCorePkg/archive/master.zip

 

Morning,

 

Thanks for the link. Tried to compile it with XCode but it fails saying there is a lexical or preprocessor issue. Its been a while since I played with XCode but I suppose theres something in build settings that needs to be configured?

 

Thanks

CPU: Intel Xeon X5680

MB: X58

Boot type: USB OC Legacy

OC version: 0.5.7

 

Failing to boot the macOS installer after first reboot when installing.

 

Anyone seen this error before?  (XNU hook)

 

72:857 00:161 OCB: Performing OcShowSimpleBootMenu... 0
73:015 00:158 OCB: BootNext has not been found
73:175 00:159 OCB: BootOrder is unavailable - Not Found
73:336 00:160 OCB: Initial default is 0, fallback
84:492 11:155 OCB: Should boot from macOS Installer (T:2|F:0|DEF:0)
84:813 00:321 OCB: Perform boot macOS Installer to dp PcieRoot(0x0)/Pci()/Sata()/HD(2,GPT,,,)/\macOS Install Data\Locked Files\Boot Files\boot.efi (0/0)
84:996 00:182 OCB: Matching <> args on type 2 0
85:165 00:168 OCOS: OS set: <null> Mac OS X 10.15
85:326 00:161 OCOS: OS set: Apple Inc. Mac OS X 10.15
85:516 00:189 Trying XNU hook on \macOS Install Data\Locked Files\Boot Files\prelinkedkernel
86:050 00:534 Kext reservation size 7487488
99:463 13:412 Comp kernel (26165004 bytes) cannot be read at 00000000
99:759 00:295 Result of XNU hook on \macOS Install Data\Locked Files\Boot Files\prelinkedkernel is Invalid Parameter
110:953 11:193 OC: Boot failed - Aborted
111:249 00:296 OCB: StartImage failed - Aborted

 

Edited by FlipBot76
13 hours ago, davidm71 said:

 

Xcode complains that I don't have a developer certificate installed so won't compile...

 

Showing Recent Issues

No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "5DG8PLV54H" with a private key was found.

 

Sounds like you are trying to compile OCBuilder app itself. Just download the release and run it.

  • Like 3
Just now, Pavo said:

Sounds like you are trying to compile OCBuilder app itself. Just download the release and run it.

 

Unfortunately I can't find the 0.5.8 release. 

 

Anyway to overcome the compilation error? Must be something simple..

 

Thanks

1 minute ago, davidm71 said:

 

Unfortunately I can't find the 0.5.8 release. 

 

Anyway to overcome the compilation error? Must be something simple..

 

Thanks

I wasn't talking about OpenCore 0.5.8 release I was talking OCBuilder.app download the release of that and run the app to compile OpenCore 0.5.8 automatically. 

https://github.com/Pavo-IM/ocbuilder/releases/download/7.2.4/OCBuilder.app.zip

4 minutes ago, Pavo said:

I wasn't talking about OpenCore 0.5.8 release I was talking OCBuilder.app download the release of that and run the app to compile OpenCore 0.5.8 automatically. 

https://github.com/Pavo-IM/ocbuilder/releases/download/7.2.4/OCBuilder.app.zip

 

Thank you. So much more easier than using XCode.

 

Thanks

1 hour ago, davidm71 said:

 

Morning,

 

Thanks for the link. Tried to compile it with XCode but it fails saying there is a lexical or preprocessor issue. Its been a while since I played with XCode but I suppose theres something in build settings that needs to be configured?

 

Thanks

 

Simply make that that I wrote. You don't need to launch xcode. The third-party utility OCBuilder it isn't necessary.

×
×
  • Create New...