Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

禁止PCI设备会导致进入WIndows出现ACPI BIOS ERROR #53

Open
gujiangjiang opened this issue Oct 1, 2023 · 1 comment
Open

禁止PCI设备会导致进入WIndows出现ACPI BIOS ERROR #53

gujiangjiang opened this issue Oct 1, 2023 · 1 comment

Comments

@gujiangjiang
Copy link

https://github.com/daliansky/OC-little/tree/master/16-%E7%A6%81%E6%AD%A2PCI%E8%AE%BE%E5%A4%87%E5%8F%8A%E8%AE%BE%E7%BD%AEASPM%E5%B7%A5%E4%BD%9C%E6%A8%A1%E5%BC%8F/16-1-%E7%A6%81%E6%AD%A2PCI%E8%AE%BE%E5%A4%87

使用这个SSDT禁用SD卡,RP02,在macOS下面没问题,禁用成功,但是进入Windows的时候会提示ACPI BIOS ERROR,里面有Darwin判断语句不知道为啥还会报错,删掉那个STA语句开机就不报错了,但是进入macOS禁用失效。。。

@gujiangjiang
Copy link
Author

`{
External (SB.PCI0.RP02, DeviceObj)

Scope (_SB.PCI0.RP02)
{
    If (_OSI ("Darwin"))
    {
        OperationRegion (DE01, PCI_Config, 0x50, One)
        Field (DE01, AnyAcc, NoLock, Preserve)
        {
                ,   4, 
            DDDD,   1
        }

        Method (_STA, 0, Serialized)  // _STA: Status
        {
            Return (Zero)
        }
    }

    Scope (\)
    {
        \_SB.PCI0.RP02.DDDD = One
    }
}

}
`

将判断语句作用于整个节点,测试是成功的,macOS下也禁用成功,WIndows也没有报错

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

No branches or pull requests

1 participant