2008-12-17 19:12:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# ASUS specific devd events
|
|
|
|
|
2008-12-23 15:47:31 +00:00
|
|
|
# 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";
|
2022-03-13 13:13:28 +00:00
|
|
|
action "mixer vol.volume=0";
|
2008-12-23 15:47:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
notify 0 {
|
|
|
|
match "system" "ACPI";
|
|
|
|
match "subsystem" "ASUS";
|
|
|
|
match "notify" "0x31";
|
2022-04-30 03:12:56 +00:00
|
|
|
action "mixer vol.volume=-10%";
|
2008-12-23 15:47:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
notify 0 {
|
|
|
|
match "system" "ACPI";
|
|
|
|
match "subsystem" "ASUS";
|
|
|
|
match "notify" "0x30";
|
2022-04-30 03:12:56 +00:00
|
|
|
action "mixer vol.volume=+10%";
|
2008-12-23 15:47:31 +00:00
|
|
|
};
|
|
|
|
|
2008-12-17 19:12:30 +00:00
|
|
|
# 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";
|
2022-03-13 13:13:28 +00:00
|
|
|
action "mixer vol.volume=0";
|
2008-12-17 19:12:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
notify 0 {
|
|
|
|
match "system" "ACPI";
|
|
|
|
match "subsystem" "ASUS-Eee";
|
|
|
|
match "notify" "0x14";
|
2022-04-30 03:12:56 +00:00
|
|
|
action "mixer vol.volume=-10%";
|
2008-12-17 19:12:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
notify 0 {
|
|
|
|
match "system" "ACPI";
|
|
|
|
match "subsystem" "ASUS-Eee";
|
|
|
|
match "notify" "0x15";
|
2022-04-30 03:12:56 +00:00
|
|
|
action "mixer vol.volume=+10%";
|
2008-12-17 19:12:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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 "";
|
|
|
|
#};
|