From 85b1030aa82414ee7bfcb7727583f5dae5ddb472 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Tue, 4 Nov 2008 11:52:50 +0000 Subject: Add support for Asus A8Sr notebooks. PR: 128553 Submitted by: Eygene Ryabinkin Reviewed by: philip MFC after: 2 months --- etc/devd.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'etc') diff --git a/etc/devd.conf b/etc/devd.conf index 395273a..ed37752 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 laptops +notify 0 { + match "system" "ACPI"; + match "subsystem" "ASUS"; + match "notify" "0x32"; + action "mixer 0"; +}; + +notify 0 { + match "system" "ACPI"; + match "subsystem"i "ASUS"; + match "notify" "0x31"; + action "mixer vol -10"; +}; + +notify 0 { + match "system" "ACPI"; + match "subsystem" "ASUS"; + match "notify" "0x30"; + action "mixer vol +10"; +}; + # The next blocks enable volume hotkeys that can be found on the Asus EeePC # The four keys above the keyboard notify 0x1a through to 0x1d respectively notify 0 { -- cgit v1.1