1186249Sthompsa# $FreeBSD: releng/10.3/etc/devd/asus.conf 186432 2008-12-23 15:47:31Z thompsa $
2186249Sthompsa#
3186249Sthompsa# ASUS specific devd events
4186249Sthompsa
5186432Sthompsa# The next blocks enable volume hotkeys that can be found on the Asus laptops
6186432Sthompsanotify 0 {
7186432Sthompsa	match "system"		"ACPI";
8186432Sthompsa	match "subsystem"	"ASUS";
9186432Sthompsa	match "notify"		"0x32";
10186432Sthompsa	action			"mixer 0";
11186432Sthompsa};
12186432Sthompsa
13186432Sthompsanotify 0 {
14186432Sthompsa	match "system"		"ACPI";
15186432Sthompsa	match "subsystem"	"ASUS";
16186432Sthompsa	match "notify"		"0x31";
17186432Sthompsa	action			"mixer vol -10";
18186432Sthompsa};
19186432Sthompsa
20186432Sthompsanotify 0 {
21186432Sthompsa	match "system"		"ACPI";
22186432Sthompsa	match "subsystem"	"ASUS";
23186432Sthompsa	match "notify"		"0x30";
24186432Sthompsa	action			"mixer vol +10";
25186432Sthompsa};
26186432Sthompsa
27186249Sthompsa# The next blocks enable volume hotkeys that can be found on the Asus EeePC
28186249Sthompsanotify 0 {
29186249Sthompsa        match "system"          "ACPI";
30186249Sthompsa        match "subsystem"       "ASUS-Eee";
31186249Sthompsa        match "notify"          "0x13";
32186249Sthompsa        action                  "mixer 0";
33186249Sthompsa};
34186249Sthompsa
35186249Sthompsanotify 0 {
36186249Sthompsa        match "system"          "ACPI";
37186249Sthompsa        match "subsystem"       "ASUS-Eee";
38186249Sthompsa        match "notify"          "0x14";
39186249Sthompsa        action                  "mixer vol -10";
40186249Sthompsa};
41186249Sthompsa
42186249Sthompsanotify 0 {
43186249Sthompsa        match "system"          "ACPI";
44186249Sthompsa        match "subsystem"       "ASUS-Eee";
45186249Sthompsa        match "notify"          "0x15";
46186249Sthompsa        action                  "mixer vol +10";
47186249Sthompsa};
48186249Sthompsa
49186249Sthompsa# Enable user hotkeys that can be found on the Asus EeePC
50186249Sthompsa# The four keys above the keyboard notify 0x1a through to 0x1d respectively
51186249Sthompsa#notify 0 {
52186249Sthompsa#        match "system"          "ACPI";
53186249Sthompsa#        match "subsystem"       "ASUS-Eee";
54186249Sthompsa#        match "notify"          "0x1a";
55186249Sthompsa#        action                  "";
56186249Sthompsa#};
57186249Sthompsa#notify 0 {
58186249Sthompsa#        match "system"          "ACPI";
59186249Sthompsa#        match "subsystem"       "ASUS-Eee";
60186249Sthompsa#        match "notify"          "0x1b";
61186249Sthompsa#        action                  "";
62186249Sthompsa#};
63186249Sthompsa#notify 0 {
64186249Sthompsa#        match "system"          "ACPI";
65186249Sthompsa#        match "subsystem"       "ASUS-Eee";
66186249Sthompsa#        match "notify"          "0x1c";
67186249Sthompsa#        action                  "";
68186249Sthompsa#};
69186249Sthompsa#notify 0 {
70186249Sthompsa#        match "system"          "ACPI";
71186249Sthompsa#        match "subsystem"       "ASUS-Eee";
72186249Sthompsa#        match "notify"          "0x1d";
73186249Sthompsa#        action                  "";
74186249Sthompsa#};
75