Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

[OpenCore] Using SSDT-GPIO instead of SSDT-XOSI #166

Open
C4ptainC4mp opened this issue May 25, 2020 · 1 comment
Open

[OpenCore] Using SSDT-GPIO instead of SSDT-XOSI #166

C4ptainC4mp opened this issue May 25, 2020 · 1 comment

Comments

@C4ptainC4mp
Copy link

Hello,

As SSDT-XOSI makes it unable to Boot into Windows from OpenCore,
I needed to disable:
ACPI->Add:
SSDT-XOSI
ACPI->Patch:
change OSID to XSID (to avoid match against _OSI XOSI patch)
change _OSI to XOSI, pair with SSDT-XOSI.aml

This breaks the Touchpad functionality. Therefore I wanted to install
SSDT-GPIO.aml

using the following code(SSDT-GPIO.dsl):
`DefinitionBlock ("", "SSDT", 2, "ACDT", "GPI0", 0x00000000)
{
External (GPEN, FieldUnitObj)
External (SBRG, FieldUnitObj)

Scope (\)
{
    If (_OSI ("Darwin"))
    {
        GPEN = One
        SBRG = One
    }
}

}`

But the touchpad is not working.

This is my log, filtered on "voodoo":
2020-05-25 13:38:10.847771+0200 localhost kernel[0]: (kernel) VoodooGPIOSunrisePointLP::Loading GPIO Data for SunrisePoint-LP
2020-05-25 13:38:10.878036+0200 localhost kernel[0]: (kernel) VoodooGPIOSunrisePointLP::VoodooGPIO Init!
2020-05-25 13:38:10.878039+0200 localhost kernel[0]: (kernel) VoodooGPIOSunrisePointLP::VoodooGPIO Initializing Community 0
2020-05-25 13:38:10.878076+0200 localhost kernel[0]: (kernel) VoodooGPIOSunrisePointLP::VoodooGPIO Initializing Community 1
2020-05-25 13:38:10.878090+0200 localhost kernel[0]: (kernel) VoodooGPIOSunrisePointLP::VoodooGPIO Initializing Community 2
2020-05-25 13:38:10.878221+0200 localhost kernel[0]: (kernel) VoodooGPIOSunrisePointLP::GPIO Controller is already awake! Not reinitializing.
2020-05-25 13:38:10.950763+0200 localhost kernel[0]: (kernel) VoodooI2CPCIController::pci8086,9d60 Starting I2C controller
2020-05-25 13:38:10.951289+0200 localhost kernel[0]: (kernel) VoodooI2CPCIController::pci8086,9d61 Starting I2C controller
2020-05-25 13:38:10.952961+0200 localhost kernel[0]: (kernel) VoodooI2CPCIController::pci8086,9d61 Set PCI power state D0
2020-05-25 13:38:10.952962+0200 localhost kernel[0]: (kernel) VoodooI2CPCIController::pci8086,9d60 Set PCI power state D0
2020-05-25 13:38:10.953180+0200 localhost kernel[0]: (kernel) VoodooI2CPCIController::pci8086,9d60 Publishing nub
2020-05-25 13:38:10.953463+0200 localhost kernel[0]: (kernel) VoodooI2CPCIController::pci8086,9d61 Publishing nub
2020-05-25 13:38:11.227324+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d60 Probing controller
2020-05-25 13:38:11.227734+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d61 Probing controller
2020-05-25 13:38:11.227758+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d61 Found valid Synopsys component, continuing with initialisation
2020-05-25 13:38:11.228364+0200 localhost kernel[0]: (kernel) VoodooI2CControllerNub::pci8086,9d61 SSCN not implemented in ACPI tables
2020-05-25 13:38:11.228404+0200 localhost kernel[0]: (kernel) VoodooI2CControllerNub::pci8086,9d61 FMCN not implemented in ACPI tables
2020-05-25 13:38:11.228579+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d61 Warning: Error getting bus config, using defaults where necessary
2020-05-25 13:38:11.228859+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d61 Publishing device nubs
2020-05-25 13:38:11.286474+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d60 Found valid Synopsys component, continuing with initialisation
2020-05-25 13:38:11.325851+0200 localhost kernel[0]: (kernel) VoodooI2CControllerNub::pci8086,9d60 SSCN not implemented in ACPI tables
2020-05-25 13:38:11.327482+0200 localhost kernel[0]: (kernel) VoodooI2CControllerNub::pci8086,9d60 FMCN not implemented in ACPI tables
2020-05-25 13:38:11.354812+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d60 Warning: Error getting bus config, using defaults where necessary
2020-05-25 13:38:11.356852+0200 localhost kernel[0]: (kernel) VoodooI2CControllerDriver::pci8086,9d60 Publishing device nubs

@weimin-liu
Copy link

Your gpio hotpatch should work, I've used exactly the same patch. BUT, even if you get it to work, the gpio method cause huge latency to the trackpad gesture. So I suggest you take a look at this hopatch , or just boot Windows via bios.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants