xref: /freebsd/sbin/devd/asus.conf (revision ae477ca7da55f76d28859e1bd01cd1051e36f28f)
1#
2# ASUS specific devd events
3
4# The next blocks enable volume hotkeys that can be found on the Asus laptops
5notify 0 {
6	match "system"		"ACPI";
7	match "subsystem"	"ASUS";
8	match "notify"		"0x32";
9	action			"mixer vol.volume=0";
10};
11
12notify 0 {
13	match "system"		"ACPI";
14	match "subsystem"	"ASUS";
15	match "notify"		"0x31";
16	action			"mixer vol.volume=-10%";
17};
18
19notify 0 {
20	match "system"		"ACPI";
21	match "subsystem"	"ASUS";
22	match "notify"		"0x30";
23	action			"mixer vol.volume=+10%";
24};
25
26# The next blocks enable volume hotkeys that can be found on the Asus EeePC
27notify 0 {
28        match "system"          "ACPI";
29        match "subsystem"       "ASUS-Eee";
30        match "notify"          "0x13";
31        action                  "mixer vol.volume=0";
32};
33
34notify 0 {
35        match "system"          "ACPI";
36        match "subsystem"       "ASUS-Eee";
37        match "notify"          "0x14";
38        action                  "mixer vol.volume=-10%";
39};
40
41notify 0 {
42        match "system"          "ACPI";
43        match "subsystem"       "ASUS-Eee";
44        match "notify"          "0x15";
45        action                  "mixer vol.volume=+10%";
46};
47
48# Enable user hotkeys that can be found on the Asus EeePC
49# The four keys above the keyboard notify 0x1a through to 0x1d respectively
50#notify 0 {
51#        match "system"          "ACPI";
52#        match "subsystem"       "ASUS-Eee";
53#        match "notify"          "0x1a";
54#        action                  "";
55#};
56#notify 0 {
57#        match "system"          "ACPI";
58#        match "subsystem"       "ASUS-Eee";
59#        match "notify"          "0x1b";
60#        action                  "";
61#};
62#notify 0 {
63#        match "system"          "ACPI";
64#        match "subsystem"       "ASUS-Eee";
65#        match "notify"          "0x1c";
66#        action                  "";
67#};
68#notify 0 {
69#        match "system"          "ACPI";
70#        match "subsystem"       "ASUS-Eee";
71#        match "notify"          "0x1d";
72#        action                  "";
73#};
74