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