summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2008-06-27 12:04:36 +0000
committerrpaulo <rpaulo@FreeBSD.org>2008-06-27 12:04:36 +0000
commit27f8992cb2d7ca5dce5f3ff6c2f15d6cb95dca70 (patch)
tree351a89d15825148a7deca49a508d30a0e3b45c93 /etc/devd.conf
parent1233bc643321cc11d61406e70ade3a0e655d3c46 (diff)
downloadFreeBSD-src-27f8992cb2d7ca5dce5f3ff6c2f15d6cb95dca70.zip
FreeBSD-src-27f8992cb2d7ca5dce5f3ff6c2f15d6cb95dca70.tar.gz
Add the missing support for Asus Eee PC in acpi_asus(4).
This includes hotkeys support and sysctl variables to control camera and card reader. These new sysctls don't have CTFLAG_ANYBODY set. While there add entries to devd.conf related to the Eee volume keys. Reviewed by: phillip MFC after: 1 week Also tested by: lme (previous version)
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 8dbf34b..c081f1f 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -255,6 +255,28 @@ notify 10 {
action "/etc/rc.resume acpi $notify";
};
+# The next blocks enable volume hotkeys that can be found on the Asus EeePC
+notify 0 {
+ match "system" "ACPI";
+ match "subsystem" "ASUS-Eee";
+ match "notify" "0x13";
+ action "mixer 0";
+};
+
+notify 0 {
+ match "system" "ACPI";
+ match "subsystem" "ASUS-Eee";
+ match "notify" "0x14";
+ action "mixer vol -10";
+};
+
+notify 0 {
+ match "system" "ACPI";
+ match "subsystem" "ASUS-Eee";
+ match "notify" "0x15";
+ action "mixer vol +10";
+};
+
/* EXAMPLES TO END OF FILE
# The following might be an example of something that a vendor might
OpenPOWER on IntegriCloud