blob: 784085651759147f2b56643ebb6949abf3a46627 (
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
# See https://gitlab.freedesktop.org/drm/amd/-/issues/3073#note_2237586
### Format:
# A bash array where each entry is a device path (usually in `/sys/`) whose wakeup
# should be disabled on service start (and re-enabled on service stop).
# Do not include the `./wakeup` or `./power/wakeup` part; those will be
# automatically appended.
NOWAKEUPDEVS=(
# '/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ADP1'
# '/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00' # Battery
# '/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00' # Power button
# '/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00' # LID switch
'/sys/bus/i2c/devices/i2c-GXTP7385:00' # Touchscreen
'/sys/bus/i2c/devices/i2c-PNP0C50:00' # Mouse, touchpad
# '/sys/devices/pci0000:00/0000:00:01.2'
# '/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0'
# '/sys/devices/pci0000:00/0000:00:02.2'
# '/sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0'
# '/sys/devices/pci0000:00/0000:00:02.3'
# '/sys/devices/pci0000:00/0000:00:02.3/0000:03:00.0'
# '/sys/devices/pci0000:00/0000:00:02.4'
# '/sys/devices/pci0000:00/0000:00:02.4/0000:04:00.0'
# '/sys/devices/pci0000:00/0000:00:04.1'
# '/sys/devices/pci0000:00/0000:00:08.1'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.0'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.1'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.2'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.3'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb2'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.4'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.4/usb3'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.4/usb3/3-1'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.4/usb3/3-1/3-1.2'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.4/usb3/3-1/3-1.3'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.4/usb4'
# '/sys/devices/pci0000:00/0000:00:08.1/0000:65:00.6'
# '/sys/devices/pci0000:00/0000:00:08.2'
# '/sys/devices/pci0000:00/0000:00:08.2/0000:66:00.0'
# '/sys/devices/pci0000:00/0000:00:08.3'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.0'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.3'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.3/usb5'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.3/usb6'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.4'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.4/usb7'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.4/usb8'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.6'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.6/domain0' # thunderbolt
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.6/domain0/0-0'
# '/sys/devices/pci0000:00/0000:00:08.3/0000:67:00.6/domain0/0-0/usb4_port2'
# '/sys/devices/platform/i8042/serio0'
# '/sys/devices/platform/serial8250/tty/ttyS0'
# '/sys/devices/platform/serial8250/tty/ttyS1'
# '/sys/devices/platform/serial8250/tty/ttyS2'
# '/sys/devices/platform/serial8250/tty/ttyS3'
# '/sys/devices/platform/serial8250/tty/ttyS4'
# '/sys/devices/platform/serial8250/tty/ttyS5'
# '/sys/devices/platform/serial8250/tty/ttyS6'
# '/sys/devices/platform/serial8250/tty/ttyS7'
# '/sys/devices/platform/serial8250/tty/ttyS8'
# '/sys/devices/platform/serial8250/tty/ttyS9'
# '/sys/devices/platform/serial8250/tty/ttyS10'
# '/sys/devices/platform/serial8250/tty/ttyS11'
# '/sys/devices/platform/serial8250/tty/ttyS12'
# '/sys/devices/platform/serial8250/tty/ttyS13'
# '/sys/devices/platform/serial8250/tty/ttyS14'
# '/sys/devices/platform/serial8250/tty/ttyS15'
# '/sys/devices/platform/serial8250/tty/ttyS16'
# '/sys/devices/platform/serial8250/tty/ttyS17'
# '/sys/devices/platform/serial8250/tty/ttyS18'
# '/sys/devices/platform/serial8250/tty/ttyS19'
# '/sys/devices/platform/serial8250/tty/ttyS20'
# '/sys/devices/platform/serial8250/tty/ttyS21'
# '/sys/devices/platform/serial8250/tty/ttyS22'
# '/sys/devices/platform/serial8250/tty/ttyS23'
# '/sys/devices/platform/serial8250/tty/ttyS24'
# '/sys/devices/platform/serial8250/tty/ttyS25'
# '/sys/devices/platform/serial8250/tty/ttyS26'
# '/sys/devices/platform/serial8250/tty/ttyS27'
# '/sys/devices/platform/serial8250/tty/ttyS28'
# '/sys/devices/platform/serial8250/tty/ttyS29'
# '/sys/devices/platform/serial8250/tty/ttyS30'
# '/sys/devices/platform/serial8250/tty/ttyS31'
# '/sys/devices/pnp0/00:01'
# '/sys/devices/pnp0/00:01/rtc/rtc0/alarmtimer.0.auto'
# '/sys/kernel/irq/0'
# '/sys/kernel/irq/1'
# '/sys/kernel/irq/2'
# '/sys/kernel/irq/3'
# '/sys/kernel/irq/4'
# '/sys/kernel/irq/5'
# '/sys/kernel/irq/6'
# '/sys/kernel/irq/7'
# '/sys/kernel/irq/8'
# '/sys/kernel/irq/9'
# '/sys/kernel/irq/10'
# '/sys/kernel/irq/11'
# '/sys/kernel/irq/12'
# '/sys/kernel/irq/13'
# '/sys/kernel/irq/14'
# '/sys/kernel/irq/15'
# '/sys/kernel/irq/24'
# '/sys/kernel/irq/25'
# '/sys/kernel/irq/26'
# '/sys/kernel/irq/27'
# '/sys/kernel/irq/28'
# '/sys/kernel/irq/29'
# '/sys/kernel/irq/30'
# '/sys/kernel/irq/31'
# '/sys/kernel/irq/32'
# '/sys/kernel/irq/33'
# '/sys/kernel/irq/34'
# '/sys/kernel/irq/35'
# '/sys/kernel/irq/36'
# '/sys/kernel/irq/37'
# '/sys/kernel/irq/38'
# '/sys/kernel/irq/39'
# '/sys/kernel/irq/40'
# '/sys/kernel/irq/41'
# '/sys/kernel/irq/42'
# '/sys/kernel/irq/43'
# '/sys/kernel/irq/44'
# '/sys/kernel/irq/45'
# '/sys/kernel/irq/46'
# '/sys/kernel/irq/47'
# '/sys/kernel/irq/48'
# '/sys/kernel/irq/49'
# '/sys/kernel/irq/50'
# '/sys/kernel/irq/51'
# '/sys/kernel/irq/52'
# '/sys/kernel/irq/53'
# '/sys/kernel/irq/54'
# '/sys/kernel/irq/55'
# '/sys/kernel/irq/56'
# '/sys/kernel/irq/57'
# '/sys/kernel/irq/58'
# '/sys/kernel/irq/59'
# '/sys/kernel/irq/60'
# '/sys/kernel/irq/61'
# '/sys/kernel/irq/62'
# '/sys/kernel/irq/63'
# '/sys/kernel/irq/64'
# '/sys/kernel/irq/65'
# '/sys/kernel/irq/66'
# '/sys/kernel/irq/67'
# '/sys/kernel/irq/68'
# '/sys/kernel/irq/69'
# '/sys/kernel/irq/70'
# '/sys/kernel/irq/71'
# '/sys/kernel/irq/72'
# '/sys/kernel/irq/73'
# '/sys/kernel/irq/74'
# '/sys/kernel/irq/75'
# '/sys/kernel/irq/76'
# '/sys/kernel/irq/77'
# '/sys/kernel/irq/78'
# '/sys/kernel/irq/79'
# '/sys/kernel/irq/80'
# '/sys/kernel/irq/81'
# '/sys/kernel/irq/82'
# '/sys/kernel/irq/83'
# '/sys/kernel/irq/84'
# '/sys/kernel/irq/85'
# '/sys/kernel/irq/86'
# '/sys/kernel/irq/87'
# '/sys/kernel/irq/88'
# '/sys/kernel/irq/89'
# '/sys/kernel/irq/90'
# '/sys/kernel/irq/91'
# '/sys/kernel/irq/92'
# '/sys/kernel/irq/93'
# '/sys/kernel/irq/94'
# '/sys/kernel/irq/95'
# '/sys/kernel/irq/96'
# '/sys/kernel/irq/97'
# '/sys/kernel/irq/98'
# '/sys/kernel/irq/99'
# '/sys/kernel/irq/100'
# '/sys/kernel/irq/101'
# '/sys/kernel/irq/102'
# '/sys/kernel/irq/103'
# '/sys/kernel/irq/104'
# '/sys/kernel/irq/105'
# '/sys/kernel/irq/106'
# '/sys/kernel/irq/107'
# '/sys/kernel/irq/108'
# '/sys/kernel/irq/109'
# '/sys/kernel/irq/110'
# '/sys/kernel/irq/111'
# '/sys/kernel/irq/112'
# '/sys/kernel/irq/113'
# '/sys/kernel/irq/114'
# '/sys/kernel/irq/115'
# '/sys/kernel/irq/116'
# '/sys/kernel/irq/117'
# '/sys/kernel/irq/118'
# '/sys/kernel/irq/119'
# '/sys/kernel/irq/120'
# '/sys/kernel/irq/121'
# '/sys/kernel/irq/122'
# '/sys/kernel/irq/123'
# '/sys/kernel/irq/124'
# '/sys/kernel/irq/125'
)
|