kecinzer Posted June 8, 2020 Share Posted June 8, 2020 Dear community, I converted my laptop configuration from Clover to OpenCore and now I try to completely clean it to OC standards. Only 2 things left. 1) RTC hack Currently I’m using this ACPI rename, that causes shortening of RTC device length to 0x02 (normally it’s 0x08). Without this hack, every time I restart laptop, I see BIOS POST about real time clock changes. <dict> <key>Comment</key> <string>RTC fix</string> <key>Count</key> <integer>0</integer> <key>Enabled</key> <true/> <key>Find</key> <data> RwFwAHAAAQg= </data> <key>Limit</key> <integer>0</integer> <key>Mask</key> <data> </data> <key>OemTableId</key> <data> </data> <key>Replace</key> <data> RwFwAHAAAQI= </data> <key>ReplaceMask</key> <data> </data> <key>Skip</key> <integer>0</integer> <key>TableLength</key> <integer>0</integer> <key>TableSignature</key> <data> </data> </dict> I would like to convert it to new Open Core rtc-blacklist variable. 2) Touchpad I2C GPI0 hack Currently I’m using _OSI to XOSI rename and „Windows“ hack, that works ok, but I red on Dortania guide (https://dortania.github.io/Getting-Started-With-ACPI/Laptops/trackpad-methods/manual.html) that GPI0 method is better. On my DSDT I get variables and prepare my SSDT, but touchpad not working. DefinitionBlock ("", "SSDT", 2, "hack", "I2C", 0x00000000) { External (GPEN, FieldUnitObj) External (SBRG, FieldUnitObj) Scope (\) { If (_OSI ("Darwin")) { GPEN = One SBRG = One } } } Can someone please help me little bit? Link to comment https://www.insanelymac.com/forum/topic/344104-convert-xosi-to-gpi0-and-rtc-hacks-oc-format/ Share on other sites More sharing options...
hardcorehenry Posted June 8, 2020 Share Posted June 8, 2020 54 minutes ago, kecinzer said: Dear community, I converted my laptop configuration from Clover to OpenCore and now I try to completely clean it to OC standards. Only 2 things left. 1) RTC hack Currently I’m using this ACPI rename, that causes shortening of RTC device length to 0x02 (normally it’s 0x08). Without this hack, every time I restart laptop, I see BIOS POST about real time clock changes. <dict> <key>Comment</key> <string>RTC fix</string> <key>Count</key> <integer>0</integer> <key>Enabled</key> <true/> <key>Find</key> <data> RwFwAHAAAQg= </data> <key>Limit</key> <integer>0</integer> <key>Mask</key> <data> </data> <key>OemTableId</key> <data> </data> <key>Replace</key> <data> RwFwAHAAAQI= </data> <key>ReplaceMask</key> <data> </data> <key>Skip</key> <integer>0</integer> <key>TableLength</key> <integer>0</integer> <key>TableSignature</key> <data> </data> </dict> I would like to convert it to new Open Core rtc-blacklist variable. 2) Touchpad I2C GPI0 hack Currently I’m using _OSI to XOSI rename and „Windows“ hack, that works ok, but I red on Dortania guide (https://dortania.github.io/Getting-Started-With-ACPI/Laptops/trackpad-methods/manual.html) that GPI0 method is better. On my DSDT I get variables and prepare my SSDT, but touchpad not working. DefinitionBlock ("", "SSDT", 2, "hack", "I2C", 0x00000000) { External (GPEN, FieldUnitObj) External (SBRG, FieldUnitObj) Scope (\) { If (_OSI ("Darwin")) { GPEN = One SBRG = One } } } Can someone please help me little bit? I'm not laptop user, but shouldn't there be in GPI0 _STA or _INI? It's a guess, but might work. DefinitionBlock ("", "SSDT", 2, "hack", "I2C", 0x00000000) { External (_SB_.PCI0.GPI0, DeviceObj) External (GPEN, FieldUnitObj) External (SBRG, FieldUnitObj) Scope (_SB.PCI0.GPI0) { Method (_INI, 0, NotSerialized) // _INI: Initialize { If (_OSI ("Darwin")) { GPEN = One SBRG = One } } } } Try also with Scope (\). Link to comment https://www.insanelymac.com/forum/topic/344104-convert-xosi-to-gpi0-and-rtc-hacks-oc-format/#findComment-2725225 Share on other sites More sharing options...
kecinzer Posted June 8, 2020 Author Share Posted June 8, 2020 No, it not working. I'm using variable preset method, so I don't need define method. And it's in _STA method. Link to comment https://www.insanelymac.com/forum/topic/344104-convert-xosi-to-gpi0-and-rtc-hacks-oc-format/#findComment-2725233 Share on other sites More sharing options...
Recommended Posts