summaryrefslogtreecommitdiff
path: root/etc/devd
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2008-12-17 19:12:30 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2008-12-17 19:12:30 +0000
commit487f6bb8953a3e08b071cd483d0819b5cb9c2127 (patch)
tree2d4217beaa0b27e7f84b106ede422dd53aaba047 /etc/devd
parent514c68e92c788be2fd887bc83de9514367787159 (diff)
Notes
Diffstat (limited to 'etc/devd')
-rw-r--r--etc/devd/Makefile9
-rw-r--r--etc/devd/asus.conf52
2 files changed, 61 insertions, 0 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile
new file mode 100644
index 000000000000..f2bb18449178
--- /dev/null
+++ b/etc/devd/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+FILES= asus.conf
+
+NO_OBJ=
+FILESDIR= /etc/devd
+FILESMODE= 644
+
+.include <bsd.prog.mk>
diff --git a/etc/devd/asus.conf b/etc/devd/asus.conf
new file mode 100644
index 000000000000..7671bd1159c0
--- /dev/null
+++ b/etc/devd/asus.conf
@@ -0,0 +1,52 @@
+# $FreeBSD$
+#
+# ASUS specific devd events
+
+# 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";
+};
+
+# Enable user hotkeys that can be found on the Asus EeePC
+# The four keys above the keyboard notify 0x1a through to 0x1d respectively
+#notify 0 {
+# match "system" "ACPI";
+# match "subsystem" "ASUS-Eee";
+# match "notify" "0x1a";
+# action "";
+#};
+#notify 0 {
+# match "system" "ACPI";
+# match "subsystem" "ASUS-Eee";
+# match "notify" "0x1b";
+# action "";
+#};
+#notify 0 {
+# match "system" "ACPI";
+# match "subsystem" "ASUS-Eee";
+# match "notify" "0x1c";
+# action "";
+#};
+#notify 0 {
+# match "system" "ACPI";
+# match "subsystem" "ASUS-Eee";
+# match "notify" "0x1d";
+# action "";
+#};