systemd: do not set thinkpad ACPI mask to 0xf..f
authorStefan Huber <shuber@sthu.org>
Sun, 5 Jan 2014 15:26:25 +0000 (16:26 +0100)
committerStefan Huber <shuber@sthu.org>
Sun, 5 Jan 2014 15:26:25 +0000 (16:26 +0100)
systemd/script/thinkpad-acpi-setup

index 94f086dd6cce6c197ba748225f495af291a38eae..c9f7ee6c9ccf773ce3e1ba59aec09ea05a9396cf 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
 
 set -e
-echo 0xffffffff > /proc/acpi/ibm/hotkey
+
+# Change 0x078c7fff
+#     to 0x078f7fff
+# Activates ACPI notifications for brightness changes. KDE needs this to
+# recognize changes in brightness.
+echo 0x078f7fff > /proc/acpi/ibm/hotkey