OC-little icon indicating copy to clipboard operation
OC-little copied to clipboard

屏幕亮度无法调节

Open duanbx opened this issue 1 year ago • 2 comments

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

duanbx avatar Mar 07 '23 03:03 duanbx

可以尝试添加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 avatar Nov 11 '23 18:11 sunbos

可以参考网址:https://github.com/5T33Z0/OC-Little-Translated/tree/main/05_Laptop-specific_Patches/Brightness_Key_Shortcuts

sunbos avatar Nov 11 '23 18:11 sunbos