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

屏幕亮度无法调节 #52

Open
duanbx opened this issue Mar 7, 2023 · 2 comments
Open

屏幕亮度无法调节 #52

duanbx opened this issue Mar 7, 2023 · 2 comments

Comments

@duanbx
Copy link

duanbx commented Mar 7, 2023

你好,我的笔记本是联想E490安装bigsur11.5以后,亮度无法调节,显示器也没有亮度调节滑块,SSDT-PNLF.aml补丁已经注入

@sunbos
Copy link

sunbos commented Nov 11, 2023

可以尝试添加SSDT文件配置,类似SSDT-BRTN.aml

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20200925 (64-bit version)
 * Copyright (c) 2000 - 2020 Intel Corporation
 * 
 * Disassembling to symbolic ASL+ operators
 *
 * Disassembly of iASLOKKmx8.aml, Sun Nov 12 02:35:07 2023
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x00000155 (341)
 *     Revision         0x02
 *     Checksum         0x3A
 *     OEM ID           "OCLT"
 *     OEM Table ID     "BrightFN"
 *     OEM Revision     0x00000000 (0)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20200925 (538970405)
 */
DefinitionBlock ("", "SSDT", 2, "OCLT", "BrightFN", 0x00000000)
{
    External (_SB_.PCI0.LPCB.EC0_, DeviceObj)
    External (_SB_.PCI0.LPCB.EC0_.XQ1C, MethodObj)    // 0 Arguments
    External (_SB_.PCI0.LPCB.EC0_.XQ1D, MethodObj)    // 0 Arguments
    External (_SB_.PCI0.LPCB.KBD0, DeviceObj)

    Scope (_SB.PCI0.LPCB.EC0)
    {
        Method (_Q1C, 0, NotSerialized)  // _Qxx: EC Query, xx=0x00-0xFF
        {
            If (_OSI ("Darwin"))
            {
                Notify (\_SB.PCI0.LPCB.KBD0, 0x0417)
                Notify (\_SB.PCI0.LPCB.KBD0, 0x10) // Reserved
            }
            Else
            {
                \_SB.PCI0.LPCB.EC0.XQ1C ()
            }
        }

        Method (_Q1D, 0, NotSerialized)  // _Qxx: EC Query, xx=0x00-0xFF
        {
            If (_OSI ("Darwin"))
            {
                Notify (\_SB.PCI0.LPCB.KBD0, 0x0412)
                Notify (\_SB.PCI0.LPCB.KBD0, 0x20) // Reserved
            }
            Else
            {
                \_SB.PCI0.LPCB.EC0.XQ1D ()
            }
        }
    }
}

@sunbos
Copy link

sunbos commented Nov 11, 2023

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

2 participants