From ba869be5fdf520ef8eea754457f8ecf9075029ae Mon Sep 17 00:00:00 2001 From: Tyler Nguyen Date: Tue, 10 Jul 2018 14:15:18 -0500 Subject: [PATCH] Added working fn_keys patch and updated README --- ACPI/patch-files/3_Fn_Keys.txt | 34 ++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 35 insertions(+) create mode 100755 ACPI/patch-files/3_Fn_Keys.txt diff --git a/ACPI/patch-files/3_Fn_Keys.txt b/ACPI/patch-files/3_Fn_Keys.txt new file mode 100755 index 0000000..de44e1c --- /dev/null +++ b/ACPI/patch-files/3_Fn_Keys.txt @@ -0,0 +1,34 @@ +# _Q6A (F4 key -> F17) Microphone Mute key +into method label _Q6A replace_content +begin + Notify(\_SB.PCI0.LPCB.PS2K, 0x0168)\n + Notify(\_SB.PCI0.LPCB.PS2K, 0x01e8)\n +end; + +# _Q15 (F5 key) Brightness down key +into method label _Q15 replace_content +begin + Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n + Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n +end; + +# _Q14 (F6 key) Brightness up key +into method label _Q14 replace_content +begin + Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n + Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n +end; + +# _Q64 (F8 key -> F18 ) Wireless disable key +into method label _Q64 replace_content +begin + Notify(\_SB.PCI0.LPCB.PS2K, 0x0169)\n + Notify(\_SB.PCI0.LPCB.PS2K, 0x01e9)\n +end; + +# _Q66 (F9 key -> F19 ) Settings key +into method label _Q66 replace_content +begin + Notify(\_SB.PCI0.LPCB.PS2K, 0x016a)\n + Notify(\_SB.PCI0.LPCB.PS2K, 0x01ea)\n +#end; \ No newline at end of file diff --git a/README.md b/README.md index 9d6b0ec..c44eca8 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Hand-off is unstable - not needed USB Power Property Injection - unsure of real values Battery life optimization - currently average 6-7 hours of regular usage With the exeption of volume and brightness, function keys do not properly work - DSDT patches and testing in progress +Keymapping is not perfect, need to do a complete ADB map Performance optimization ## Hardware Replacements: