pop-os/cosmic-settings

[BUG]: Input microphone slider doesn't do anything/work.

Closed this issue · 2 comments

Input microphone slider doesn't do anything/work and this is in contrast to the applet that does work and trigger cosmic-osd.

Demo:

input-microphone-slider-settings.webm

It appears that the wpctl (set-volume, mute) commands do not work for my particular source/input device even when I try to execute them from cosmic-term:

❯ wpctl status
PipeWire 'pipewire-0' [1.0.8, kostas@fe, cookie:928850085]
 └─ Clients:
        31. uresourced                          [1.0.8, kostas@fe, pid:27080]
        32. WirePlumber                         [1.0.8, kostas@fe, pid:27199]
        34. pipewire                            [1.0.8, kostas@fe, pid:27203]
        35. cosmic-osd                          [1.0.8, kostas@fe, pid:27089]
        38. xdg-desktop-portal                  [1.0.8, kostas@fe, pid:27350]
        46. MainConn                            [1.0.8, kostas@fe, pid:38720]
        47. WirePlumber [export]                [1.0.8, kostas@fe, pid:27199]
        63. cosmic-osd                          [1.0.8, kostas@fe, pid:54141]
        64. cosmic-settings                     [1.0.8, kostas@fe, pid:54141]
        67. cosmic-osd                          [1.0.8, kostas@fe, pid:38720]
        68. cosmic-osd                          [1.0.8, kostas@fe, pid:54141]
        70. MainConn                            [1.0.8, kostas@fe, pid:51829]
        72. cosmic-osd                          [1.0.8, kostas@fe, pid:51829]
        77. cosmic-osd                          [1.0.8, kostas@fe, pid:54141]
        78. wpctl                               [1.0.8, kostas@fe, pid:71267]

Audio
 ├─ Devices:
 │      48. TU106 High Definition Audio Controller [alsa]
 │      49. Built-in Audio                      [alsa]
 │
 ├─ Sinks:
 │      50. TU106 High Definition Audio Controller Digital Stereo (HDMI) [vol: 0.76]
 │  *   62. Built-in Audio Analog Stereo        [vol: 0.50]
 │
 ├─ Sources:
 │      73. Built-in Audio Analog Stereo        [vol: 0.74]
 │
 ├─ Filters:
 │
 └─ Streams:

Video
 ├─ Devices:
 │
 ├─ Sinks:
 │
 ├─ Sources:
 │
 ├─ Filters:
 │
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_00_1b.0.analog-stereo
         1. Audio/Source  alsa_input.pci-0000_00_1b.0.analog-stereo

~
❯ wpctl set-volume 73 0.50

~
❯ wpctl status
PipeWire 'pipewire-0' [1.0.8, kostas@fe, cookie:928850085]
 └─ Clients:
        31. uresourced                          [1.0.8, kostas@fe, pid:27080]
        32. WirePlumber                         [1.0.8, kostas@fe, pid:27199]
        34. pipewire                            [1.0.8, kostas@fe, pid:27203]
        35. cosmic-osd                          [1.0.8, kostas@fe, pid:27089]
        38. xdg-desktop-portal                  [1.0.8, kostas@fe, pid:27350]
        46. MainConn                            [1.0.8, kostas@fe, pid:38720]
        47. WirePlumber [export]                [1.0.8, kostas@fe, pid:27199]
        63. cosmic-osd                          [1.0.8, kostas@fe, pid:54141]
        64. cosmic-settings                     [1.0.8, kostas@fe, pid:54141]
        67. cosmic-osd                          [1.0.8, kostas@fe, pid:38720]
        68. cosmic-osd                          [1.0.8, kostas@fe, pid:54141]
        70. MainConn                            [1.0.8, kostas@fe, pid:51829]
        72. cosmic-osd                          [1.0.8, kostas@fe, pid:51829]
        77. cosmic-osd                          [1.0.8, kostas@fe, pid:54141]
        78. wpctl                               [1.0.8, kostas@fe, pid:71459]

Audio
 ├─ Devices:
 │      48. TU106 High Definition Audio Controller [alsa]
 │      49. Built-in Audio                      [alsa]
 │
 ├─ Sinks:
 │      50. TU106 High Definition Audio Controller Digital Stereo (HDMI) [vol: 0.76]
 │  *   62. Built-in Audio Analog Stereo        [vol: 0.50]
 │
 ├─ Sources:
 │      73. Built-in Audio Analog Stereo        [vol: 0.50]
 │
 ├─ Filters:
 │
 └─ Streams:

Video
 ├─ Devices:
 │
 ├─ Sinks:
 │
 ├─ Sources:
 │
 ├─ Filters:
 │
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_00_1b.0.analog-stereo
         1. Audio/Source  alsa_input.pci-0000_00_1b.0.analog-stereo

It seems that the value of the Source according to the wpctl but due to different profiles or something to do with duplexing this is not propagated and published to the system. Need to investigate further although it seems complicated.

The input slider is working for me. Are you still experiencing this?