<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 23, 2023 at 9:35 AM Jerry Geis <<a href="mailto:jerry.geis@gmail.com">jerry.geis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div>I see the below for list-sources.</div><div><br></div><div>Source index 1 is muted.</div><div>Source index 2 presents  - TWO -  microphones</div><div>I want to MUTE the S/PDIF one ???? </div><div>how do I do that ?</div><div><br></div><div>The GUI on Ubuntu 20.04 for the Input shows two items</div><div>Digital S/PDIF Webcam and  Webcam.</div><div><br></div><div>Muting from GUI - works - but how do I do it from the command line ?</div><div><br></div><div>Thanks</div><div><br></div><div>Jerry</div><div><br></div><div>----</div><div>pacmd list-sources <br>2 source(s) available.<br>    index: 1<br>       name: <alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor><br>        driver: <module-alsa-card.c><br>    flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY<br> state: SUSPENDED<br>      suspend cause: IDLE<br>   priority: 1030<br>        volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB<br>          balance 0.00<br>      base volume: 65536 / 100% / 0.00 dB<br>   volume steps: 65537<br>   muted: yes<br>    current latency: 0.00 ms<br>      max rewind: 0 KiB<br>     sample spec: s16le 2ch 44100Hz<br>        channel map: front-left,front-right<br>                Stereo<br>     used by: 0<br>    linked by: 0<br>  configured latency: 0.00 ms; range is 16.00 .. 2000.00 ms<br>     monitor_of: 0<br> card: 1 <alsa_card.pci-0000_00_1b.0><br>    module: 8<br>     properties:<br>           device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"<br>              device.class = "monitor"<br>            alsa.card = "0"<br>             alsa.card_name = "HDA Intel PCH"<br>            alsa.long_card_name = "HDA Intel PCH at 0x89414000 irq 126"<br>         alsa.driver_name = "snd_hda_intel"<br>          device.bus_path = "pci-0000:00:1b.0"<br>                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"<br>         device.bus = "pci"<br>          <a href="http://device.vendor.id" target="_blank">device.vendor.id</a> = "8086"<br>             <a href="http://device.vendor.name" target="_blank">device.vendor.name</a> = "Intel Corporation"<br>            <a href="http://device.product.id" target="_blank">device.product.id</a> = "2284"<br>           <a href="http://device.product.name" target="_blank">device.product.name</a> = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller"<br>                device.form_factor = "internal"<br>             device.string = "0"<br>         module-udev-detect.discovered = "1"<br>         device.icon_name = "audio-card-pci"<br>  * index: 2<br>  name: <alsa_input.usb-046d_Logitech_Webcam_C930e_8E44BAAE-02.iec958-stereo><br>     driver: <module-alsa-card.c><br>    flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY<br>        state: RUNNING<br>        suspend cause: (none)<br> priority: 9048<br>        volume: front-left: 29450 /  45% / -20.84 dB,   front-right: 29450 /  45% / -20.84 dB<br>              balance 0.00<br>      base volume: 65536 / 100% / 0.00 dB<br>   volume steps: 65537<br>   muted: no<br>     current latency: 0.62 ms<br>      max rewind: 0 KiB<br>     sample spec: s16le 2ch 48000Hz<br>        channel map: front-left,front-right<br>                Stereo<br>     used by: 1<br>    linked by: 1<br>  configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms<br>     card: 0 <alsa_card.usb-046d_Logitech_Webcam_C930e_8E44BAAE-02><br>  module: 7<br>     properties:<br>           alsa.resolution_bits = "16"<br>         device.api = "alsa"<br>         device.class = "sound"<br>              alsa.class = "generic"<br>              alsa.subclass = "generic-mix"<br>               <a href="http://alsa.name" target="_blank">alsa.name</a> = "USB Audio"<br>              <a href="http://alsa.id" target="_blank">alsa.id</a> = "USB Audio"<br>          alsa.subdevice = "0"<br>                alsa.subdevice_name = "subdevice #0"<br>                alsa.device = "0"<br>           alsa.card = "1"<br>             alsa.card_name = "Logitech Webcam C930e"<br>            alsa.long_card_name = "Logitech Webcam C930e at usb-0000:00:14.0-2, high speed"<br>             alsa.driver_name = "snd_usb_audio"<br>          device.bus_path = "pci-0000:00:14.0-usb-0:2:1.2"<br>            sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/sound/card1"<br>                <a href="http://udev.id" target="_blank">udev.id</a> = "usb-046d_Logitech_Webcam_C930e_8E44BAAE-02"<br>         device.bus = "usb"<br>          <a href="http://device.vendor.id" target="_blank">device.vendor.id</a> = "046d"<br>             <a href="http://device.vendor.name" target="_blank">device.vendor.name</a> = "Logitech, Inc."<br>               <a href="http://device.product.id" target="_blank">device.product.id</a> = "0843"<br>           <a href="http://device.product.name" target="_blank">device.product.name</a> = "Webcam C930e"<br>               device.serial = "046d_Logitech_Webcam_C930e_8E44BAAE"<br>               device.form_factor = "webcam"<br>               device.string = "iec958:1"<br>          device.buffering.buffer_size = "384000"<br>             device.buffering.fragment_size = "192000"<br>           device.access_mode = "mmap+timer"<br>           <a href="http://device.profile.name" target="_blank">device.profile.name</a> = "iec958-stereo"<br>              device.profile.description = "Digital Stereo (IEC958)"<br>              device.description = "Webcam C930e Digital Stereo (IEC958)"<br>         module-udev-detect.discovered = "1"<br>         device.icon_name = "camera-web-usb"<br> ports:<br>                iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)<br>                   properties:<br>                           <br>      active port: <iec958-stereo-input><br></div></div></blockquote><div><br></div><div>This shows it: with "pacmd list-cards"</div><div><br></div><div>  input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)<br>                input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)<br></div><div><br></div><div>I want the analog to be active and want to MUTE this iec958 </div><div><br></div><div>So there are TWO microphones presented on this card (webcam) or USB input microphone.</div><div>I want to use the analog one and not the iec958.  I get feedback with both enabled.</div><div>I can mute it from GUI - but I need to be able to mute JUST the iec958 input and not the analog from the command line.</div><div><br></div><div>So seems the webcam presents two microphones-  I need to mute one of them S/PDIF from the command line</div><div>thanks</div><div><br></div><div>Jerry</div><div><br></div><div><br></div>pacmd list-cards<br>2 card(s) available.<br>    index: 0<br>        name: <alsa_card.usb-046d_Logitech_Webcam_C930e_8E44BAAE-02><br>    driver: <module-alsa-card.c><br>    owner module: 7<br>       properties:<br>           alsa.card = "1"<br>             alsa.card_name = "Logitech Webcam C930e"<br>            alsa.long_card_name = "Logitech Webcam C930e at usb-0000:00:14.0-2, high speed"<br>             alsa.driver_name = "snd_usb_audio"<br>          device.bus_path = "pci-0000:00:14.0-usb-0:2:1.2"<br>            sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/sound/card1"<br>                <a href="http://udev.id">udev.id</a> = "usb-046d_Logitech_Webcam_C930e_8E44BAAE-02"<br>           device.bus = "usb"<br>          <a href="http://device.vendor.id">device.vendor.id</a> = "046d"<br>               <a href="http://device.vendor.name">device.vendor.name</a> = "Logitech, Inc."<br>         <a href="http://device.product.id">device.product.id</a> = "0843"<br>             <a href="http://device.product.name">device.product.name</a> = "Webcam C930e"<br>         device.serial = "046d_Logitech_Webcam_C930e_8E44BAAE"<br>               device.form_factor = "webcam"<br>               device.string = "1"<br>         device.description = "Webcam C930e"<br>         module-udev-detect.discovered = "1"<br>         device.icon_name = "camera-web-usb"<br> profiles:<br>             input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)<br>            input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)<br>          off: Off (priority 0, available: unknown)<br>     active profile: <input:iec958-stereo><br>   sources:<br>              alsa_input.usb-046d_Logitech_Webcam_C930e_8E44BAAE-02.iec958-stereo/#2: Webcam C930e Digital Stereo (IEC958)<br>  ports:<br>                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)<br>                       properties:<br>                           device.icon_name = "audio-input-microphone"<br>         iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)<br>                   properties:<br>                           <br>    index: 1<br>      name: <alsa_card.pci-0000_00_1b.0><br>      driver: <module-alsa-card.c><br>    owner module: 8<br>       properties:<br>           alsa.card = "0"<br>             alsa.card_name = "HDA Intel PCH"<br>            alsa.long_card_name = "HDA Intel PCH at 0x89414000 irq 126"<br>         alsa.driver_name = "snd_hda_intel"<br>          device.bus_path = "pci-0000:00:1b.0"<br>                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"<br>         device.bus = "pci"<br>          <a href="http://device.vendor.id">device.vendor.id</a> = "8086"<br>               <a href="http://device.vendor.name">device.vendor.name</a> = "Intel Corporation"<br>              <a href="http://device.product.id">device.product.id</a> = "2284"<br>             <a href="http://device.product.name">device.product.name</a> = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller"<br>          device.form_factor = "internal"<br>             device.string = "0"<br>         device.description = "Built-in Audio"<br>               module-udev-detect.discovered = "1"<br>         device.icon_name = "audio-card-pci"<br> profiles:<br>             input:analog-stereo: Analog Stereo Input (priority 65, available: no)<br>         output:analog-stereo: Analog Stereo Output (priority 6500, available: no)<br>             output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)<br>         output:analog-surround-40: Analog Surround 4.0 Output (priority 33968, available: unknown)<br>            output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: unknown)<br>           output:iec958-stereo: Digital Stereo (IEC958) Output (priority 38268, available: unknown)<br>             output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)<br>            output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 38668, available: unknown)<br>         output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: unknown)<br>                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 33568, available: unknown)<br>         output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)<br>         off: Off (priority 0, available: unknown)<br>     active profile: <output:hdmi-stereo><br>    sinks:<br>                alsa_output.pci-0000_00_1b.0.hdmi-stereo/#0: Built-in Audio Digital Stereo (HDMI)<br>     sources:<br>              alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor/#1: Monitor of Built-in Audio Digital Stereo (HDMI)<br>  ports:<br>                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)<br>                    properties:<br>                           device.icon_name = "audio-input-microphone"<br>         analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)<br>                    properties:<br>                           device.icon_name = "audio-headphones"<br>               analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)<br>                       properties:<br>                           <br>              iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)<br>                 properties:<br>                           <br>              hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)<br>                      properties:<br>                           device.icon_name = "video-display"<br><div><a href="http://device.product.name">device.product.name</a> = "SAMSUNG" <br></div></div></div>