Jump to content

OpenCore General Discussion


dgsga
8,805 posts in this topic

Recommended Posts

10 hours ago, subandit said:

in dortania guide it says:

Note that you should not add your generated DSDT.aml here, it is already in your firmware. So if present, remove the entry for it in your config.plist and under EFI/OC/ACPI. 

without dsdt i have instant-wake problem

 

1) look in the system log see the reason for (instant wake) search for PMRD
log show --today  --predicate 'processImagePath contains "kernel" ' | egrep -i "wake|pmrd"
 

2) you could perhaps compare your old DSDT (where sleep works) to the OC patched DSDT to see where there are diffs.

 

----- my 2 cents

I believe the point of the comment is:  let OC patch APCI for you. And you dont need to provide the DSDT since it is aready readily available.

for me with my SandyBridge hack for example - 98% of the ACPI mods/edits/patches were hand-edited in the DSDT or with RehabMan tools etc - thats how it was done in those days.  I.E. the era before the more popular "hot-fix" method of ACPI patching or now we have OC + SSDT etc. so the point it is, I chose to use my already fixed up macOS compatible DSDT.aml with OC. but that was my choice.

 

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

Hey guys having a bit of trouble blocking a device.

 

I have the WIFI module on my board enabled and see the following that is automatically detected by OC:

 

177400742_ScreenShot2020-06-04at11_48_59AM.thumb.png.e7b8e34f3934d16214397f53a77efb44.png

 

When I add that block to Delete, it does nothing. Any help would be appreciated.

 

 

Edited by Tiem
Link to comment
Share on other sites

14 hours ago, tluck said:

my son's AUO LCD broke and i replaced with an LG. and besides being a much superior LCD, it didnt have any glitches! So i have another T420 with AUO and it still sucks to look at but with the LG EDID it doesn't freeze up.

 

 

don't know why it freezes? turn on -v to see what is really going on. So yes. you build a the USB with the dosude1 tool with standard appStore Catalina. my SMBIOS is mbp8,1.  format the USB as GPT. Then if you want to boot directly from the USB, just put the same OC (or Clover) EFI onto the ESP of the USB. obviously you need to make made sure the OC bundle is fulling working on macOS (then it will work for an installer too). i did so by switching from Clover to OC.  have been using OC for about 3 weeks now, and after the learning curve to get the config right, it works without any issues.

 

 

Yeah, it was my Embedded Controller. It was called EC0 on my DSDT. I renamed it EC and now Catalina boots. I didn't create an installer. Used Install on this machine from Dosdude Catalina Patcher and works amazing!

 

However I can't get to load IOath3kFrmwr.kext, so I don't have bluetooth. I read a guide to use a small Linux VM to load the BT firmware to see if it works. If it doesn't I will go back to High Sierra.

 

Currently using the MacBookAir EDID and works amazing so far. Warmer colors, too.

 

Cheers!

  • Like 1
Link to comment
Share on other sites

1 hour ago, el_charlie said:

@vit9696

 

On a PS2 keyboard (laptop), the actions keys are working? 

 

I have ShowPicker set to NO and I can't enable the picker by holding Alt or Escape. I use OpenCanopy. I think it worked on 0.5.8.

FWIW I couldn't get this working either on the latest build. I tried every combination of settings related and just could not get OC to register the key. I can see on my keyboard that the key press is received (using an Apple Wireless Keyboard with a T919).

Link to comment
Share on other sites

27 minutes ago, makk said:

tluck, question where to get EDID for LG LCD?

 

I have 15.5 15.4 inch display

 

thank you very much

I have a 27' LG 4K (850UK) if you want me to dump it's EDID for you.

Link to comment
Share on other sites

4 hours ago, Tiem said:

I have a 27' LG 4K (850UK) if you want me to dump it's EDID for you.

will that work?  I have 15.5"

 

Please do.

Thank you

I've trying all kinds

no luck

 

Edited by makk
Link to comment
Share on other sites

5 hours ago, makk said:

tluck, question where to get EDID for LG LCD?

 

I have 15.5 15.4 inch display

 

thank you very much

in this case size doesnt matter. what is your screen resolution? 1600x900 is what i have.
 

Tiem's monitor probably is way too high res (4k) for a typical laptop LCD - which tend to be 1366x768, 1600x900, or 1920x1080. so no, it likely wont be useull.

Edited by tluck
Link to comment
Share on other sites

6 minutes ago, tluck said:

in this case size doesnt matter. what is the screen resolution. 1600x900 is what i have.

1366x768 

16x10

 

 

I've been reading over your install guide

it's amazing

I looked at your DisplayVendorID for the three you have listed on GitHub dowloaded

 

The DisplayProductIDs are quite different from the ones in Overrides,

did you create them using different method?

 

I pretty much followed a different guide a while back and it doesn't pan out.

Could you explain this further how you managed to get it done and working?

 

A bit more details?

 

thanks tluck

Edited by makk
Link to comment
Share on other sites

@makk

 

you can try to inject this EDID for 1366x768

00FFFFFF FFFFFF00 06AF3C31 00000000 00140103 801F1178 0A10B697 58579226 1E505400 00000101 01010101 01010101 01010101 0101121B 56465000 23303020 360035AD 10000018 0000000F 00000000 00000000 00000000 00200000 00FE0041 554F0A20 20202020 20202000 000000FE 00585858 58585858 58585831 200A0023

 

its for an AUO but i seem to recall modifying it years ago.

since you have the github. you can install the matching DisplayVendorID-6af/DisplayProductID-313c

 

in red color you see 06af - 3c31 --- the 2nd set of byes are swapped is is 313c 

inside the file, the values for 06af and 313c are converted to decimal and boom they work. they may provide a better color profile for you.

 

 

 

 

 

Edited by tluck
Link to comment
Share on other sites

can we fix RTC0 wake issue in OC?

here is log

Quote

2020-06-05 09:29:33.054811+0900  localhost powerd[70]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"

2020-06-05 09:31:03.202325+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 09:31:03.202328+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 11:32:29.436731+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 11:32:29.436733+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 13:32:29.077551+0900  localhost powerd[70]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"

2020-06-05 13:34:01.621258+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 13:34:01.621260+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 15:35:26.356412+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 15:35:26.356414+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC0 (Alarm)

2020-06-05 17:35:25.085111+0900  localhost powerd[70]: [powerd:sleepWake] Wake reason: "<private>"  identity: "<private>"

2020-06-05 17:36:47.272055+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB (User)

2020-06-05 17:36:47.272057+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB (User)

 

Quote

    Scope (_SB.PCI0.LPCB.RTC)
    {
        Method (_STA, 0, NotSerialized)  // _STA: Status
        {
            If (_OSI ("Darwin"))
            {
                Return (Zero)
            }
            Else
            {
                Return (0x0F)
            }
        }
    }

    Scope (_SB.PCI0.LPCB)
    {
        Device (RTC0)
        {
            Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */)  // _HID: Hardware ID
            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                IO (Decode16,
                    0x0070,             // Range Minimum
                    0x0070,             // Range Maximum
                    0x01,               // Alignment
                    0x02,               // Length
                    )
            })
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }
        }
    }

 

in clover, i used it blow

What does "Disable Sleep Proxy Client?

disableSleepProxy.png.cfacfc86150911f89275d5d6da5005d4.png
If your computer wake itself from sleep each n hours it's probably due to the Bonjour service called "Sleep Proxy Client". If you don't want this to happen you may want to disable it.

In 10.15+ this functionality require the filesystem to be writable to add a special argument to the mDNSResponder launch daemon. By disabling the checkbox the service get re-enabled as per default, but then will require a  read-write filesystem, at least for the next reboot.

Note: if the filesystem is not writable the daemon will try to make it read-write to do the modification even if "Make filesystem read-write" is turned off.

 

i used this option(rtc-blacklist,DisableRtcChecksum)

 

Link to comment
Share on other sites

Can I ask for help with VoodooI2C trackpad?

It works well with _OSI to XOSI rename and Windows trick. But I tried to switch to second method, that don’t need renames.

I found that I have GPEN and SBRG variables, so I used custom SSDT to set them to one according to this guide - https://dortania.github.io/Getting-Started-With-ACPI/Laptops/trackpad-methods/manual.html

But touchpad not working at all.

Did I miss something else?

Link to comment
Share on other sites

12 hours ago, tluck said:

@makk

 

you can try to inject this EDID for 1366x768

00FFFFFF FFFFFF00 06AF3C31 00000000 00140103 801F1178 0A10B697 58579226 1E505400 00000101 01010101 01010101 01010101 0101121B 56465000 23303020 360035AD 10000018 0000000F 00000000 00000000 00000000 00200000 00FE0041 554F0A20 20202020 20202000 000000FE 00585858 58585858 58585831 200A0023

 

its for an AUO but i seem to recall modifying it years ago.

since you have the github. you can install the matching DisplayVendorID-6af/DisplayProductID-313c

 

in red color you see 06af - 3c31 --- the 2nd set of byes are swapped is is 313c 

inside the file, the values for 06af and 313c are converted to decimal and boom they work. they may provide a better color profile for you.

 

 

 

 

 

Greetings Tluck,

 

Yes I did not notice this.  Thank you for showing me.  

 

I was using injection method for EDID into S L D C R O directory previously but the colors were too bright and tearing would happen, kaleidoscope affects strange twightzone stuff.

 

I had no idea.  You pointed me and showed me what it is.

 

Profiles .icc in Sys Prefanes gets built in Overrides darn.

 

I am also using Hackintool and as of yesterday went with MacBookPro Profile > 610 A014 

 

Charlie went with MacBook Air and haven't heard back from him on the forum to see if it has solved his problem.

 

I did get one small glitch this morning on a picture.  So it is still not perfect. 

 

I tested your profiles and it did not work.  Strange

 

any suggestions on how to make this more simple?  I created using Hackintool but I lost my original in the process.  Would not copy or move correctly into the target directory proper.

 

 

Link to comment
Share on other sites

19 hours ago, el_charlie said:

 

Yeah, it was my Embedded Controller. It was called EC0 on my DSDT. I renamed it EC and now Catalina boots. I didn't create an installer. Used Install on this machine from Dosdude Catalina Patcher and works amazing!

 

However I can't get to load IOath3kFrmwr.kext, so I don't have bluetooth. I read a guide to use a small Linux VM to load the BT firmware to see if it works. If it doesn't I will go back to High Sierra.

 

Currently using the MacBookAir EDID and works amazing so far. Warmer colors, too.

 

Cheers!

Greetings Charlie

 

Did the MacBook Air Display Profile solve your screen Display problems?

 

I switched to MacBook Pro profile using Hackintool. I did get one glitch on a PNG or JPG on Facebook sight.  So it is still not perfect.  

 

When Profiles for Display do not line up with the Monitor, Scan lines and all this, it starts to corrupt the output.  Scan lines in Display Sys Prefanes. > .icc there are lots in Overrides Directory.  Can remove all the ones that don't work it's there for modeling.  Just put in there all the ones your machine can use and stock up.  Get different color profiles.

 

Also, Charilie make sure EC0 and EC are not in the same place on IOREG

 

Each one has to have it's own identifier

 

----EC. < EC00000000 as reference Fake ID Using Fake SSDT-EC.aml profrom OC ACPI example or see below

^--------ApplePower-----

----EC0

---^^ your DSDT

 

You can download USBMAP which checks to see if you have SSDT-UIAC.aml,

EC SSDT, UsbInjectall.kext to create a mapping for your USB which solves a lot of issues.  Previously I did not have these problems until Sierra (didn't know Sierra changed from El Capitan in ACPI)

 

I read rehab man's instructs and well it worked.

But not all of his works because it is machine specific. He use different machines. Asus is not industry standard and mixes and matches Intel and AMD in their ACPI.  For instance for LPC it is SBRG. Screws everything up.

Cannot change names or else issues arise.  Cannot change names to the ones Rehabman suggests such as change EC0 to EC. doing this will mess up your PC.  So it has to be done by OC or Clover in Patches to Fake the Apple.

 

It has to be "Faked" or no boot and or all kinds of problems arise if it boots.

Luckily this is Intel MB.  Sandybridge so certain things pass. The one's that don't pass no boot.  

 

With OC don't have to inject DSDT into ACPI, but if you don't have SSDT's to take care of your lets FNkeys, > tluck, does a great job making an SSDT for his FNkeys.  Have to learn how to do this.  My PC doesn't like Voodoo Controller and Voodoo anything spits it out. Keys left in mismatch, delays system does not compute correctly Will Robinson.

 

Let me know how MacBook Air profile works out

 

 

 

 

Edited by makk
Link to comment
Share on other sites

On 6/3/2020 at 12:42 AM, kecinzer said:

I don't know if we understand each other correctly.

 

I understand what you said before perfectly fine. I think you're not understanding, the system is booting. It went into a power state that turned off devices to save energy, it has to boot again but slightly differently as I said. This is actually pretty quick most the times and you probably don't really realize it unless something is causing a delay, like the screen needing to be initialized because this wasn't done during boot because it was not a full boot, it just woke the graphics device.

 

On 6/3/2020 at 12:42 AM, kecinzer said:

This not happens when system booting, but when I lock screen (CMD + CTRL + Q) - it also turn off all displays and then I wake it. It happens only with external display(s) connected and when laptop wasn't at sleep before.

 

I don't understand what this means. What do you mean wasn't at sleep before? It only sleeps one time when it sleeps and wakes, then never again? Never wakes again? Or the problem only happens the first time it sleeps? Or it's only happening after sleep? I suspect the last. And it seems to me that it is causing resolution negotiation on the external displays because they also went to sleep (from loss of signal, which is why you get a screen saying this, it is actually already out of being able to work with the graphics cards until it is reinitialized) and are also being woken up. Do you have macOS set to never sleep or hibernate? Because you are not simply just locking your screen, that keyboard shortcut is a power management function as well. https://support.apple.com/en-us/HT201236#sleep

Link to comment
Share on other sites

Hi. I posted a couple of days ago but no replies yet. I am having an issue since OC 0.5.9, Windows will not boot. I get blue screen with "ACPI_BIOS_ERROR_STOP"

 

My windows installation is on a separate NVME SSD to my macOS installation. If I revert to OC 0.5.8 all is well and Windows boots. I've attached the 0.5.9 EFI I'm using

 

Could one of you excellent people help me solve this?

0.5.9.zip

Link to comment
Share on other sites

×
×
  • Create New...