forked from RehabMan/HP-ProBook-4x30s-DSDT-Patch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xx_KeyBacklight.txt
27 lines (23 loc) · 1003 Bytes
/
xx_KeyBacklight.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 keyboard backlight control methods to be accessed
# from the keyboard driver.
#
# These methods inside the PS2K device simply forward their requests on to methods elsewhere
# in the DSDT to manipulate the keyboard backlight.
#
# The methods here are implemented for an ASUS G73JH.
#
# See this thread for more information:
# http://www.tonymacx86.com/mountain-lion-laptop-support/86141-asus-g73jh-keyboard-backlighting-working.html
#
into method label KKCL parent_label PS2K remove_entry;
into method label KKCM parent_label PS2K remove_entry;
into method label KKQC parent_label PS2K remove_entry;
into device label PS2K insert
begin
Method (KKCL, 0, Serialized) { Return (Package() { 0, 1, 2, 3, }) }
Method (KKCM, 1, Serialized) { \_SB.ATKD.SLKB(Or(Arg0, 0x80)) }
Method (KKQC, 0, Serialized) { Return (\_SB.ATKD.GLKB(2)) }
end;