Merge ~sylvain-pineau/checkbox-support:fix-1947114 into checkbox-support:master
- Git
- lp:~sylvain-pineau/checkbox-support
- fix-1947114
- Merge into master
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 04e29ebe5dcd06c826780b50c71147d32fd8b868 |
Merged at revision: | 269f83a1e40bc48d603f49bbd0db0572ba329dea |
Proposed branch: | ~sylvain-pineau/checkbox-support:fix-1947114 |
Merge into: | checkbox-support:master |
Diff against target: |
877 lines (+848/-1) 3 files modified
checkbox_support/parsers/tests/pactl_data/displayport-monitor-hifi.txt (+838/-0) checkbox_support/scripts/audio_settings.py (+1/-1) checkbox_support/scripts/tests/test_audio_settings.py (+9/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Cave (community) | Approve | ||
Review via email: mp+412674@code.launchpad.net |
Commit message
Description of the change
Fixes the linked bug by adding support for the HiFi displayport profile
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | diff --git a/checkbox_support/parsers/tests/pactl_data/displayport-monitor-hifi.txt b/checkbox_support/parsers/tests/pactl_data/displayport-monitor-hifi.txt | |||
2 | 0 | new file mode 100644 | 0 | new file mode 100644 |
3 | index 0000000..d6657e3 | |||
4 | --- /dev/null | |||
5 | +++ b/checkbox_support/parsers/tests/pactl_data/displayport-monitor-hifi.txt | |||
6 | @@ -0,0 +1,838 @@ | |||
7 | 1 | Module #0 | ||
8 | 2 | Name: module-device-restore | ||
9 | 3 | Argument: | ||
10 | 4 | Usage counter: n/a | ||
11 | 5 | Properties: | ||
12 | 6 | module.author = "Lennart Poettering" | ||
13 | 7 | module.description = "Automatically restore the volume/mute state of devices" | ||
14 | 8 | module.version = "13.99.1" | ||
15 | 9 | |||
16 | 10 | Module #1 | ||
17 | 11 | Name: module-stream-restore | ||
18 | 12 | Argument: | ||
19 | 13 | Usage counter: n/a | ||
20 | 14 | Properties: | ||
21 | 15 | module.author = "Lennart Poettering" | ||
22 | 16 | module.description = "Automatically restore the volume/mute/device state of streams" | ||
23 | 17 | module.version = "13.99.1" | ||
24 | 18 | |||
25 | 19 | Module #2 | ||
26 | 20 | Name: module-card-restore | ||
27 | 21 | Argument: | ||
28 | 22 | Usage counter: n/a | ||
29 | 23 | Properties: | ||
30 | 24 | module.author = "Lennart Poettering" | ||
31 | 25 | module.description = "Automatically restore profile of cards" | ||
32 | 26 | module.version = "13.99.1" | ||
33 | 27 | |||
34 | 28 | Module #3 | ||
35 | 29 | Name: module-augment-properties | ||
36 | 30 | Argument: | ||
37 | 31 | Usage counter: n/a | ||
38 | 32 | Properties: | ||
39 | 33 | module.author = "Lennart Poettering" | ||
40 | 34 | module.description = "Augment the property sets of streams with additional static information" | ||
41 | 35 | module.version = "13.99.1" | ||
42 | 36 | |||
43 | 37 | Module #4 | ||
44 | 38 | Name: module-switch-on-port-available | ||
45 | 39 | Argument: | ||
46 | 40 | Usage counter: n/a | ||
47 | 41 | Properties: | ||
48 | 42 | module.author = "David Henningsson" | ||
49 | 43 | module.description = "Switches ports and profiles when devices are plugged/unplugged" | ||
50 | 44 | module.version = "13.99.1" | ||
51 | 45 | |||
52 | 46 | Module #5 | ||
53 | 47 | Name: module-switch-on-connect | ||
54 | 48 | Argument: | ||
55 | 49 | Usage counter: n/a | ||
56 | 50 | Properties: | ||
57 | 51 | module.author = "Michael Terry" | ||
58 | 52 | module.description = "When a sink/source is added, switch to it or conditionally switch to it" | ||
59 | 53 | module.version = "13.99.1" | ||
60 | 54 | |||
61 | 55 | Module #6 | ||
62 | 56 | Name: module-udev-detect | ||
63 | 57 | Argument: | ||
64 | 58 | Usage counter: n/a | ||
65 | 59 | Properties: | ||
66 | 60 | module.author = "Lennart Poettering" | ||
67 | 61 | module.description = "Detect available audio hardware and load matching drivers" | ||
68 | 62 | module.version = "13.99.1" | ||
69 | 63 | |||
70 | 64 | Module #7 | ||
71 | 65 | Name: module-bluetooth-policy | ||
72 | 66 | Argument: | ||
73 | 67 | Usage counter: n/a | ||
74 | 68 | Properties: | ||
75 | 69 | module.author = "Frédéric Dalleau, Pali Rohár" | ||
76 | 70 | module.description = "Policy module to make using bluetooth devices out-of-the-box easier" | ||
77 | 71 | module.version = "13.99.1" | ||
78 | 72 | |||
79 | 73 | Module #8 | ||
80 | 74 | Name: module-bluetooth-discover | ||
81 | 75 | Argument: | ||
82 | 76 | Usage counter: n/a | ||
83 | 77 | Properties: | ||
84 | 78 | module.author = "João Paulo Rechi Vita" | ||
85 | 79 | module.description = "Detect available Bluetooth daemon and load the corresponding discovery module" | ||
86 | 80 | module.version = "13.99.1" | ||
87 | 81 | |||
88 | 82 | Module #9 | ||
89 | 83 | Name: module-bluez5-discover | ||
90 | 84 | Argument: | ||
91 | 85 | Usage counter: n/a | ||
92 | 86 | Properties: | ||
93 | 87 | module.author = "João Paulo Rechi Vita" | ||
94 | 88 | module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers" | ||
95 | 89 | module.version = "13.99.1" | ||
96 | 90 | |||
97 | 91 | Module #10 | ||
98 | 92 | Name: module-native-protocol-unix | ||
99 | 93 | Argument: | ||
100 | 94 | Usage counter: n/a | ||
101 | 95 | Properties: | ||
102 | 96 | module.author = "Lennart Poettering" | ||
103 | 97 | module.description = "Native protocol (UNIX sockets)" | ||
104 | 98 | module.version = "13.99.1" | ||
105 | 99 | |||
106 | 100 | Module #11 | ||
107 | 101 | Name: module-default-device-restore | ||
108 | 102 | Argument: | ||
109 | 103 | Usage counter: n/a | ||
110 | 104 | Properties: | ||
111 | 105 | module.author = "Lennart Poettering" | ||
112 | 106 | module.description = "Automatically restore the default sink and source" | ||
113 | 107 | module.version = "13.99.1" | ||
114 | 108 | |||
115 | 109 | Module #12 | ||
116 | 110 | Name: module-always-sink | ||
117 | 111 | Argument: | ||
118 | 112 | Usage counter: n/a | ||
119 | 113 | Properties: | ||
120 | 114 | module.author = "Colin Guthrie" | ||
121 | 115 | module.description = "Always keeps at least one sink loaded even if it's a null one" | ||
122 | 116 | module.version = "13.99.1" | ||
123 | 117 | |||
124 | 118 | Module #14 | ||
125 | 119 | Name: module-intended-roles | ||
126 | 120 | Argument: | ||
127 | 121 | Usage counter: n/a | ||
128 | 122 | Properties: | ||
129 | 123 | module.author = "Lennart Poettering" | ||
130 | 124 | module.description = "Automatically set device of streams based on intended roles of devices" | ||
131 | 125 | module.version = "13.99.1" | ||
132 | 126 | |||
133 | 127 | Module #15 | ||
134 | 128 | Name: module-suspend-on-idle | ||
135 | 129 | Argument: | ||
136 | 130 | Usage counter: n/a | ||
137 | 131 | Properties: | ||
138 | 132 | module.author = "Lennart Poettering" | ||
139 | 133 | module.description = "When a sink/source is idle for too long, suspend it" | ||
140 | 134 | module.version = "13.99.1" | ||
141 | 135 | |||
142 | 136 | Module #16 | ||
143 | 137 | Name: module-console-kit | ||
144 | 138 | Argument: | ||
145 | 139 | Usage counter: n/a | ||
146 | 140 | Properties: | ||
147 | 141 | module.author = "Lennart Poettering" | ||
148 | 142 | module.description = "Create a client for each ConsoleKit session of this user" | ||
149 | 143 | module.version = "13.99.1" | ||
150 | 144 | |||
151 | 145 | Module #17 | ||
152 | 146 | Name: module-systemd-login | ||
153 | 147 | Argument: | ||
154 | 148 | Usage counter: n/a | ||
155 | 149 | Properties: | ||
156 | 150 | module.author = "Lennart Poettering" | ||
157 | 151 | module.description = "Create a client for each login session of this user" | ||
158 | 152 | module.version = "13.99.1" | ||
159 | 153 | |||
160 | 154 | Module #18 | ||
161 | 155 | Name: module-position-event-sounds | ||
162 | 156 | Argument: | ||
163 | 157 | Usage counter: n/a | ||
164 | 158 | Properties: | ||
165 | 159 | module.author = "Lennart Poettering" | ||
166 | 160 | module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them." | ||
167 | 161 | module.version = "13.99.1" | ||
168 | 162 | |||
169 | 163 | Module #19 | ||
170 | 164 | Name: module-role-cork | ||
171 | 165 | Argument: | ||
172 | 166 | Usage counter: n/a | ||
173 | 167 | Properties: | ||
174 | 168 | module.author = "Lennart Poettering" | ||
175 | 169 | module.description = "Mute & cork streams with certain roles while others exist" | ||
176 | 170 | module.version = "13.99.1" | ||
177 | 171 | |||
178 | 172 | Module #20 | ||
179 | 173 | Name: module-snap-policy | ||
180 | 174 | Argument: | ||
181 | 175 | Usage counter: n/a | ||
182 | 176 | Properties: | ||
183 | 177 | module.author = "Canonical Ltd" | ||
184 | 178 | module.description = "Ubuntu Snap policy management" | ||
185 | 179 | module.version = "13.99.1" | ||
186 | 180 | |||
187 | 181 | Module #21 | ||
188 | 182 | Name: module-filter-heuristics | ||
189 | 183 | Argument: | ||
190 | 184 | Usage counter: n/a | ||
191 | 185 | Properties: | ||
192 | 186 | module.author = "Colin Guthrie" | ||
193 | 187 | module.description = "Detect when various filters are desirable" | ||
194 | 188 | module.version = "13.99.1" | ||
195 | 189 | |||
196 | 190 | Module #22 | ||
197 | 191 | Name: module-filter-apply | ||
198 | 192 | Argument: | ||
199 | 193 | Usage counter: n/a | ||
200 | 194 | Properties: | ||
201 | 195 | module.author = "Colin Guthrie" | ||
202 | 196 | module.description = "Load filter sinks automatically when needed" | ||
203 | 197 | module.version = "13.99.1" | ||
204 | 198 | |||
205 | 199 | Module #23 | ||
206 | 200 | Name: module-alsa-card | ||
207 | 201 | Argument: device_id="0" name="pci-0000_00_1f.3-platform-skl_hda_dsp_generic" card_name="alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1" | ||
208 | 202 | Usage counter: 0 | ||
209 | 203 | Properties: | ||
210 | 204 | module.author = "Lennart Poettering" | ||
211 | 205 | module.description = "ALSA Card" | ||
212 | 206 | module.version = "13.99.1" | ||
213 | 207 | |||
214 | 208 | Module #24 | ||
215 | 209 | Name: module-x11-publish | ||
216 | 210 | Argument: display=:0 xauthority=/run/user/1000/gdm/Xauthority | ||
217 | 211 | Usage counter: n/a | ||
218 | 212 | Properties: | ||
219 | 213 | module.author = "Lennart Poettering" | ||
220 | 214 | module.description = "X11 credential publisher" | ||
221 | 215 | module.version = "13.99.1" | ||
222 | 216 | |||
223 | 217 | Module #25 | ||
224 | 218 | Name: module-x11-cork-request | ||
225 | 219 | Argument: display=:0 xauthority=/run/user/1000/gdm/Xauthority | ||
226 | 220 | Usage counter: n/a | ||
227 | 221 | Properties: | ||
228 | 222 | module.author = "Lennart Poettering" | ||
229 | 223 | module.description = "Synthesize X11 media key events when cork/uncork is requested" | ||
230 | 224 | module.version = "13.99.1" | ||
231 | 225 | |||
232 | 226 | Module #26 | ||
233 | 227 | Name: module-x11-xsmp | ||
234 | 228 | Argument: display=:0 xauthority=/run/user/1000/gdm/Xauthority session_manager=local/u:@/tmp/.ICE-unix/1639,unix/u:/tmp/.ICE-unix/1639 | ||
235 | 229 | Usage counter: n/a | ||
236 | 230 | Properties: | ||
237 | 231 | module.author = "Lennart Poettering" | ||
238 | 232 | module.description = "X11 session management" | ||
239 | 233 | module.version = "13.99.1" | ||
240 | 234 | |||
241 | 235 | Sink #1 | ||
242 | 236 | State: SUSPENDED | ||
243 | 237 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink | ||
244 | 238 | Description: sof-hda-dsp HDMI3/DP3 Output | ||
245 | 239 | Driver: module-alsa-card.c | ||
246 | 240 | Sample Specification: s16le 2ch 48000Hz | ||
247 | 241 | Channel Map: front-left,front-right | ||
248 | 242 | Owner Module: 23 | ||
249 | 243 | Mute: no | ||
250 | 244 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
251 | 245 | balance 0.00 | ||
252 | 246 | Base Volume: 65536 / 100% / 0.00 dB | ||
253 | 247 | Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor | ||
254 | 248 | Latency: 0 usec, configured 0 usec | ||
255 | 249 | Flags: HARDWARE DECIBEL_VOLUME LATENCY | ||
256 | 250 | Properties: | ||
257 | 251 | alsa.resolution_bits = "16" | ||
258 | 252 | device.api = "alsa" | ||
259 | 253 | device.class = "sound" | ||
260 | 254 | alsa.class = "generic" | ||
261 | 255 | alsa.subclass = "generic-mix" | ||
262 | 256 | alsa.name = "" | ||
263 | 257 | alsa.id = "HDMI3 (*)" | ||
264 | 258 | alsa.subdevice = "0" | ||
265 | 259 | alsa.subdevice_name = "subdevice #0" | ||
266 | 260 | alsa.device = "5" | ||
267 | 261 | alsa.card = "0" | ||
268 | 262 | alsa.card_name = "sof-hda-dsp" | ||
269 | 263 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
270 | 264 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
271 | 265 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
272 | 266 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
273 | 267 | device.bus = "pci" | ||
274 | 268 | device.vendor.id = "8086" | ||
275 | 269 | device.vendor.name = "Intel Corporation" | ||
276 | 270 | device.product.id = "a0c8" | ||
277 | 271 | device.string = "hw:sofhdadsp,5" | ||
278 | 272 | device.buffering.buffer_size = "65536" | ||
279 | 273 | device.buffering.fragment_size = "16384" | ||
280 | 274 | device.access_mode = "mmap+timer" | ||
281 | 275 | device.profile.name = "HiFi: hw:sofhdadsp,5: sink" | ||
282 | 276 | device.profile.description = "HDMI3/DP3 Output" | ||
283 | 277 | alsa.mixer_device = "hw:sofhdadsp" | ||
284 | 278 | device.description = "sof-hda-dsp HDMI3/DP3 Output" | ||
285 | 279 | module-udev-detect.discovered = "1" | ||
286 | 280 | device.icon_name = "audio-card-pci" | ||
287 | 281 | Ports: | ||
288 | 282 | [Out] HDMI3: HDMI3/DP3 Output (priority: 700, not available) | ||
289 | 283 | Active Port: [Out] HDMI3 | ||
290 | 284 | Formats: | ||
291 | 285 | pcm | ||
292 | 286 | |||
293 | 287 | Sink #2 | ||
294 | 288 | State: SUSPENDED | ||
295 | 289 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink | ||
296 | 290 | Description: sof-hda-dsp HDMI2/DP2 Output | ||
297 | 291 | Driver: module-alsa-card.c | ||
298 | 292 | Sample Specification: s16le 2ch 48000Hz | ||
299 | 293 | Channel Map: front-left,front-right | ||
300 | 294 | Owner Module: 23 | ||
301 | 295 | Mute: no | ||
302 | 296 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
303 | 297 | balance 0.00 | ||
304 | 298 | Base Volume: 65536 / 100% / 0.00 dB | ||
305 | 299 | Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor | ||
306 | 300 | Latency: 0 usec, configured 0 usec | ||
307 | 301 | Flags: HARDWARE DECIBEL_VOLUME LATENCY | ||
308 | 302 | Properties: | ||
309 | 303 | alsa.resolution_bits = "16" | ||
310 | 304 | device.api = "alsa" | ||
311 | 305 | device.class = "sound" | ||
312 | 306 | alsa.class = "generic" | ||
313 | 307 | alsa.subclass = "generic-mix" | ||
314 | 308 | alsa.name = "" | ||
315 | 309 | alsa.id = "HDMI2 (*)" | ||
316 | 310 | alsa.subdevice = "0" | ||
317 | 311 | alsa.subdevice_name = "subdevice #0" | ||
318 | 312 | alsa.device = "4" | ||
319 | 313 | alsa.card = "0" | ||
320 | 314 | alsa.card_name = "sof-hda-dsp" | ||
321 | 315 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
322 | 316 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
323 | 317 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
324 | 318 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
325 | 319 | device.bus = "pci" | ||
326 | 320 | device.vendor.id = "8086" | ||
327 | 321 | device.vendor.name = "Intel Corporation" | ||
328 | 322 | device.product.id = "a0c8" | ||
329 | 323 | device.string = "hw:sofhdadsp,4" | ||
330 | 324 | device.buffering.buffer_size = "65536" | ||
331 | 325 | device.buffering.fragment_size = "16384" | ||
332 | 326 | device.access_mode = "mmap+timer" | ||
333 | 327 | device.profile.name = "HiFi: hw:sofhdadsp,4: sink" | ||
334 | 328 | device.profile.description = "HDMI2/DP2 Output" | ||
335 | 329 | alsa.mixer_device = "hw:sofhdadsp" | ||
336 | 330 | device.description = "sof-hda-dsp HDMI2/DP2 Output" | ||
337 | 331 | module-udev-detect.discovered = "1" | ||
338 | 332 | device.icon_name = "audio-card-pci" | ||
339 | 333 | Ports: | ||
340 | 334 | [Out] HDMI2: HDMI2/DP2 Output (priority: 600, not available) | ||
341 | 335 | Active Port: [Out] HDMI2 | ||
342 | 336 | Formats: | ||
343 | 337 | pcm | ||
344 | 338 | |||
345 | 339 | Sink #3 | ||
346 | 340 | State: SUSPENDED | ||
347 | 341 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink | ||
348 | 342 | Description: sof-hda-dsp HDMI1/DP1 Output | ||
349 | 343 | Driver: module-alsa-card.c | ||
350 | 344 | Sample Specification: s16le 2ch 48000Hz | ||
351 | 345 | Channel Map: front-left,front-right | ||
352 | 346 | Owner Module: 23 | ||
353 | 347 | Mute: no | ||
354 | 348 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
355 | 349 | balance 0.00 | ||
356 | 350 | Base Volume: 65536 / 100% / 0.00 dB | ||
357 | 351 | Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor | ||
358 | 352 | Latency: 0 usec, configured 0 usec | ||
359 | 353 | Flags: HARDWARE DECIBEL_VOLUME LATENCY | ||
360 | 354 | Properties: | ||
361 | 355 | alsa.resolution_bits = "16" | ||
362 | 356 | device.api = "alsa" | ||
363 | 357 | device.class = "sound" | ||
364 | 358 | alsa.class = "generic" | ||
365 | 359 | alsa.subclass = "generic-mix" | ||
366 | 360 | alsa.name = "" | ||
367 | 361 | alsa.id = "HDMI1 (*)" | ||
368 | 362 | alsa.subdevice = "0" | ||
369 | 363 | alsa.subdevice_name = "subdevice #0" | ||
370 | 364 | alsa.device = "3" | ||
371 | 365 | alsa.card = "0" | ||
372 | 366 | alsa.card_name = "sof-hda-dsp" | ||
373 | 367 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
374 | 368 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
375 | 369 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
376 | 370 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
377 | 371 | device.bus = "pci" | ||
378 | 372 | device.vendor.id = "8086" | ||
379 | 373 | device.vendor.name = "Intel Corporation" | ||
380 | 374 | device.product.id = "a0c8" | ||
381 | 375 | device.string = "hw:sofhdadsp,3" | ||
382 | 376 | device.buffering.buffer_size = "65536" | ||
383 | 377 | device.buffering.fragment_size = "16384" | ||
384 | 378 | device.access_mode = "mmap+timer" | ||
385 | 379 | device.profile.name = "HiFi: hw:sofhdadsp,3: sink" | ||
386 | 380 | device.profile.description = "HDMI1/DP1 Output" | ||
387 | 381 | alsa.mixer_device = "hw:sofhdadsp" | ||
388 | 382 | device.description = "sof-hda-dsp HDMI1/DP1 Output" | ||
389 | 383 | module-udev-detect.discovered = "1" | ||
390 | 384 | device.icon_name = "audio-card-pci" | ||
391 | 385 | Ports: | ||
392 | 386 | [Out] HDMI1: HDMI1/DP1 Output (priority: 500, available) | ||
393 | 387 | Active Port: [Out] HDMI1 | ||
394 | 388 | Formats: | ||
395 | 389 | pcm | ||
396 | 390 | |||
397 | 391 | Sink #4 | ||
398 | 392 | State: SUSPENDED | ||
399 | 393 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink | ||
400 | 394 | Description: sof-hda-dsp Speaker + Headphones | ||
401 | 395 | Driver: module-alsa-card.c | ||
402 | 396 | Sample Specification: s16le 2ch 48000Hz | ||
403 | 397 | Channel Map: front-left,front-right | ||
404 | 398 | Owner Module: 23 | ||
405 | 399 | Mute: no | ||
406 | 400 | Volume: front-left: 19944 / 30% / -31.00 dB, front-right: 19944 / 30% / -31.00 dB | ||
407 | 401 | balance 0.00 | ||
408 | 402 | Base Volume: 65536 / 100% / 0.00 dB | ||
409 | 403 | Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor | ||
410 | 404 | Latency: 0 usec, configured 0 usec | ||
411 | 405 | Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY | ||
412 | 406 | Properties: | ||
413 | 407 | alsa.resolution_bits = "16" | ||
414 | 408 | device.api = "alsa" | ||
415 | 409 | device.class = "sound" | ||
416 | 410 | alsa.class = "generic" | ||
417 | 411 | alsa.subclass = "generic-mix" | ||
418 | 412 | alsa.name = "" | ||
419 | 413 | alsa.id = "HDA Analog (*)" | ||
420 | 414 | alsa.subdevice = "0" | ||
421 | 415 | alsa.subdevice_name = "subdevice #0" | ||
422 | 416 | alsa.device = "0" | ||
423 | 417 | alsa.card = "0" | ||
424 | 418 | alsa.card_name = "sof-hda-dsp" | ||
425 | 419 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
426 | 420 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
427 | 421 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
428 | 422 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
429 | 423 | device.bus = "pci" | ||
430 | 424 | device.vendor.id = "8086" | ||
431 | 425 | device.vendor.name = "Intel Corporation" | ||
432 | 426 | device.product.id = "a0c8" | ||
433 | 427 | device.string = "hw:sofhdadsp" | ||
434 | 428 | device.buffering.buffer_size = "65536" | ||
435 | 429 | device.buffering.fragment_size = "16384" | ||
436 | 430 | device.access_mode = "mmap+timer" | ||
437 | 431 | device.profile.name = "HiFi: hw:sofhdadsp: sink" | ||
438 | 432 | device.profile.description = "Speaker + Headphones" | ||
439 | 433 | alsa.mixer_device = "hw:sofhdadsp" | ||
440 | 434 | device.description = "sof-hda-dsp Speaker + Headphones" | ||
441 | 435 | module-udev-detect.discovered = "1" | ||
442 | 436 | device.icon_name = "audio-card-pci" | ||
443 | 437 | Ports: | ||
444 | 438 | [Out] Speaker: Speaker (priority: 100) | ||
445 | 439 | [Out] Headphones: Headphones (priority: 200) | ||
446 | 440 | Active Port: [Out] Headphones | ||
447 | 441 | Formats: | ||
448 | 442 | pcm | ||
449 | 443 | |||
450 | 444 | Source #1 | ||
451 | 445 | State: SUSPENDED | ||
452 | 446 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor | ||
453 | 447 | Description: Monitor of sof-hda-dsp HDMI3/DP3 Output | ||
454 | 448 | Driver: module-alsa-card.c | ||
455 | 449 | Sample Specification: s16le 2ch 48000Hz | ||
456 | 450 | Channel Map: front-left,front-right | ||
457 | 451 | Owner Module: 23 | ||
458 | 452 | Mute: no | ||
459 | 453 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
460 | 454 | balance 0.00 | ||
461 | 455 | Base Volume: 65536 / 100% / 0.00 dB | ||
462 | 456 | Monitor of Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink | ||
463 | 457 | Latency: 0 usec, configured 0 usec | ||
464 | 458 | Flags: DECIBEL_VOLUME LATENCY | ||
465 | 459 | Properties: | ||
466 | 460 | device.description = "Monitor of sof-hda-dsp HDMI3/DP3 Output" | ||
467 | 461 | device.class = "monitor" | ||
468 | 462 | alsa.card = "0" | ||
469 | 463 | alsa.card_name = "sof-hda-dsp" | ||
470 | 464 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
471 | 465 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
472 | 466 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
473 | 467 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
474 | 468 | device.bus = "pci" | ||
475 | 469 | device.vendor.id = "8086" | ||
476 | 470 | device.vendor.name = "Intel Corporation" | ||
477 | 471 | device.product.id = "a0c8" | ||
478 | 472 | device.string = "0" | ||
479 | 473 | module-udev-detect.discovered = "1" | ||
480 | 474 | device.icon_name = "audio-card-pci" | ||
481 | 475 | Formats: | ||
482 | 476 | pcm | ||
483 | 477 | |||
484 | 478 | Source #2 | ||
485 | 479 | State: SUSPENDED | ||
486 | 480 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor | ||
487 | 481 | Description: Monitor of sof-hda-dsp HDMI2/DP2 Output | ||
488 | 482 | Driver: module-alsa-card.c | ||
489 | 483 | Sample Specification: s16le 2ch 48000Hz | ||
490 | 484 | Channel Map: front-left,front-right | ||
491 | 485 | Owner Module: 23 | ||
492 | 486 | Mute: no | ||
493 | 487 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
494 | 488 | balance 0.00 | ||
495 | 489 | Base Volume: 65536 / 100% / 0.00 dB | ||
496 | 490 | Monitor of Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink | ||
497 | 491 | Latency: 0 usec, configured 0 usec | ||
498 | 492 | Flags: DECIBEL_VOLUME LATENCY | ||
499 | 493 | Properties: | ||
500 | 494 | device.description = "Monitor of sof-hda-dsp HDMI2/DP2 Output" | ||
501 | 495 | device.class = "monitor" | ||
502 | 496 | alsa.card = "0" | ||
503 | 497 | alsa.card_name = "sof-hda-dsp" | ||
504 | 498 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
505 | 499 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
506 | 500 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
507 | 501 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
508 | 502 | device.bus = "pci" | ||
509 | 503 | device.vendor.id = "8086" | ||
510 | 504 | device.vendor.name = "Intel Corporation" | ||
511 | 505 | device.product.id = "a0c8" | ||
512 | 506 | device.string = "0" | ||
513 | 507 | module-udev-detect.discovered = "1" | ||
514 | 508 | device.icon_name = "audio-card-pci" | ||
515 | 509 | Formats: | ||
516 | 510 | pcm | ||
517 | 511 | |||
518 | 512 | Source #3 | ||
519 | 513 | State: SUSPENDED | ||
520 | 514 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor | ||
521 | 515 | Description: Monitor of sof-hda-dsp HDMI1/DP1 Output | ||
522 | 516 | Driver: module-alsa-card.c | ||
523 | 517 | Sample Specification: s16le 2ch 48000Hz | ||
524 | 518 | Channel Map: front-left,front-right | ||
525 | 519 | Owner Module: 23 | ||
526 | 520 | Mute: no | ||
527 | 521 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
528 | 522 | balance 0.00 | ||
529 | 523 | Base Volume: 65536 / 100% / 0.00 dB | ||
530 | 524 | Monitor of Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink | ||
531 | 525 | Latency: 0 usec, configured 0 usec | ||
532 | 526 | Flags: DECIBEL_VOLUME LATENCY | ||
533 | 527 | Properties: | ||
534 | 528 | device.description = "Monitor of sof-hda-dsp HDMI1/DP1 Output" | ||
535 | 529 | device.class = "monitor" | ||
536 | 530 | alsa.card = "0" | ||
537 | 531 | alsa.card_name = "sof-hda-dsp" | ||
538 | 532 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
539 | 533 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
540 | 534 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
541 | 535 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
542 | 536 | device.bus = "pci" | ||
543 | 537 | device.vendor.id = "8086" | ||
544 | 538 | device.vendor.name = "Intel Corporation" | ||
545 | 539 | device.product.id = "a0c8" | ||
546 | 540 | device.string = "0" | ||
547 | 541 | module-udev-detect.discovered = "1" | ||
548 | 542 | device.icon_name = "audio-card-pci" | ||
549 | 543 | Formats: | ||
550 | 544 | pcm | ||
551 | 545 | |||
552 | 546 | Source #4 | ||
553 | 547 | State: SUSPENDED | ||
554 | 548 | Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor | ||
555 | 549 | Description: Monitor of sof-hda-dsp Speaker + Headphones | ||
556 | 550 | Driver: module-alsa-card.c | ||
557 | 551 | Sample Specification: s16le 2ch 48000Hz | ||
558 | 552 | Channel Map: front-left,front-right | ||
559 | 553 | Owner Module: 23 | ||
560 | 554 | Mute: no | ||
561 | 555 | Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB | ||
562 | 556 | balance 0.00 | ||
563 | 557 | Base Volume: 65536 / 100% / 0.00 dB | ||
564 | 558 | Monitor of Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink | ||
565 | 559 | Latency: 0 usec, configured 0 usec | ||
566 | 560 | Flags: DECIBEL_VOLUME LATENCY | ||
567 | 561 | Properties: | ||
568 | 562 | device.description = "Monitor of sof-hda-dsp Speaker + Headphones" | ||
569 | 563 | device.class = "monitor" | ||
570 | 564 | alsa.card = "0" | ||
571 | 565 | alsa.card_name = "sof-hda-dsp" | ||
572 | 566 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
573 | 567 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
574 | 568 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
575 | 569 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
576 | 570 | device.bus = "pci" | ||
577 | 571 | device.vendor.id = "8086" | ||
578 | 572 | device.vendor.name = "Intel Corporation" | ||
579 | 573 | device.product.id = "a0c8" | ||
580 | 574 | device.string = "0" | ||
581 | 575 | module-udev-detect.discovered = "1" | ||
582 | 576 | device.icon_name = "audio-card-pci" | ||
583 | 577 | Formats: | ||
584 | 578 | pcm | ||
585 | 579 | |||
586 | 580 | Source #5 | ||
587 | 581 | State: SUSPENDED | ||
588 | 582 | Name: alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source | ||
589 | 583 | Description: sof-hda-dsp Headphones Stereo Microphone | ||
590 | 584 | Driver: module-alsa-card.c | ||
591 | 585 | Sample Specification: s16le 2ch 48000Hz | ||
592 | 586 | Channel Map: front-left,front-right | ||
593 | 587 | Owner Module: 23 | ||
594 | 588 | Mute: no | ||
595 | 589 | Volume: front-left: 32845 / 50% / -18.00 dB, front-right: 32845 / 50% / -18.00 dB | ||
596 | 590 | balance 0.00 | ||
597 | 591 | Base Volume: 20724 / 32% / -30.00 dB | ||
598 | 592 | Monitor of Sink: n/a | ||
599 | 593 | Latency: 0 usec, configured 0 usec | ||
600 | 594 | Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY | ||
601 | 595 | Properties: | ||
602 | 596 | alsa.resolution_bits = "16" | ||
603 | 597 | device.api = "alsa" | ||
604 | 598 | device.class = "sound" | ||
605 | 599 | alsa.class = "generic" | ||
606 | 600 | alsa.subclass = "generic-mix" | ||
607 | 601 | alsa.name = "" | ||
608 | 602 | alsa.id = "HDA Analog (*)" | ||
609 | 603 | alsa.subdevice = "0" | ||
610 | 604 | alsa.subdevice_name = "subdevice #0" | ||
611 | 605 | alsa.device = "0" | ||
612 | 606 | alsa.card = "0" | ||
613 | 607 | alsa.card_name = "sof-hda-dsp" | ||
614 | 608 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
615 | 609 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
616 | 610 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
617 | 611 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
618 | 612 | device.bus = "pci" | ||
619 | 613 | device.vendor.id = "8086" | ||
620 | 614 | device.vendor.name = "Intel Corporation" | ||
621 | 615 | device.product.id = "a0c8" | ||
622 | 616 | device.string = "hw:sofhdadsp" | ||
623 | 617 | device.buffering.buffer_size = "65536" | ||
624 | 618 | device.buffering.fragment_size = "16384" | ||
625 | 619 | device.access_mode = "mmap+timer" | ||
626 | 620 | device.profile.name = "HiFi: hw:sofhdadsp: source" | ||
627 | 621 | device.profile.description = "Headphones Stereo Microphone" | ||
628 | 622 | alsa.mixer_device = "hw:sofhdadsp" | ||
629 | 623 | device.description = "sof-hda-dsp Headphones Stereo Microphone" | ||
630 | 624 | module-udev-detect.discovered = "1" | ||
631 | 625 | device.icon_name = "audio-card-pci" | ||
632 | 626 | Ports: | ||
633 | 627 | [In] Mic2: Headphones Stereo Microphone (priority: 200) | ||
634 | 628 | Active Port: [In] Mic2 | ||
635 | 629 | Formats: | ||
636 | 630 | pcm | ||
637 | 631 | |||
638 | 632 | Source #6 | ||
639 | 633 | State: SUSPENDED | ||
640 | 634 | Name: alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source | ||
641 | 635 | Description: sof-hda-dsp Digital Microphone | ||
642 | 636 | Driver: module-alsa-card.c | ||
643 | 637 | Sample Specification: s16le 4ch 48000Hz | ||
644 | 638 | Channel Map: front-left,front-right,rear-left,rear-right | ||
645 | 639 | Owner Module: 23 | ||
646 | 640 | Mute: no | ||
647 | 641 | Volume: front-left: 29274 / 45% / -21.00 dB, front-right: 29274 / 45% / -21.00 dB, rear-left: 29274 / 45% / -21.00 dB, rear-right: 29274 / 45% / -21.00 dB | ||
648 | 642 | balance 0.00 | ||
649 | 643 | Base Volume: 30419 / 46% / -20.00 dB | ||
650 | 644 | Monitor of Sink: n/a | ||
651 | 645 | Latency: 0 usec, configured 0 usec | ||
652 | 646 | Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY | ||
653 | 647 | Properties: | ||
654 | 648 | alsa.resolution_bits = "16" | ||
655 | 649 | device.api = "alsa" | ||
656 | 650 | device.class = "sound" | ||
657 | 651 | alsa.class = "generic" | ||
658 | 652 | alsa.subclass = "generic-mix" | ||
659 | 653 | alsa.name = "" | ||
660 | 654 | alsa.id = "DMIC (*)" | ||
661 | 655 | alsa.subdevice = "0" | ||
662 | 656 | alsa.subdevice_name = "subdevice #0" | ||
663 | 657 | alsa.device = "6" | ||
664 | 658 | alsa.card = "0" | ||
665 | 659 | alsa.card_name = "sof-hda-dsp" | ||
666 | 660 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
667 | 661 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
668 | 662 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
669 | 663 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
670 | 664 | device.bus = "pci" | ||
671 | 665 | device.vendor.id = "8086" | ||
672 | 666 | device.vendor.name = "Intel Corporation" | ||
673 | 667 | device.product.id = "a0c8" | ||
674 | 668 | device.string = "hw:sofhdadsp,6" | ||
675 | 669 | device.buffering.buffer_size = "65536" | ||
676 | 670 | device.buffering.fragment_size = "16384" | ||
677 | 671 | device.access_mode = "mmap+timer" | ||
678 | 672 | device.profile.name = "HiFi: hw:sofhdadsp,6: source" | ||
679 | 673 | device.profile.description = "Digital Microphone" | ||
680 | 674 | alsa.mixer_device = "hw:sofhdadsp" | ||
681 | 675 | device.description = "sof-hda-dsp Digital Microphone" | ||
682 | 676 | module-udev-detect.discovered = "1" | ||
683 | 677 | device.icon_name = "audio-card-pci" | ||
684 | 678 | Ports: | ||
685 | 679 | [In] Mic1: Digital Microphone (priority: 100) | ||
686 | 680 | Active Port: [In] Mic1 | ||
687 | 681 | Formats: | ||
688 | 682 | pcm | ||
689 | 683 | |||
690 | 684 | Client #0 | ||
691 | 685 | Driver: module-systemd-login.c | ||
692 | 686 | Owner Module: 17 | ||
693 | 687 | Properties: | ||
694 | 688 | application.name = "Login Session 2" | ||
695 | 689 | systemd-login.session = "2" | ||
696 | 690 | |||
697 | 691 | Client #4 | ||
698 | 692 | Driver: module-x11-xsmp.c | ||
699 | 693 | Owner Module: 26 | ||
700 | 694 | Properties: | ||
701 | 695 | application.name = "XSMP Session on gnome-session as 10ec6cc64fba7c34fe163729351342406800000016390060" | ||
702 | 696 | xsmp.vendor = "gnome-session" | ||
703 | 697 | xsmp.client.id = "10ec6cc64fba7c34fe163729351342406800000016390060" | ||
704 | 698 | |||
705 | 699 | Client #5 | ||
706 | 700 | Driver: protocol-native.c | ||
707 | 701 | Owner Module: 10 | ||
708 | 702 | Properties: | ||
709 | 703 | application.name = "GNOME Shell Volume Control" | ||
710 | 704 | native-protocol.peer = "UNIX socket client" | ||
711 | 705 | native-protocol.version = "33" | ||
712 | 706 | application.id = "org.gnome.VolumeControl" | ||
713 | 707 | application.icon_name = "multimedia-volume-control" | ||
714 | 708 | application.version = "3.36.9" | ||
715 | 709 | application.process.id = "1654" | ||
716 | 710 | application.process.user = "u" | ||
717 | 711 | application.process.host = "u" | ||
718 | 712 | application.process.binary = "gnome-shell" | ||
719 | 713 | application.language = "en_US.UTF-8" | ||
720 | 714 | window.x11.display = ":0" | ||
721 | 715 | application.process.machine_id = "8f6599b170014e7cbecdf0bcdacb19fd" | ||
722 | 716 | |||
723 | 717 | Client #6 | ||
724 | 718 | Driver: protocol-native.c | ||
725 | 719 | Owner Module: 10 | ||
726 | 720 | Properties: | ||
727 | 721 | application.name = "GNOME Volume Control Media Keys" | ||
728 | 722 | native-protocol.peer = "UNIX socket client" | ||
729 | 723 | native-protocol.version = "33" | ||
730 | 724 | application.id = "org.gnome.VolumeControl" | ||
731 | 725 | application.icon_name = "multimedia-volume-control" | ||
732 | 726 | application.version = "" | ||
733 | 727 | application.process.id = "1785" | ||
734 | 728 | application.process.user = "u" | ||
735 | 729 | application.process.host = "u" | ||
736 | 730 | application.process.binary = "gsd-media-keys" | ||
737 | 731 | application.language = "en_US.UTF-8" | ||
738 | 732 | window.x11.display = ":0" | ||
739 | 733 | application.process.machine_id = "8f6599b170014e7cbecdf0bcdacb19fd" | ||
740 | 734 | |||
741 | 735 | Client #8 | ||
742 | 736 | Driver: protocol-native.c | ||
743 | 737 | Owner Module: 10 | ||
744 | 738 | Properties: | ||
745 | 739 | application.name = "Terminal" | ||
746 | 740 | native-protocol.peer = "UNIX socket client" | ||
747 | 741 | native-protocol.version = "33" | ||
748 | 742 | application.icon_name = "org.gnome.Terminal" | ||
749 | 743 | window.x11.display = ":0" | ||
750 | 744 | window.x11.screen = "0" | ||
751 | 745 | application.process.id = "2071" | ||
752 | 746 | application.process.user = "u" | ||
753 | 747 | application.process.host = "u" | ||
754 | 748 | application.process.binary = "gnome-terminal-server" | ||
755 | 749 | application.language = "en_US.UTF-8" | ||
756 | 750 | application.process.machine_id = "8f6599b170014e7cbecdf0bcdacb19fd" | ||
757 | 751 | |||
758 | 752 | Client #11 | ||
759 | 753 | Driver: protocol-native.c | ||
760 | 754 | Owner Module: 10 | ||
761 | 755 | Properties: | ||
762 | 756 | application.name = "Mutter" | ||
763 | 757 | native-protocol.peer = "UNIX socket client" | ||
764 | 758 | native-protocol.version = "33" | ||
765 | 759 | application.process.id = "1654" | ||
766 | 760 | application.process.user = "u" | ||
767 | 761 | application.process.host = "u" | ||
768 | 762 | application.process.binary = "gnome-shell" | ||
769 | 763 | application.language = "en_US.UTF-8" | ||
770 | 764 | window.x11.display = ":0" | ||
771 | 765 | application.process.machine_id = "8f6599b170014e7cbecdf0bcdacb19fd" | ||
772 | 766 | |||
773 | 767 | Client #12 | ||
774 | 768 | Driver: protocol-native.c | ||
775 | 769 | Owner Module: 10 | ||
776 | 770 | Properties: | ||
777 | 771 | application.name = "update-manager" | ||
778 | 772 | native-protocol.peer = "UNIX socket client" | ||
779 | 773 | native-protocol.version = "33" | ||
780 | 774 | application.icon_name = "system-software-update" | ||
781 | 775 | window.x11.display = ":0" | ||
782 | 776 | window.x11.screen = "0" | ||
783 | 777 | application.process.id = "2268" | ||
784 | 778 | application.process.user = "u" | ||
785 | 779 | application.process.host = "u" | ||
786 | 780 | application.process.binary = "python3.8" | ||
787 | 781 | application.language = "en_US.UTF-8" | ||
788 | 782 | application.process.machine_id = "8f6599b170014e7cbecdf0bcdacb19fd" | ||
789 | 783 | |||
790 | 784 | Client #13 | ||
791 | 785 | Driver: protocol-native.c | ||
792 | 786 | Owner Module: 10 | ||
793 | 787 | Properties: | ||
794 | 788 | application.name = "pactl" | ||
795 | 789 | native-protocol.peer = "UNIX socket client" | ||
796 | 790 | native-protocol.version = "33" | ||
797 | 791 | application.process.id = "2864" | ||
798 | 792 | application.process.user = "u" | ||
799 | 793 | application.process.host = "u" | ||
800 | 794 | application.process.binary = "pactl" | ||
801 | 795 | application.language = "en_US.UTF-8" | ||
802 | 796 | window.x11.display = ":0" | ||
803 | 797 | application.process.machine_id = "8f6599b170014e7cbecdf0bcdacb19fd" | ||
804 | 798 | |||
805 | 799 | Card #0 | ||
806 | 800 | Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic | ||
807 | 801 | Driver: module-alsa-card.c | ||
808 | 802 | Owner Module: 23 | ||
809 | 803 | Properties: | ||
810 | 804 | alsa.card = "0" | ||
811 | 805 | alsa.card_name = "sof-hda-dsp" | ||
812 | 806 | alsa.long_card_name = "AAEON-UPX_TGL01-V1.0" | ||
813 | 807 | alsa.driver_name = "snd_soc_skl_hda_dsp" | ||
814 | 808 | device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" | ||
815 | 809 | sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" | ||
816 | 810 | device.bus = "pci" | ||
817 | 811 | device.vendor.id = "8086" | ||
818 | 812 | device.vendor.name = "Intel Corporation" | ||
819 | 813 | device.product.id = "a0c8" | ||
820 | 814 | device.string = "0" | ||
821 | 815 | device.description = "sof-hda-dsp" | ||
822 | 816 | module-udev-detect.discovered = "1" | ||
823 | 817 | device.icon_name = "audio-card-pci" | ||
824 | 818 | Profiles: | ||
825 | 819 | HiFi: Play HiFi quality Music (sinks: 4, sources: 2, priority: 40768, available: yes) | ||
826 | 820 | off: Off (sinks: 0, sources: 0, priority: 0, available: yes) | ||
827 | 821 | Active Profile: HiFi | ||
828 | 822 | Ports: | ||
829 | 823 | [Out] HDMI3: HDMI3/DP3 Output (priority: 700, latency offset: 0 usec, not available) | ||
830 | 824 | Part of profile(s): HiFi | ||
831 | 825 | [Out] HDMI2: HDMI2/DP2 Output (priority: 600, latency offset: 0 usec, not available) | ||
832 | 826 | Part of profile(s): HiFi | ||
833 | 827 | [Out] HDMI1: HDMI1/DP1 Output (priority: 500, latency offset: 0 usec, available) | ||
834 | 828 | Properties: | ||
835 | 829 | device.product.name = "BenQ EL2870U" | ||
836 | 830 | Part of profile(s): HiFi | ||
837 | 831 | [Out] Speaker: Speaker (priority: 100, latency offset: 0 usec) | ||
838 | 832 | Part of profile(s): HiFi | ||
839 | 833 | [Out] Headphones: Headphones (priority: 200, latency offset: 0 usec) | ||
840 | 834 | Part of profile(s): HiFi | ||
841 | 835 | [In] Mic2: Headphones Stereo Microphone (priority: 200, latency offset: 0 usec) | ||
842 | 836 | Part of profile(s): HiFi | ||
843 | 837 | [In] Mic1: Digital Microphone (priority: 100, latency offset: 0 usec) | ||
844 | 838 | Part of profile(s): HiFi | ||
845 | diff --git a/checkbox_support/scripts/audio_settings.py b/checkbox_support/scripts/audio_settings.py | |||
846 | index 2cf6a3f..1b3974c 100644 | |||
847 | --- a/checkbox_support/scripts/audio_settings.py | |||
848 | +++ b/checkbox_support/scripts/audio_settings.py | |||
849 | @@ -123,7 +123,7 @@ def _guess_hdmi_profile(pactl_list): | |||
850 | 123 | card, port = available_port.popitem() | 123 | card, port = available_port.popitem() |
851 | 124 | # Keep the shortest string in the profile_list including 'stereo' | 124 | # Keep the shortest string in the profile_list including 'stereo' |
852 | 125 | # it will avoid testing 'surround' profiles | 125 | # it will avoid testing 'surround' profiles |
854 | 126 | profile = min([p for p in port.profile_list if ('stereo' in p) or ('Hdmi' in p)], key=len) | 126 | profile = min([p for p in port.profile_list if ('stereo' in p) or ('Hdmi' in p) or ('HiFi' in p)], key=len) |
855 | 127 | logging.info("[ Selected profile ]".center(80, '=')) | 127 | logging.info("[ Selected profile ]".center(80, '=')) |
856 | 128 | logging.info("Card #{} Profile: {}".format(card, profile)) | 128 | logging.info("Card #{} Profile: {}".format(card, profile)) |
857 | 129 | return (card, profile) | 129 | return (card, profile) |
858 | diff --git a/checkbox_support/scripts/tests/test_audio_settings.py b/checkbox_support/scripts/tests/test_audio_settings.py | |||
859 | index 6a6b0ba..8427a05 100644 | |||
860 | --- a/checkbox_support/scripts/tests/test_audio_settings.py | |||
861 | +++ b/checkbox_support/scripts/tests/test_audio_settings.py | |||
862 | @@ -171,6 +171,15 @@ class SetProfileTest(unittest.TestCase, PactlDataMixIn): | |||
863 | 171 | _guess_hdmi_profile(self.get_text("desktop-bionic-x13")), | 171 | _guess_hdmi_profile(self.get_text("desktop-bionic-x13")), |
864 | 172 | ('0', 'Hdmi2')) | 172 | ('0', 'Hdmi2')) |
865 | 173 | 173 | ||
866 | 174 | def test_displayport_monitor_hifi(self): | ||
867 | 175 | """ | ||
868 | 176 | Displayport profiles can be exposed using Hifi | ||
869 | 177 | """ | ||
870 | 178 | self.assertEqual( | ||
871 | 179 | _guess_hdmi_profile(self.get_text("displayport-monitor-hifi")), | ||
872 | 180 | ('0', 'HiFi')) | ||
873 | 181 | |||
874 | 182 | |||
875 | 174 | class RegexTest(unittest.TestCase): | 183 | class RegexTest(unittest.TestCase): |
876 | 175 | 184 | ||
877 | 176 | def test_volume_regex_trusty(self): | 185 | def test_volume_regex_trusty(self): |
LGTM, thank you!