### ACPI _Q14 method for ThinkPad brightness up Source: https://github.com/acidanthera/brightnesskeys/blob/master/README.md Example ACPI method for handling the 'brightness up' EC event on some old ThinkPad models. It checks the NBCF flag to decide whether to notify graphics devices or adjust brightness directly. When NBCF is zero, the method attempts to adjust brightness directly via SMI access. ```ACPI Method (_Q14, 0, NotSerialized) { If (^HKEY.MHKK (0x8000)) { ^HKEY.MHKQ (0x1010) // Vendor-specific event: TP_HKEY_EV_BRGHT_UP } If (NBCF) // Whether { If (VIGD) { Notify (^^^VID.LCD0, 0x86) // Send 0x86 "Increase Brightness" to integrated graphics } Else { Notify (^^^PEG.VID.LCD0, 0x86) // Send 0x86 "Increase Brightness" to discrete graphics } } Else { Local0 = BRLV // Local variable to store current brightness level If ((Local0 != 0x0F)) { Local0++ BRLV = Local0 } If (VIGD) { UCMS (0x16) // SMI access for integrated graphics BRNS () } Else { VBRC (Local0) // SMI access for discrete graphics } ^HKEY.MHKQ (0x6050) // Vendor-specific event: TP_HKEY_EV_BACKLIGHT_CHANGED } } ``` -------------------------------- ### ACPI patch find/replace for NBCF (newer iasl) Source: https://github.com/acidanthera/brightnesskeys/blob/master/README.md Find and replace strings for DSDT compiled with newer iasl to set NBCF to One. This patch changes the default value of NBCF from Zero to One. ```text Find: `08 4E424346 00` `// NameOp "NBCF" ZeroOp` Repl: `08 4E424346 01` `// NameOp "NBCF" OneOp` ``` -------------------------------- ### ACPI patch find/replace for NBCF (older iasl) Source: https://github.com/acidanthera/brightnesskeys/blob/master/README.md Find and replace strings for DSDT compiled with older iasl to set NBCF to 0x01. This patch changes the default value of NBCF from 0x00 to 0x01. ```text Find: `08 4E424346 0A 00` `// NameOp "NBCF" BytePrefix "00"` Repl: `08 4E424346 0A 01` `// NameOp "NBCF" BytePrefix "01"` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.