summaryrefslogtreecommitdiffstats
path: root/etc/devd/asus.conf
blob: a195a58bc51dcaf4c14c74732f17da92b1838ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# $FreeBSD$
#
# ASUS specific devd events

# 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"	"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
notify 0 {
        match "system"          "ACPI";
        match "subsystem"       "ASUS-Eee";
        match "notify"          "0x13";
        action                  "mixer 0";
};

notify 0 {
        match "system"          "ACPI";
        match "subsystem"       "ASUS-Eee";
        match "notify"          "0x14";
        action                  "mixer vol -10";
};

notify 0 {
        match "system"          "ACPI";
        match "subsystem"       "ASUS-Eee";
        match "notify"          "0x15";
        action                  "mixer vol +10";
};

# 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                  "";
#};
OpenPOWER on IntegriCloud