Skip to content

Audio sink iteration test doesn't correctly detect all sinks when multiple HDMI port are mapped under the same wpctl device ID #2579

Description

@tomli380576

Bug Description

In pipewire-utils.py iter-audio-sinks, if the DUT's BIOS decides to map all HDMI/DP ports under the same audio device, this script doesn't correctly list them during iteration and is inconsistent with GNOME audio setting's behavior.

This is consistent with wpctl, so we probably need a different way of changing sinks than just wpctl set-default <ID>.

Cert-blocker Test Case

  • cert-blocker

To Reproduce

  1. Connect 2 HDMI/DP displays to a dock
  2. Connect that dock to the DUT's USB-C port
  3. python3 pipewire_utils.py iter-audio-sinks -c "speaker-test -c 2 -l 1 -t wav"

Expected Result

All sinks are listed

Actual Result

Only 1 HDMI/DP sink is listed

Environment

ubuntu 24.04

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions