Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

Allego DSDT
 

Attachments

  • DSDT_1.zip
    42.8 KB · Views: 197
...

I use this?

Code:
into method label _Q13 parent_label H_EC replace_content
begin
Store(HKNO, Local0)\n
If (LEqual(Local0,7))\n
{\n
// Brightness Down\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
}\n
If (LEqual(Local0,8))\n
{\n
// Brightness Up\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
}\n
If (LEqual(Local0,4))\n
{\n
// Mirror toggle\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x026e)\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x02ee)\n
}\n
end;

No. Your DSDT uses separate methods for brightness keys and your EC is not H_EC, but rather EC0.

Read post #1.
 
So I have to use this code?

into method label _Q10 replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
end;
into method label _Q11 replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
end;
 
So I have to use this code?

into method label _Q10 replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
end;
into method label _Q11 replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
end;

In post #47, you said your methods were _Q1C and _Q1D. Why would you patch _Q10 and _Q11?
 
excuse my ignorance on the subject but I recently approached the world of dsdt. I haven't figured out where to insert this change.
 
excuse my ignorance on the subject but I recently approached the world of dsdt. I haven't figured out where to insert this change.

What do you mean "insert this change"?
 
Where to apply the patch for the operation of the function keys etc..
 
in post # 51 I have attached my dsdt might give us a look you??
 
OK already added your repo and I already applied many of your patch also exists to solve my problem of adjusting the brightness keys?
 
Back
Top