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