Merge ~sylvain-pineau/checkbox-support:patcl-parser-1.11-empty-property-support into checkbox-support:master
- Git
- lp:~sylvain-pineau/checkbox-support
- patcl-parser-1.11-empty-property-support
- Merge into master
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 105e431a42346cb3d6814962ada65b98e0e42c23 |
Merged at revision: | 53c68753cefd091072faff45eb268a92b31934ed |
Proposed branch: | ~sylvain-pineau/checkbox-support:patcl-parser-1.11-empty-property-support |
Merge into: | checkbox-support:master |
Diff against target: |
1134 lines (+1105/-1) 3 files modified
checkbox_support/parsers/pactl.py (+8/-1) checkbox_support/parsers/tests/pactl_data/desktop-bionic-t480s.txt (+1091/-0) checkbox_support/parsers/tests/test_pactl.py (+6/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+345640@code.launchpad.net |
Commit message
Description of the change
The pactl parser (based on pyparsing) is failing to parser a bionic/pactl 1.11 output.
Root cause is an empty property (application.
Client #9
Driver: protocol-native.c
Owner Module: 13
Properties:
application.name = "GNOME Volume Control Media Keys"
native-
native-
application.id = "org.gnome.
application.
application.
This patch fixes the grammar to support this kind of syntax. (tested on bionic)
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 c4193f6..928e2e5 100644 |
3 | --- a/checkbox_support/parsers/pactl.py |
4 | +++ b/checkbox_support/parsers/pactl.py |
5 | @@ -146,7 +146,14 @@ class Property(Node): |
6 | __syntax__ = ( |
7 | p.Word(p.alphanums + "-_.").setResultsName("property-name") |
8 | + p.Suppress('=') |
9 | - + p.QuotedString('"').setResultsName("property-value") |
10 | + + p.Or([ |
11 | + p.Suppress('"') |
12 | + + p.Empty().setParseAction( |
13 | + lambda t: " " |
14 | + ).setResultsName("property-value") |
15 | + + p.Suppress('"'), |
16 | + p.QuotedString('"').setResultsName("property-value") |
17 | + ]) |
18 | ).setResultsName('property') |
19 | |
20 | |
21 | diff --git a/checkbox_support/parsers/tests/pactl_data/desktop-bionic-t480s.txt b/checkbox_support/parsers/tests/pactl_data/desktop-bionic-t480s.txt |
22 | new file mode 100644 |
23 | index 0000000..012f809 |
24 | --- /dev/null |
25 | +++ b/checkbox_support/parsers/tests/pactl_data/desktop-bionic-t480s.txt |
26 | @@ -0,0 +1,1091 @@ |
27 | +Module #0 |
28 | + Name: module-device-restore |
29 | + Argument: |
30 | + Usage counter: n/a |
31 | + Properties: |
32 | + module.author = "Lennart Poettering" |
33 | + module.description = "Automatically restore the volume/mute state of devices" |
34 | + module.version = "11.1" |
35 | + |
36 | +Module #1 |
37 | + Name: module-stream-restore |
38 | + Argument: |
39 | + Usage counter: n/a |
40 | + Properties: |
41 | + module.author = "Lennart Poettering" |
42 | + module.description = "Automatically restore the volume/mute/device state of streams" |
43 | + module.version = "11.1" |
44 | + |
45 | +Module #2 |
46 | + Name: module-card-restore |
47 | + Argument: |
48 | + Usage counter: n/a |
49 | + Properties: |
50 | + module.author = "Lennart Poettering" |
51 | + module.description = "Automatically restore profile of cards" |
52 | + module.version = "11.1" |
53 | + |
54 | +Module #3 |
55 | + Name: module-augment-properties |
56 | + Argument: |
57 | + Usage counter: n/a |
58 | + Properties: |
59 | + module.author = "Lennart Poettering" |
60 | + module.description = "Augment the property sets of streams with additional static information" |
61 | + module.version = "11.1" |
62 | + |
63 | +Module #4 |
64 | + Name: module-switch-on-port-available |
65 | + Argument: |
66 | + Usage counter: n/a |
67 | + Properties: |
68 | + |
69 | + |
70 | +Module #5 |
71 | + Name: module-switch-on-connect |
72 | + Argument: |
73 | + Usage counter: n/a |
74 | + Properties: |
75 | + module.author = "Michael Terry" |
76 | + module.description = "When a sink/source is added, switch to it or conditionally switch to it" |
77 | + module.version = "11.1" |
78 | + |
79 | +Module #6 |
80 | + Name: module-udev-detect |
81 | + Argument: |
82 | + Usage counter: n/a |
83 | + Properties: |
84 | + module.author = "Lennart Poettering" |
85 | + module.description = "Detect available audio hardware and load matching drivers" |
86 | + module.version = "11.1" |
87 | + |
88 | +Module #9 |
89 | + Name: module-alsa-card |
90 | + Argument: device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1" |
91 | + Usage counter: 1 |
92 | + Properties: |
93 | + module.author = "Lennart Poettering" |
94 | + module.description = "ALSA Card" |
95 | + module.version = "11.1" |
96 | + |
97 | +Module #10 |
98 | + Name: module-bluetooth-policy |
99 | + Argument: |
100 | + Usage counter: n/a |
101 | + Properties: |
102 | + module.author = "Frédéric Dalleau, Pali Rohár" |
103 | + module.description = "Policy module to make using bluetooth devices out-of-the-box easier" |
104 | + module.version = "11.1" |
105 | + |
106 | +Module #11 |
107 | + Name: module-bluetooth-discover |
108 | + Argument: |
109 | + Usage counter: n/a |
110 | + Properties: |
111 | + module.author = "João Paulo Rechi Vita" |
112 | + module.description = "Detect available Bluetooth daemon and load the corresponding discovery module" |
113 | + module.version = "11.1" |
114 | + |
115 | +Module #12 |
116 | + Name: module-bluez5-discover |
117 | + Argument: |
118 | + Usage counter: n/a |
119 | + Properties: |
120 | + module.author = "João Paulo Rechi Vita" |
121 | + module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers" |
122 | + module.version = "11.1" |
123 | + |
124 | +Module #13 |
125 | + Name: module-native-protocol-unix |
126 | + Argument: |
127 | + Usage counter: n/a |
128 | + Properties: |
129 | + module.author = "Lennart Poettering" |
130 | + module.description = "Native protocol (UNIX sockets)" |
131 | + module.version = "11.1" |
132 | + |
133 | +Module #14 |
134 | + Name: module-default-device-restore |
135 | + Argument: |
136 | + Usage counter: n/a |
137 | + Properties: |
138 | + module.author = "Lennart Poettering" |
139 | + module.description = "Automatically restore the default sink and source" |
140 | + module.version = "11.1" |
141 | + |
142 | +Module #15 |
143 | + Name: module-rescue-streams |
144 | + Argument: |
145 | + Usage counter: n/a |
146 | + Properties: |
147 | + module.author = "Lennart Poettering" |
148 | + module.description = "When a sink/source is removed, try to move its streams to the default sink/source" |
149 | + module.version = "11.1" |
150 | + |
151 | +Module #16 |
152 | + Name: module-always-sink |
153 | + Argument: |
154 | + Usage counter: n/a |
155 | + Properties: |
156 | + module.author = "Colin Guthrie" |
157 | + module.description = "Always keeps at least one sink loaded even if it's a null one" |
158 | + module.version = "11.1" |
159 | + |
160 | +Module #17 |
161 | + Name: module-intended-roles |
162 | + Argument: |
163 | + Usage counter: n/a |
164 | + Properties: |
165 | + module.author = "Lennart Poettering" |
166 | + module.description = "Automatically set device of streams based on intended roles of devices" |
167 | + module.version = "11.1" |
168 | + |
169 | +Module #18 |
170 | + Name: module-suspend-on-idle |
171 | + Argument: |
172 | + Usage counter: n/a |
173 | + Properties: |
174 | + module.author = "Lennart Poettering" |
175 | + module.description = "When a sink/source is idle for too long, suspend it" |
176 | + module.version = "11.1" |
177 | + |
178 | +Module #19 |
179 | + Name: module-console-kit |
180 | + Argument: |
181 | + Usage counter: n/a |
182 | + Properties: |
183 | + module.author = "Lennart Poettering" |
184 | + module.description = "Create a client for each ConsoleKit session of this user" |
185 | + module.version = "11.1" |
186 | + |
187 | +Module #20 |
188 | + Name: module-systemd-login |
189 | + Argument: |
190 | + Usage counter: n/a |
191 | + Properties: |
192 | + module.author = "Lennart Poettering" |
193 | + module.description = "Create a client for each login session of this user" |
194 | + module.version = "11.1" |
195 | + |
196 | +Module #21 |
197 | + Name: module-position-event-sounds |
198 | + Argument: |
199 | + Usage counter: n/a |
200 | + Properties: |
201 | + module.author = "Lennart Poettering" |
202 | + module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them." |
203 | + module.version = "11.1" |
204 | + |
205 | +Module #22 |
206 | + Name: module-role-cork |
207 | + Argument: |
208 | + Usage counter: n/a |
209 | + Properties: |
210 | + module.author = "Lennart Poettering" |
211 | + module.description = "Mute & cork streams with certain roles while others exist" |
212 | + module.version = "11.1" |
213 | + |
214 | +Module #23 |
215 | + Name: module-filter-heuristics |
216 | + Argument: |
217 | + Usage counter: n/a |
218 | + Properties: |
219 | + module.author = "Colin Guthrie" |
220 | + module.description = "Detect when various filters are desirable" |
221 | + module.version = "11.1" |
222 | + |
223 | +Module #24 |
224 | + Name: module-filter-apply |
225 | + Argument: |
226 | + Usage counter: n/a |
227 | + Properties: |
228 | + module.author = "Colin Guthrie" |
229 | + module.description = "Load filter sinks automatically when needed" |
230 | + module.version = "11.1" |
231 | + |
232 | +Module #25 |
233 | + Name: module-x11-publish |
234 | + Argument: display=:0 |
235 | + Usage counter: n/a |
236 | + Properties: |
237 | + module.author = "Lennart Poettering" |
238 | + module.description = "X11 credential publisher" |
239 | + module.version = "11.1" |
240 | + |
241 | +Module #26 |
242 | + Name: module-x11-bell |
243 | + Argument: display=:0 sample=bell.ogg |
244 | + Usage counter: n/a |
245 | + Properties: |
246 | + module.author = "Lennart Poettering" |
247 | + module.description = "X11 bell interceptor" |
248 | + module.version = "11.1" |
249 | + |
250 | +Module #27 |
251 | + Name: module-x11-cork-request |
252 | + Argument: display=:0 |
253 | + Usage counter: n/a |
254 | + Properties: |
255 | + module.author = "Lennart Poettering" |
256 | + module.description = "Synthesize X11 media key events when cork/uncork is requested" |
257 | + module.version = "11.1" |
258 | + |
259 | +Module #28 |
260 | + Name: module-x11-xsmp |
261 | + Argument: display=:0 session_manager=local/sylvain-ThinkPad-T480s:@/tmp/.ICE-unix/3960,unix/sylvain-ThinkPad-T480s:/tmp/.ICE-unix/3960 |
262 | + Usage counter: n/a |
263 | + Properties: |
264 | + module.author = "Lennart Poettering" |
265 | + module.description = "X11 session management" |
266 | + module.version = "11.1" |
267 | + |
268 | +Module #31 |
269 | + Name: module-alsa-card |
270 | + Argument: device_id="1" name="usb-Logitech_Logitech_B530_USB_Headset-00" card_name="alsa_card.usb-Logitech_Logitech_B530_USB_Headset-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1" |
271 | + Usage counter: 0 |
272 | + Properties: |
273 | + module.author = "Lennart Poettering" |
274 | + module.description = "ALSA Card" |
275 | + module.version = "11.1" |
276 | + |
277 | +Module #32 |
278 | + Name: module-alsa-card |
279 | + Argument: device_id="2" name="usb-046d_HD_Pro_Webcam_C920_73BD39DF-02" card_name="alsa_card.usb-046d_HD_Pro_Webcam_C920_73BD39DF-02" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1" |
280 | + Usage counter: 0 |
281 | + Properties: |
282 | + module.author = "Lennart Poettering" |
283 | + module.description = "ALSA Card" |
284 | + module.version = "11.1" |
285 | + |
286 | +Module #33 |
287 | + Name: module-cli-protocol-unix |
288 | + Argument: |
289 | + Usage counter: n/a |
290 | + Properties: |
291 | + module.author = "Lennart Poettering" |
292 | + module.description = "Command line interface protocol (UNIX sockets)" |
293 | + module.version = "11.1" |
294 | + |
295 | +Sink #4 |
296 | + State: SUSPENDED |
297 | + Name: alsa_output.usb-Logitech_Logitech_B530_USB_Headset-00.iec958-stereo |
298 | + Description: Logitech B530 USB Headset Digital Stereo (IEC958) |
299 | + Driver: module-alsa-card.c |
300 | + Sample Specification: s16le 2ch 48000Hz |
301 | + Channel Map: front-left,front-right |
302 | + Owner Module: 31 |
303 | + Mute: no |
304 | + Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB |
305 | + balance 0.00 |
306 | + Base Volume: 65536 / 100% / 0.00 dB |
307 | + Monitor Source: alsa_output.usb-Logitech_Logitech_B530_USB_Headset-00.iec958-stereo.monitor |
308 | + Latency: 0 usec, configured 0 usec |
309 | + Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS |
310 | + Properties: |
311 | + alsa.resolution_bits = "16" |
312 | + device.api = "alsa" |
313 | + device.class = "sound" |
314 | + alsa.class = "generic" |
315 | + alsa.subclass = "generic-mix" |
316 | + alsa.name = "USB Audio" |
317 | + alsa.id = "USB Audio" |
318 | + alsa.subdevice = "0" |
319 | + alsa.subdevice_name = "subdevice #0" |
320 | + alsa.device = "0" |
321 | + alsa.card = "1" |
322 | + alsa.card_name = "Logitech B530 USB Headset" |
323 | + alsa.long_card_name = "Logitech Logitech B530 USB Headset at usb-0000:3c:00.0-1.1.4, full speed" |
324 | + alsa.driver_name = "snd_usb_audio" |
325 | + device.bus_path = "pci-0000:3c:00.0-usb-0:1.1.4:1.0" |
326 | + sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.4/3-1.1.4:1.0/sound/card1" |
327 | + udev.id = "usb-Logitech_Logitech_B530_USB_Headset-00" |
328 | + device.bus = "usb" |
329 | + device.vendor.id = "046d" |
330 | + device.vendor.name = "Logitech, Inc." |
331 | + device.product.id = "0a26" |
332 | + device.product.name = "Logitech B530 USB Headset" |
333 | + device.serial = "Logitech_Logitech_B530_USB_Headset" |
334 | + device.form_factor = "headset" |
335 | + device.string = "iec958:1" |
336 | + device.buffering.buffer_size = "352800" |
337 | + device.buffering.fragment_size = "176400" |
338 | + device.access_mode = "mmap+timer" |
339 | + device.profile.name = "iec958-stereo" |
340 | + device.profile.description = "Digital Stereo (IEC958)" |
341 | + device.description = "Logitech B530 USB Headset Digital Stereo (IEC958)" |
342 | + alsa.mixer_name = "USB Mixer" |
343 | + alsa.components = "USB046d:0a26" |
344 | + module-udev-detect.discovered = "1" |
345 | + device.icon_name = "audio-headset-usb" |
346 | + device.intended_roles = "phone" |
347 | + Ports: |
348 | + iec958-stereo-output: Digital Output (S/PDIF) (priority: 0) |
349 | + Active Port: iec958-stereo-output |
350 | + Formats: |
351 | + pcm |
352 | + |
353 | +Sink #25 |
354 | + State: SUSPENDED |
355 | + Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo |
356 | + Description: Built-in Audio Digital Stereo (HDMI) |
357 | + Driver: module-alsa-card.c |
358 | + Sample Specification: s16le 2ch 44100Hz |
359 | + Channel Map: front-left,front-right |
360 | + Owner Module: 9 |
361 | + Mute: no |
362 | + Volume: front-left: 20971 / 32% / -29.69 dB, front-right: 20971 / 32% / -29.69 dB |
363 | + balance 0.00 |
364 | + Base Volume: 65536 / 100% / 0.00 dB |
365 | + Monitor Source: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor |
366 | + Latency: 0 usec, configured 0 usec |
367 | + Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS |
368 | + Properties: |
369 | + alsa.resolution_bits = "16" |
370 | + device.api = "alsa" |
371 | + device.class = "sound" |
372 | + alsa.class = "generic" |
373 | + alsa.subclass = "generic-mix" |
374 | + alsa.name = "HDMI 0" |
375 | + alsa.id = "HDMI 0" |
376 | + alsa.subdevice = "0" |
377 | + alsa.subdevice_name = "subdevice #0" |
378 | + alsa.device = "3" |
379 | + alsa.card = "0" |
380 | + alsa.card_name = "HDA Intel PCH" |
381 | + alsa.long_card_name = "HDA Intel PCH at 0xe8248000 irq 157" |
382 | + alsa.driver_name = "snd_hda_intel" |
383 | + device.bus_path = "pci-0000:00:1f.3" |
384 | + sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" |
385 | + device.bus = "pci" |
386 | + device.vendor.id = "8086" |
387 | + device.vendor.name = "Intel Corporation" |
388 | + device.product.id = "9d71" |
389 | + device.product.name = "Sunrise Point-LP HD Audio" |
390 | + device.form_factor = "internal" |
391 | + device.string = "hdmi:0" |
392 | + device.buffering.buffer_size = "65536" |
393 | + device.buffering.fragment_size = "32768" |
394 | + device.access_mode = "mmap+timer" |
395 | + device.profile.name = "hdmi-stereo" |
396 | + device.profile.description = "Digital Stereo (HDMI)" |
397 | + device.description = "Built-in Audio Digital Stereo (HDMI)" |
398 | + alsa.mixer_name = "Realtek ALC257" |
399 | + alsa.components = "HDA:10ec0257,17aa2258,00100001 HDA:8086280b,80860101,00100000" |
400 | + module-udev-detect.discovered = "1" |
401 | + device.icon_name = "audio-card-pci" |
402 | + Ports: |
403 | + hdmi-output-0: HDMI / DisplayPort (priority: 5900, available) |
404 | + Active Port: hdmi-output-0 |
405 | + Formats: |
406 | + pcm |
407 | + |
408 | +Source #4 |
409 | + State: SUSPENDED |
410 | + Name: alsa_input.pci-0000_00_1f.3.analog-stereo |
411 | + Description: Built-in Audio Analog Stereo |
412 | + Driver: module-alsa-card.c |
413 | + Sample Specification: s16le 2ch 44100Hz |
414 | + Channel Map: front-left,front-right |
415 | + Owner Module: 9 |
416 | + Mute: no |
417 | + Volume: front-left: 32768 / 50% / -18.06 dB, front-right: 32768 / 50% / -18.06 dB |
418 | + balance 0.00 |
419 | + Base Volume: 6554 / 10% / -60.00 dB |
420 | + Monitor of Sink: n/a |
421 | + Latency: 0 usec, configured 0 usec |
422 | + Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY |
423 | + Properties: |
424 | + alsa.resolution_bits = "16" |
425 | + device.api = "alsa" |
426 | + device.class = "sound" |
427 | + alsa.class = "generic" |
428 | + alsa.subclass = "generic-mix" |
429 | + alsa.name = "ALC257 Analog" |
430 | + alsa.id = "ALC257 Analog" |
431 | + alsa.subdevice = "0" |
432 | + alsa.subdevice_name = "subdevice #0" |
433 | + alsa.device = "0" |
434 | + alsa.card = "0" |
435 | + alsa.card_name = "HDA Intel PCH" |
436 | + alsa.long_card_name = "HDA Intel PCH at 0xe8248000 irq 157" |
437 | + alsa.driver_name = "snd_hda_intel" |
438 | + device.bus_path = "pci-0000:00:1f.3" |
439 | + sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" |
440 | + device.bus = "pci" |
441 | + device.vendor.id = "8086" |
442 | + device.vendor.name = "Intel Corporation" |
443 | + device.product.id = "9d71" |
444 | + device.product.name = "Sunrise Point-LP HD Audio" |
445 | + device.form_factor = "internal" |
446 | + device.string = "front:0" |
447 | + device.buffering.buffer_size = "65536" |
448 | + device.buffering.fragment_size = "32768" |
449 | + device.access_mode = "mmap+timer" |
450 | + device.profile.name = "analog-stereo" |
451 | + device.profile.description = "Analog Stereo" |
452 | + device.description = "Built-in Audio Analog Stereo" |
453 | + alsa.mixer_name = "Realtek ALC257" |
454 | + alsa.components = "HDA:10ec0257,17aa2258,00100001 HDA:8086280b,80860101,00100000" |
455 | + module-udev-detect.discovered = "1" |
456 | + device.icon_name = "audio-card-pci" |
457 | + Ports: |
458 | + analog-input-internal-mic: Internal Microphone (priority: 8900) |
459 | + analog-input-mic: Microphone (priority: 8700, not available) |
460 | + Active Port: analog-input-internal-mic |
461 | + Formats: |
462 | + pcm |
463 | + |
464 | +Source #8 |
465 | + State: SUSPENDED |
466 | + Name: alsa_output.usb-Logitech_Logitech_B530_USB_Headset-00.iec958-stereo.monitor |
467 | + Description: Monitor of Logitech B530 USB Headset Digital Stereo (IEC958) |
468 | + Driver: module-alsa-card.c |
469 | + Sample Specification: s16le 2ch 48000Hz |
470 | + Channel Map: front-left,front-right |
471 | + Owner Module: 31 |
472 | + Mute: no |
473 | + Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB |
474 | + balance 0.00 |
475 | + Base Volume: 65536 / 100% / 0.00 dB |
476 | + Monitor of Sink: alsa_output.usb-Logitech_Logitech_B530_USB_Headset-00.iec958-stereo |
477 | + Latency: 0 usec, configured 0 usec |
478 | + Flags: DECIBEL_VOLUME LATENCY |
479 | + Properties: |
480 | + device.description = "Monitor of Logitech B530 USB Headset Digital Stereo (IEC958)" |
481 | + device.class = "monitor" |
482 | + alsa.card = "1" |
483 | + alsa.card_name = "Logitech B530 USB Headset" |
484 | + alsa.long_card_name = "Logitech Logitech B530 USB Headset at usb-0000:3c:00.0-1.1.4, full speed" |
485 | + alsa.driver_name = "snd_usb_audio" |
486 | + device.bus_path = "pci-0000:3c:00.0-usb-0:1.1.4:1.0" |
487 | + sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.4/3-1.1.4:1.0/sound/card1" |
488 | + udev.id = "usb-Logitech_Logitech_B530_USB_Headset-00" |
489 | + device.bus = "usb" |
490 | + device.vendor.id = "046d" |
491 | + device.vendor.name = "Logitech, Inc." |
492 | + device.product.id = "0a26" |
493 | + device.product.name = "Logitech B530 USB Headset" |
494 | + device.serial = "Logitech_Logitech_B530_USB_Headset" |
495 | + device.form_factor = "headset" |
496 | + device.string = "1" |
497 | + module-udev-detect.discovered = "1" |
498 | + device.icon_name = "audio-headset-usb" |
499 | + device.intended_roles = "phone" |
500 | + Formats: |
501 | + pcm |
502 | + |
503 | +Source #9 |
504 | + State: SUSPENDED |
505 | + Name: alsa_input.usb-Logitech_Logitech_B530_USB_Headset-00.analog-mono |
506 | + Description: Logitech B530 USB Headset Analog Mono |
507 | + Driver: module-alsa-card.c |
508 | + Sample Specification: s16le 1ch 44100Hz |
509 | + Channel Map: mono |
510 | + Owner Module: 31 |
511 | + Mute: no |
512 | + Volume: mono: 65536 / 100% / 0.00 dB |
513 | + balance 0.00 |
514 | + Base Volume: 25108 / 38% / -25.00 dB |
515 | + Monitor of Sink: n/a |
516 | + Latency: 0 usec, configured 0 usec |
517 | + Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY |
518 | + Properties: |
519 | + alsa.resolution_bits = "16" |
520 | + device.api = "alsa" |
521 | + device.class = "sound" |
522 | + alsa.class = "generic" |
523 | + alsa.subclass = "generic-mix" |
524 | + alsa.name = "USB Audio" |
525 | + alsa.id = "USB Audio" |
526 | + alsa.subdevice = "0" |
527 | + alsa.subdevice_name = "subdevice #0" |
528 | + alsa.device = "0" |
529 | + alsa.card = "1" |
530 | + alsa.card_name = "Logitech B530 USB Headset" |
531 | + alsa.long_card_name = "Logitech Logitech B530 USB Headset at usb-0000:3c:00.0-1.1.4, full speed" |
532 | + alsa.driver_name = "snd_usb_audio" |
533 | + device.bus_path = "pci-0000:3c:00.0-usb-0:1.1.4:1.0" |
534 | + sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.4/3-1.1.4:1.0/sound/card1" |
535 | + udev.id = "usb-Logitech_Logitech_B530_USB_Headset-00" |
536 | + device.bus = "usb" |
537 | + device.vendor.id = "046d" |
538 | + device.vendor.name = "Logitech, Inc." |
539 | + device.product.id = "0a26" |
540 | + device.product.name = "Logitech B530 USB Headset" |
541 | + device.serial = "Logitech_Logitech_B530_USB_Headset" |
542 | + device.form_factor = "headset" |
543 | + device.string = "hw:1" |
544 | + device.buffering.buffer_size = "176400" |
545 | + device.buffering.fragment_size = "88200" |
546 | + device.access_mode = "mmap+timer" |
547 | + device.profile.name = "analog-mono" |
548 | + device.profile.description = "Analog Mono" |
549 | + device.description = "Logitech B530 USB Headset Analog Mono" |
550 | + alsa.mixer_name = "USB Mixer" |
551 | + alsa.components = "USB046d:0a26" |
552 | + module-udev-detect.discovered = "1" |
553 | + device.icon_name = "audio-headset-usb" |
554 | + device.intended_roles = "phone" |
555 | + Ports: |
556 | + analog-input-headset-mic: Headset Microphone (priority: 8800) |
557 | + Active Port: analog-input-headset-mic |
558 | + Formats: |
559 | + pcm |
560 | + |
561 | +Source #10 |
562 | + State: SUSPENDED |
563 | + Name: alsa_input.usb-046d_HD_Pro_Webcam_C920_73BD39DF-02.analog-stereo |
564 | + Description: HD Pro Webcam C920 Analog Stereo |
565 | + Driver: module-alsa-card.c |
566 | + Sample Specification: s16le 2ch 32000Hz |
567 | + Channel Map: front-left,front-right |
568 | + Owner Module: 32 |
569 | + Mute: no |
570 | + Volume: front-left: 41287 / 63% / -12.04 dB, front-right: 41287 / 63% / -12.04 dB |
571 | + balance 0.00 |
572 | + Base Volume: 9619 / 15% / -50.00 dB |
573 | + Monitor of Sink: n/a |
574 | + Latency: 0 usec, configured 0 usec |
575 | + Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY |
576 | + Properties: |
577 | + alsa.resolution_bits = "16" |
578 | + device.api = "alsa" |
579 | + device.class = "sound" |
580 | + alsa.class = "generic" |
581 | + alsa.subclass = "generic-mix" |
582 | + alsa.name = "USB Audio" |
583 | + alsa.id = "USB Audio" |
584 | + alsa.subdevice = "0" |
585 | + alsa.subdevice_name = "subdevice #0" |
586 | + alsa.device = "0" |
587 | + alsa.card = "2" |
588 | + alsa.card_name = "HD Pro Webcam C920" |
589 | + alsa.long_card_name = "HD Pro Webcam C920 at usb-0000:3c:00.0-1.2, high speed" |
590 | + alsa.driver_name = "snd_usb_audio" |
591 | + device.bus_path = "pci-0000:3c:00.0-usb-0:1.2:1.2" |
592 | + sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.2/3-1.2:1.2/sound/card2" |
593 | + udev.id = "usb-046d_HD_Pro_Webcam_C920_73BD39DF-02" |
594 | + device.bus = "usb" |
595 | + device.vendor.id = "046d" |
596 | + device.vendor.name = "Logitech, Inc." |
597 | + device.product.id = "082d" |
598 | + device.product.name = "HD Pro Webcam C920" |
599 | + device.serial = "046d_HD_Pro_Webcam_C920_73BD39DF" |
600 | + device.form_factor = "webcam" |
601 | + device.string = "front:2" |
602 | + device.buffering.buffer_size = "256000" |
603 | + device.buffering.fragment_size = "128000" |
604 | + device.access_mode = "mmap+timer" |
605 | + device.profile.name = "analog-stereo" |
606 | + device.profile.description = "Analog Stereo" |
607 | + device.description = "HD Pro Webcam C920 Analog Stereo" |
608 | + alsa.mixer_name = "USB Mixer" |
609 | + alsa.components = "USB046d:082d" |
610 | + module-udev-detect.discovered = "1" |
611 | + device.icon_name = "camera-web-usb" |
612 | + Ports: |
613 | + analog-input-mic: Microphone (priority: 8700) |
614 | + Active Port: analog-input-mic |
615 | + Formats: |
616 | + pcm |
617 | + |
618 | +Source #31 |
619 | + State: SUSPENDED |
620 | + Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor |
621 | + Description: Monitor of Built-in Audio Digital Stereo (HDMI) |
622 | + Driver: module-alsa-card.c |
623 | + Sample Specification: s16le 2ch 44100Hz |
624 | + Channel Map: front-left,front-right |
625 | + Owner Module: 9 |
626 | + Mute: no |
627 | + Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB |
628 | + balance 0.00 |
629 | + Base Volume: 65536 / 100% / 0.00 dB |
630 | + Monitor of Sink: alsa_output.pci-0000_00_1f.3.hdmi-stereo |
631 | + Latency: 0 usec, configured 0 usec |
632 | + Flags: DECIBEL_VOLUME LATENCY |
633 | + Properties: |
634 | + device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)" |
635 | + device.class = "monitor" |
636 | + alsa.card = "0" |
637 | + alsa.card_name = "HDA Intel PCH" |
638 | + alsa.long_card_name = "HDA Intel PCH at 0xe8248000 irq 157" |
639 | + alsa.driver_name = "snd_hda_intel" |
640 | + device.bus_path = "pci-0000:00:1f.3" |
641 | + sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" |
642 | + device.bus = "pci" |
643 | + device.vendor.id = "8086" |
644 | + device.vendor.name = "Intel Corporation" |
645 | + device.product.id = "9d71" |
646 | + device.product.name = "Sunrise Point-LP HD Audio" |
647 | + device.form_factor = "internal" |
648 | + device.string = "0" |
649 | + module-udev-detect.discovered = "1" |
650 | + device.icon_name = "audio-card-pci" |
651 | + Formats: |
652 | + pcm |
653 | + |
654 | +Sink Input #146 |
655 | + Driver: protocol-native.c |
656 | + Owner Module: 13 |
657 | + Client: 145 |
658 | + Sink: 25 |
659 | + Sample Specification: float32le 2ch 48000Hz |
660 | + Channel Map: front-left,front-right |
661 | + Format: pcm, format.sample_format = "\"float32le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\"" |
662 | + Corked: yes |
663 | + Mute: no |
664 | + Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB |
665 | + balance 0.00 |
666 | + Buffer Latency: 82666 usec |
667 | + Sink Latency: 0 usec |
668 | + Resample method: speex-float-1 |
669 | + Properties: |
670 | + media.name = "AudioStream" |
671 | + application.name = "AudioIPC Server" |
672 | + native-protocol.peer = "UNIX socket client" |
673 | + native-protocol.version = "32" |
674 | + application.process.id = "4556" |
675 | + application.process.user = "sylvain" |
676 | + application.process.host = "sylvain-ThinkPad-T480s" |
677 | + application.process.binary = "firefox" |
678 | + application.language = "en_US.UTF-8" |
679 | + window.x11.display = ":0" |
680 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
681 | + application.process.session_id = "2" |
682 | + application.icon_name = "firefox" |
683 | + module-stream-restore.id = "sink-input-by-application-name:AudioIPC Server" |
684 | + |
685 | +Client #0 |
686 | + Driver: module-systemd-login.c |
687 | + Owner Module: 20 |
688 | + Properties: |
689 | + application.name = "Login Session 2" |
690 | + systemd-login.session = "2" |
691 | + |
692 | +Client #1 |
693 | + Driver: protocol-native.c |
694 | + Owner Module: 13 |
695 | + Properties: |
696 | + application.name = "GNOME Shell" |
697 | + native-protocol.peer = "UNIX socket client" |
698 | + native-protocol.version = "32" |
699 | + application.id = "org.gnome.Shell" |
700 | + application.icon_name = "start-here" |
701 | + application.language = "en_US.UTF-8" |
702 | + window.x11.screen = "0" |
703 | + window.x11.display = ":0" |
704 | + application.process.id = "4094" |
705 | + application.process.user = "sylvain" |
706 | + application.process.host = "sylvain-ThinkPad-T480s" |
707 | + application.process.binary = "gnome-shell" |
708 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
709 | + application.process.session_id = "2" |
710 | + |
711 | +Client #2 |
712 | + Driver: protocol-native.c |
713 | + Owner Module: 13 |
714 | + Properties: |
715 | + application.name = "GNOME Shell Volume Control" |
716 | + native-protocol.peer = "UNIX socket client" |
717 | + native-protocol.version = "32" |
718 | + application.id = "org.gnome.VolumeControl" |
719 | + application.icon_name = "multimedia-volume-control" |
720 | + application.version = "3.28.1" |
721 | + application.process.id = "4094" |
722 | + application.process.user = "sylvain" |
723 | + application.process.host = "sylvain-ThinkPad-T480s" |
724 | + application.process.binary = "gnome-shell" |
725 | + application.language = "en_US.UTF-8" |
726 | + window.x11.display = ":0" |
727 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
728 | + application.process.session_id = "2" |
729 | + |
730 | +Client #8 |
731 | + Driver: module-x11-xsmp.c |
732 | + Owner Module: 28 |
733 | + Properties: |
734 | + application.name = "XSMP Session on gnome-session as 10167292ea9a2a8033152640059132540200000039600058" |
735 | + xsmp.vendor = "gnome-session" |
736 | + xsmp.client.id = "10167292ea9a2a8033152640059132540200000039600058" |
737 | + |
738 | +Client #9 |
739 | + Driver: protocol-native.c |
740 | + Owner Module: 13 |
741 | + Properties: |
742 | + application.name = "GNOME Volume Control Media Keys" |
743 | + native-protocol.peer = "UNIX socket client" |
744 | + native-protocol.version = "32" |
745 | + application.id = "org.gnome.VolumeControl" |
746 | + application.icon_name = "multimedia-volume-control" |
747 | + application.version = "" |
748 | + application.process.id = "4266" |
749 | + application.process.user = "sylvain" |
750 | + application.process.host = "sylvain-ThinkPad-T480s" |
751 | + application.process.binary = "gsd-media-keys" |
752 | + application.language = "en_US.UTF-8" |
753 | + window.x11.display = ":0" |
754 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
755 | + application.process.session_id = "2" |
756 | + |
757 | +Client #20 |
758 | + Driver: protocol-native.c |
759 | + Owner Module: 13 |
760 | + Properties: |
761 | + application.name = "Firefox" |
762 | + native-protocol.peer = "UNIX socket client" |
763 | + native-protocol.version = "32" |
764 | + application.icon_name = "firefox" |
765 | + application.version = "60.0" |
766 | + application.process.id = "4556" |
767 | + application.process.user = "sylvain" |
768 | + application.process.host = "sylvain-ThinkPad-T480s" |
769 | + application.process.binary = "firefox" |
770 | + application.language = "en_US.UTF-8" |
771 | + window.x11.display = ":0" |
772 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
773 | + application.process.session_id = "2" |
774 | + |
775 | +Client #34 |
776 | + Driver: protocol-native.c |
777 | + Owner Module: 13 |
778 | + Properties: |
779 | + application.name = "gsd-power" |
780 | + native-protocol.peer = "UNIX socket client" |
781 | + native-protocol.version = "32" |
782 | + window.x11.display = ":0" |
783 | + window.x11.screen = "0" |
784 | + application.process.id = "4200" |
785 | + application.process.user = "sylvain" |
786 | + application.process.host = "sylvain-ThinkPad-T480s" |
787 | + application.process.binary = "gsd-power" |
788 | + application.language = "en_US.UTF-8" |
789 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
790 | + application.process.session_id = "2" |
791 | + |
792 | +Client #85 |
793 | + Driver: protocol-native.c |
794 | + Owner Module: 13 |
795 | + Properties: |
796 | + application.name = "VMware" |
797 | + native-protocol.peer = "UNIX socket client" |
798 | + native-protocol.version = "32" |
799 | + application.process.id = "14552" |
800 | + application.process.user = "sylvain" |
801 | + application.process.host = "sylvain-ThinkPad-T480s" |
802 | + application.process.binary = "vmware-vmx" |
803 | + application.language = "C" |
804 | + window.x11.display = ":0" |
805 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
806 | + application.process.session_id = "2" |
807 | + |
808 | +Client #145 |
809 | + Driver: protocol-native.c |
810 | + Owner Module: 13 |
811 | + Properties: |
812 | + application.name = "AudioIPC Server" |
813 | + native-protocol.peer = "UNIX socket client" |
814 | + native-protocol.version = "32" |
815 | + application.process.id = "4556" |
816 | + application.process.user = "sylvain" |
817 | + application.process.host = "sylvain-ThinkPad-T480s" |
818 | + application.process.binary = "firefox" |
819 | + application.language = "en_US.UTF-8" |
820 | + window.x11.display = ":0" |
821 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
822 | + application.process.session_id = "2" |
823 | + application.icon_name = "firefox" |
824 | + |
825 | +Client #146 |
826 | + Driver: protocol-native.c |
827 | + Owner Module: 13 |
828 | + Properties: |
829 | + application.name = "libcanberra" |
830 | + native-protocol.peer = "UNIX socket client" |
831 | + native-protocol.version = "32" |
832 | + application.version = "0.30" |
833 | + application.id = "org.freedesktop.libcanberra" |
834 | + application.process.id = "4266" |
835 | + application.process.user = "sylvain" |
836 | + application.process.host = "sylvain-ThinkPad-T480s" |
837 | + application.process.binary = "gsd-media-keys" |
838 | + application.language = "en_US.UTF-8" |
839 | + window.x11.display = ":0" |
840 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
841 | + application.process.session_id = "2" |
842 | + |
843 | +Client #242 |
844 | + Driver: protocol-native.c |
845 | + Owner Module: 13 |
846 | + Properties: |
847 | + application.name = "pactl" |
848 | + native-protocol.peer = "UNIX socket client" |
849 | + native-protocol.version = "32" |
850 | + application.process.id = "7141" |
851 | + application.process.user = "sylvain" |
852 | + application.process.host = "sylvain-ThinkPad-T480s" |
853 | + application.process.binary = "pactl" |
854 | + application.language = "C" |
855 | + window.x11.display = ":0" |
856 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
857 | + application.process.session_id = "2" |
858 | + |
859 | +Sample #0 |
860 | + Name: bell.ogg |
861 | + Sample Specification: float32le 1ch 44100Hz |
862 | + Channel Map: mono |
863 | + Volume: (invalid) |
864 | + balance 0.00 |
865 | + Duration: 0.2s |
866 | + Size: 34.5 KiB |
867 | + Lazy: no |
868 | + Filename: n/a |
869 | + Properties: |
870 | + media.role = "event" |
871 | + media.name = "bell.ogg" |
872 | + application.name = "pactl" |
873 | + native-protocol.peer = "UNIX socket client" |
874 | + native-protocol.version = "32" |
875 | + application.process.id = "4216" |
876 | + application.process.user = "sylvain" |
877 | + application.process.host = "sylvain-ThinkPad-T480s" |
878 | + application.process.binary = "pactl" |
879 | + application.language = "en_US.UTF-8" |
880 | + window.x11.display = ":0" |
881 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
882 | + application.process.session_id = "2" |
883 | + |
884 | +Sample #1 |
885 | + Name: bell-window-system |
886 | + Sample Specification: s16le 1ch 44100Hz |
887 | + Channel Map: mono |
888 | + Volume: (invalid) |
889 | + balance 0.00 |
890 | + Duration: 0.2s |
891 | + Size: 17.2 KiB |
892 | + Lazy: no |
893 | + Filename: n/a |
894 | + Properties: |
895 | + media.role = "event" |
896 | + application.process.id = "4494" |
897 | + application.name = "gnome-terminal-server" |
898 | + event.description = "Bell event" |
899 | + event.id = "bell-window-system" |
900 | + media.name = "bell-window-system" |
901 | + media.filename = "/usr/share/sounds/ubuntu/stereo/bell.ogg" |
902 | + native-protocol.peer = "UNIX socket client" |
903 | + native-protocol.version = "32" |
904 | + application.id = "org.gnome.Shell" |
905 | + application.icon_name = "start-here" |
906 | + application.language = "en_US.UTF-8" |
907 | + window.x11.screen = "0" |
908 | + window.x11.display = ":0" |
909 | + application.process.user = "sylvain" |
910 | + application.process.host = "sylvain-ThinkPad-T480s" |
911 | + application.process.binary = "gnome-shell" |
912 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
913 | + application.process.session_id = "2" |
914 | + |
915 | +Sample #2 |
916 | + Name: audio-volume-change |
917 | + Sample Specification: s16le 2ch 44100Hz |
918 | + Channel Map: front-left,front-right |
919 | + Volume: (invalid) |
920 | + balance 0.00 |
921 | + Duration: 0.1s |
922 | + Size: 11.5 KiB |
923 | + Lazy: no |
924 | + Filename: n/a |
925 | + Properties: |
926 | + media.role = "event" |
927 | + event.description = "volume changed through key press" |
928 | + event.id = "audio-volume-change" |
929 | + media.name = "audio-volume-change" |
930 | + media.filename = "/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga" |
931 | + application.name = "libcanberra" |
932 | + native-protocol.peer = "UNIX socket client" |
933 | + native-protocol.version = "32" |
934 | + application.version = "0.30" |
935 | + application.id = "org.freedesktop.libcanberra" |
936 | + application.process.id = "4266" |
937 | + application.process.user = "sylvain" |
938 | + application.process.host = "sylvain-ThinkPad-T480s" |
939 | + application.process.binary = "gsd-media-keys" |
940 | + application.language = "en_US.UTF-8" |
941 | + window.x11.display = ":0" |
942 | + application.process.machine_id = "a6473731289c4a769090fcea4c1eaca4" |
943 | + application.process.session_id = "2" |
944 | + |
945 | +Card #2 |
946 | + Name: alsa_card.pci-0000_00_1f.3 |
947 | + Driver: module-alsa-card.c |
948 | + Owner Module: 9 |
949 | + Properties: |
950 | + alsa.card = "0" |
951 | + alsa.card_name = "HDA Intel PCH" |
952 | + alsa.long_card_name = "HDA Intel PCH at 0xe8248000 irq 157" |
953 | + alsa.driver_name = "snd_hda_intel" |
954 | + device.bus_path = "pci-0000:00:1f.3" |
955 | + sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" |
956 | + device.bus = "pci" |
957 | + device.vendor.id = "8086" |
958 | + device.vendor.name = "Intel Corporation" |
959 | + device.product.id = "9d71" |
960 | + device.product.name = "Sunrise Point-LP HD Audio" |
961 | + device.form_factor = "internal" |
962 | + device.string = "0" |
963 | + device.description = "Built-in Audio" |
964 | + module-udev-detect.discovered = "1" |
965 | + device.icon_name = "audio-card-pci" |
966 | + Profiles: |
967 | + input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes) |
968 | + output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes) |
969 | + output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes) |
970 | + output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes) |
971 | + output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5460, available: yes) |
972 | + output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5200, available: no) |
973 | + output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5260, available: yes) |
974 | + output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 100, available: no) |
975 | + output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
976 | + output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 100, available: no) |
977 | + output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
978 | + output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5200, available: no) |
979 | + output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5260, available: yes) |
980 | + output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 100, available: no) |
981 | + output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
982 | + output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 100, available: no) |
983 | + output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
984 | + output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5200, available: no) |
985 | + output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5260, available: yes) |
986 | + output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 100, available: no) |
987 | + output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
988 | + output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 100, available: no) |
989 | + output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
990 | + output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5200, available: no) |
991 | + output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5260, available: yes) |
992 | + output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 100, available: no) |
993 | + output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
994 | + output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 100, available: no) |
995 | + output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes) |
996 | + off: Off (sinks: 0, sources: 0, priority: 0, available: yes) |
997 | + Active Profile: output:hdmi-stereo+input:analog-stereo |
998 | + Ports: |
999 | + analog-input-internal-mic: Internal Microphone (priority: 8900, latency offset: 0 usec) |
1000 | + Properties: |
1001 | + device.icon_name = "audio-input-microphone" |
1002 | + Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo |
1003 | + analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec, not available) |
1004 | + Properties: |
1005 | + device.icon_name = "audio-input-microphone" |
1006 | + Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo |
1007 | + analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec) |
1008 | + Properties: |
1009 | + device.icon_name = "audio-speakers" |
1010 | + Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo |
1011 | + analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available) |
1012 | + Properties: |
1013 | + device.icon_name = "audio-headphones" |
1014 | + Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo |
1015 | + hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, available) |
1016 | + Properties: |
1017 | + device.icon_name = "video-display" |
1018 | + device.product.name = "DELL U3818DW" |
1019 | + Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo |
1020 | + hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available) |
1021 | + Properties: |
1022 | + device.icon_name = "video-display" |
1023 | + Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo |
1024 | + hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available) |
1025 | + Properties: |
1026 | + device.icon_name = "video-display" |
1027 | + Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo |
1028 | + hdmi-output-3: HDMI / DisplayPort 4 (priority: 5600, latency offset: 0 usec, not available) |
1029 | + Properties: |
1030 | + device.icon_name = "video-display" |
1031 | + Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo |
1032 | + hdmi-output-4: HDMI / DisplayPort 5 (priority: 5500, latency offset: 0 usec, not available) |
1033 | + Properties: |
1034 | + device.icon_name = "video-display" |
1035 | + Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4, output:hdmi-surround71-extra4+input:analog-stereo |
1036 | + |
1037 | +Card #4 |
1038 | + Name: alsa_card.usb-Logitech_Logitech_B530_USB_Headset-00 |
1039 | + Driver: module-alsa-card.c |
1040 | + Owner Module: 31 |
1041 | + Properties: |
1042 | + alsa.card = "1" |
1043 | + alsa.card_name = "Logitech B530 USB Headset" |
1044 | + alsa.long_card_name = "Logitech Logitech B530 USB Headset at usb-0000:3c:00.0-1.1.4, full speed" |
1045 | + alsa.driver_name = "snd_usb_audio" |
1046 | + device.bus_path = "pci-0000:3c:00.0-usb-0:1.1.4:1.0" |
1047 | + sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.4/3-1.1.4:1.0/sound/card1" |
1048 | + udev.id = "usb-Logitech_Logitech_B530_USB_Headset-00" |
1049 | + device.bus = "usb" |
1050 | + device.vendor.id = "046d" |
1051 | + device.vendor.name = "Logitech, Inc." |
1052 | + device.product.id = "0a26" |
1053 | + device.product.name = "Logitech B530 USB Headset" |
1054 | + device.serial = "Logitech_Logitech_B530_USB_Headset" |
1055 | + device.form_factor = "headset" |
1056 | + device.string = "1" |
1057 | + device.description = "Logitech B530 USB Headset" |
1058 | + module-udev-detect.discovered = "1" |
1059 | + device.icon_name = "audio-headset-usb" |
1060 | + device.intended_roles = "phone" |
1061 | + Profiles: |
1062 | + input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 2, available: yes) |
1063 | + output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 200, available: yes) |
1064 | + output:analog-mono+input:analog-mono: Analog Mono Duplex (sinks: 1, sources: 1, priority: 202, available: yes) |
1065 | + output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes) |
1066 | + output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6002, available: yes) |
1067 | + output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes) |
1068 | + output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (sinks: 1, sources: 1, priority: 5502, available: yes) |
1069 | + off: Off (sinks: 0, sources: 0, priority: 0, available: yes) |
1070 | + Active Profile: output:iec958-stereo+input:analog-mono |
1071 | + Ports: |
1072 | + analog-input-headset-mic: Headset Microphone (priority: 8800, latency offset: 0 usec) |
1073 | + Properties: |
1074 | + device.icon_name = "audio-input-microphone" |
1075 | + Part of profile(s): input:analog-mono, output:analog-mono+input:analog-mono, output:analog-stereo+input:analog-mono, output:iec958-stereo+input:analog-mono |
1076 | + analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec) |
1077 | + Properties: |
1078 | + device.icon_name = "audio-headphones" |
1079 | + Part of profile(s): output:analog-mono, output:analog-mono+input:analog-mono, output:analog-stereo, output:analog-stereo+input:analog-mono |
1080 | + iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec) |
1081 | + Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-mono |
1082 | + |
1083 | +Card #5 |
1084 | + Name: alsa_card.usb-046d_HD_Pro_Webcam_C920_73BD39DF-02 |
1085 | + Driver: module-alsa-card.c |
1086 | + Owner Module: 32 |
1087 | + Properties: |
1088 | + alsa.card = "2" |
1089 | + alsa.card_name = "HD Pro Webcam C920" |
1090 | + alsa.long_card_name = "HD Pro Webcam C920 at usb-0000:3c:00.0-1.2, high speed" |
1091 | + alsa.driver_name = "snd_usb_audio" |
1092 | + device.bus_path = "pci-0000:3c:00.0-usb-0:1.2:1.2" |
1093 | + sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.2/3-1.2:1.2/sound/card2" |
1094 | + udev.id = "usb-046d_HD_Pro_Webcam_C920_73BD39DF-02" |
1095 | + device.bus = "usb" |
1096 | + device.vendor.id = "046d" |
1097 | + device.vendor.name = "Logitech, Inc." |
1098 | + device.product.id = "082d" |
1099 | + device.product.name = "HD Pro Webcam C920" |
1100 | + device.serial = "046d_HD_Pro_Webcam_C920_73BD39DF" |
1101 | + device.form_factor = "webcam" |
1102 | + device.string = "2" |
1103 | + device.description = "HD Pro Webcam C920" |
1104 | + module-udev-detect.discovered = "1" |
1105 | + device.icon_name = "camera-web-usb" |
1106 | + Profiles: |
1107 | + input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes) |
1108 | + input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes) |
1109 | + off: Off (sinks: 0, sources: 0, priority: 0, available: yes) |
1110 | + Active Profile: input:analog-stereo |
1111 | + Ports: |
1112 | + analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec) |
1113 | + Properties: |
1114 | + device.icon_name = "audio-input-microphone" |
1115 | + Part of profile(s): input:analog-stereo |
1116 | + iec958-stereo-input: Digital Input (S/PDIF) (priority: 0, latency offset: 0 usec) |
1117 | + Part of profile(s): input:iec958-stereo |
1118 | diff --git a/checkbox_support/parsers/tests/test_pactl.py b/checkbox_support/parsers/tests/test_pactl.py |
1119 | index c42a4c6..a3d96dd 100644 |
1120 | --- a/checkbox_support/parsers/tests/test_pactl.py |
1121 | +++ b/checkbox_support/parsers/tests/test_pactl.py |
1122 | @@ -625,6 +625,12 @@ class DocumentTests(ParsingTestCase, PactlDataMixIn): |
1123 | )[0] |
1124 | self.assertEqual(len(document.record_list), 34) |
1125 | |
1126 | + def test_pactl_list_clients_bionic(self): |
1127 | + document = self.assertParses( |
1128 | + pactl.Document.Syntax, self.get_text("desktop-bionic-t480s") |
1129 | + )[0] |
1130 | + self.assertEqual(len(document.record_list), 55) |
1131 | + |
1132 | def test_pactl_list(self): |
1133 | document = self.assertParses( |
1134 | pactl.Document.Syntax, self.get_text("desktop-precise") |
self-approved