forked from RehabMan/HP-ProBook-4x30s-DSDT-Patch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxx_Brightness.txt
25 lines (21 loc) · 970 Bytes
/
xx_Brightness.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Please Note:
#
# These patches were created just to test out some functionality in my version of VoodooPS2Keyboard.
# They add the necessary methods to allow the screen brightness control methods to be accessed
# from the keyboard driver.
#
# These methods inside the PS2K device simply forward their requests on to the standard
# ACPI brightness methods in the IGPU device.
#
# This was implemented to see if the methods would work with the Probook as the native screen
# brightness functionality is not 100%. Unfortunately, they didn't work at all.
#
into method label KBCL parent_label PS2K remove_entry;
into method label KBCM parent_label PS2K remove_entry;
into method label KBQC parent_label PS2K remove_entry;
into device label PS2K insert
begin
Method (KBCL, 0, Serialized) { Return (\_SB.PCI0.IGPU.DD02._BCL ()) }
Method (KBCM, 1, Serialized) { \_SB.PCI0.IGPU.DD02._BCM (Arg0) }
Method (KBQC, 0, Serialized) { Return (\_SB.PCI0.IGPU.DD02._BQC()) }
end;