Created
November 24, 2016 15:05
-
-
Save bodil/16f985973394982e4f5b4fc0113c4ece to your computer and use it in GitHub Desktop.
Hacks for Linux kernel glitches on the HP Elitebook Folio G1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=HP Elitebook Folio G1 fixes | |
[Service] | |
ExecStart=/sbin/fix-my-stupid-folio | |
[Install] | |
WantedBy=basic.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# make suspend work | |
echo 0 > /sys/power/pm_async | |
# set keycodes for brightness down/up keys | |
setkeycodes e024 224 | |
setkeycodes e043 225 | |
# set keycode for lid close (sleep key) | |
setkeycodes e005 142 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment