[Debian-eeepc-devel] [PATCH] Only grep hotkeys that we actually handle; this reduces the potential for conflict with other acpid rules.

Luca Niccoli lultimouomo at gmail.com
Fri Apr 23 09:19:59 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I tested this on my 901 and it worked OK, maybe it would be useful if someone
double checked that I got all the keys in the regex or tested it on a netbook
with different hotkeys.

Signed-off-by: Luca Niccoli <lultimouomo at gmail.com>
- ---
 etc/acpi/events/hotkey |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/acpi/events/hotkey b/etc/acpi/events/hotkey
index 1642fea..67b5aab 100644
- --- a/etc/acpi/events/hotkey
+++ b/etc/acpi/events/hotkey
@@ -1,2 +1,2 @@
- -event=hotkey ATKD
+event=hotkey ATKD (0000001[0123456abcd]|0000002?|0000003[012789])
 action=/etc/acpi/actions/hotkey.sh %e

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkvRZicACgkQ+AQB36CPPlpx+wCfafvC4zLFUdsSe3GAkIP3Jhd0
o5wAnR0wqXn1m6e/YQcUDkON+xoBMl8w
=5c2u
-----END PGP SIGNATURE-----




More information about the Debian-eeepc-devel mailing list