You are not logged in.

#1 2024-01-09 22:04:09

RootKernel
Member
Registered: 2024-01-09
Posts: 6

Wireplumber: Disable input (mic) of headset but not the output source

I'm trying to disable the microphone of my headset, but I'm struggling with the lua script :

rule_disable_inputs = {
  matches = {
    {
      { "device.name", "equals", "alsa_card.usb-Logitech_G433_Gaming_Headset_000000000000-00" },
    },
  },
  apply_properties = {
    [ "device.disabled" ] = true,
  },
}

From what I understand, this disables the entire device (both input and output) but how can I instruct it to only remove the mic input?

Offline

#2 2024-01-09 22:21:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: Wireplumber: Disable input (mic) of headset but not the output source

Just select an audio profile that doesn't contain the mic.

e.g. on my system pactl list cards

 Profiles:
                off: Aus (sinks: 0, sources: 0, priority: 0, available: yes)
                output:stereo-chat: Chat-Ausgabe (sinks: 1, sources: 0, priority: 5000, available: yes)
                output:stereo-chat+input:mono-chat: Chat-Ausgabe + Chat-Eingabe (sinks: 1, sources: 1, priority: 5000, available: yes)

if you pick output:stereo-chat here then this constelation will not provide a mic

pactl set-card-profile alsa_card.usb-Astro_Gaming_Astro_A50-00 output:stereo-chat

and your profile selection is generally remembered.

Offline

#3 2024-01-10 11:57:39

RootKernel
Member
Registered: 2024-01-09
Posts: 6

Re: Wireplumber: Disable input (mic) of headset but not the output source

Thank you V1del for your explanation, I'm not sure this did anything on my end

I ran

pactl set-card-profile alsa_card.usb-Logitech_G433_Gaming_Headset_000000000000-00 output:analog-stereo

but it did not hide the Input device in the gnome audio switcher widget nor gnome settings (which I understand why)

Is there a way to do it with LUA scripting? Maybe by disabling the input profiles? that would be the best so I can keep a low number of sound options in my GUI big_smile

EDIT : It did indeed unselect the bad microphone, but I can already do that simply by choosing the other mic in the gnome GUI

Last edited by RootKernel (2024-01-10 11:58:43)

Offline

#4 2024-01-10 12:40:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: Wireplumber: Disable input (mic) of headset but not the output source

setting the card profile correctly should logically not show the mic in any other spot unless you switch the profile to something having the mic again.

Can you post your

pactl list cards
pactl list sinks
pactl list sources

? FWIW something I'm remembering, I think gnome maintains it's own database of these settings, if you were doing the profile change in gnome's GUI directly, that should stick (if you can, not sure whether gnome's pulse integration allows that?)

Last edited by V1del (2024-01-10 12:41:11)

Offline

#5 2024-01-10 19:24:18

RootKernel
Member
Registered: 2024-01-09
Posts: 6

Re: Wireplumber: Disable input (mic) of headset but not the output source

setting the card profile correctly should logically not show the mic in any other spot unless you switch the profile to something having the mic again.

Sadly this does not do the trick sad

> pactl list cards

Card #42
	Name: alsa_card.pci-0000_01_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HDA NVidia at 0xf7080000 irq 17"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.description = "Speaker"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "3095512"
		device.product.id = "0x10f8"
		device.product.name = "TU104 HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "35"
		object.id = "42"
		object.serial = "42"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, available: yes)
	Active Profile: output:hdmi-stereo
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
				device.product.name = "Z35
         "
			Part of profile(s): output:hdmi-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3

Card #43
	Name: alsa_card.usb-Logitech_G433_Gaming_Headset_000000000000-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "3"
		api.alsa.card.longname = "Logitech G433 Gaming Headset at usb-0000:00:14.0-10, full speed"
		api.alsa.card.name = "G433 Gaming Headset"
		api.alsa.path = "hw:3"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio3"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-Logitech_G433_Gaming_Headset_000000000000-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:10:1.0"
		device.description = "Headset"
		device.enum.api = "udev"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-analog-usb"
		device.name = "alsa_card.usb-Logitech_G433_Gaming_Headset_000000000000-00"
		device.nick = "G433 Gaming Headset"
		device.plugged.usec = "3749018"
		device.product.id = "0x0a6d"
		device.product.name = "G433 Gaming Headset"
		device.serial = "Logitech_G433_Gaming_Headset_000000000000"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/sound/card3"
		device.vendor.id = "0x046d"
		device.vendor.name = "Logitech, Inc."
		media.class = "Audio/Device"
		port.disabled = "false"
		factory.id = "14"
		client.id = "35"
		object.id = "43"
		object.serial = "43"
		object.path = "alsa:pcm:3"
		alsa.card = "3"
		alsa.card_name = "G433 Gaming Headset"
		alsa.long_card_name = "Logitech G433 Gaming Headset at usb-0000:00:14.0-10, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "3"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input (sinks: 1, sources: 1, priority: 6501, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output + Mono Input (sinks: 1, sources: 1, priority: 5501, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
		input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:mono-fallback, output:analog-stereo+input:mono-fallback, output:iec958-stereo+input:mono-fallback
		analog-output: Analog Output (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "analog"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:mono-fallback
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "2"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:mono-fallback

Card #44
	Name: alsa_card.usb-BIRD_UM1_BIRD_UM1-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.card.longname = "BIRD UM1 BIRD UM1 at usb-0000:00:14.0-5, full speed"
		api.alsa.card.name = "BIRD UM1"
		api.alsa.path = "hw:2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-BIRD_UM1_BIRD_UM1-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		device.description = "BIRD UM1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-BIRD_UM1_BIRD_UM1-00"
		device.nick = "BIRD UM1"
		device.plugged.usec = "3617038"
		device.product.id = "0x0134"
		device.product.name = "BIRD UM1"
		device.serial = "BIRD_UM1_BIRD_UM1"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		device.vendor.id = "0x0d8c"
		device.vendor.name = "C-Media Electronics, Inc."
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "35"
		object.id = "44"
		object.serial = "44"
		object.path = "alsa:pcm:2"
		alsa.card = "2"
		alsa.card_name = "BIRD UM1"
		alsa.long_card_name = "BIRD UM1 BIRD UM1 at usb-0000:00:14.0-5, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "2"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		pro-audio: Pro Audio (sinks: 0, sources: 1, priority: 1, available: yes)
		input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: input:mono-fallback
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:mono-fallback

> pactl list sinks

Sink #49
	State: SUSPENDED
	Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
	Description: Speaker Digital Stereo (HDMI)
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 23615 /  36% / -26.60 dB,   front-right: 23615 /  36% / -26.60 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.class = "generic"
		alsa.device = "3"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 0"
		alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
		alsa.name = "HDMI 0 *"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA NVidia at 0xf7080000 irq 17"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hdmi:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "4"
		device.api = "alsa"
		device.class = "sound"
		device.id = "42"
		device.profile.description = "Digital Stereo (HDMI)"
		device.profile.name = "hdmi-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Speaker"
		node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
		node.nick = "HDMI 0 *"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hdmi:1:playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "49"
		object.serial = "49"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "3095512"
		device.product.id = "0x10f8"
		device.product.name = "TU104 HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		device.string = "1"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
	Active Port: hdmi-output-0
	Formats:
		pcm

Sink #50
	State: SUSPENDED
	Name: alsa_output.usb-Logitech_G433_Gaming_Headset_000000000000-00.analog-stereo
	Description: Headset Analog Stereo
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 54094 /  83% / -5.00 dB
	Monitor Source: alsa_output.usb-Logitech_G433_Gaming_Headset_000000000000-00.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "3"
		alsa.card_name = "G433 Gaming Headset"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Logitech G433 Gaming Headset at usb-0000:00:14.0-10, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Logitech G433 Gaming Headset at usb-0000:00:14.0-10, full speed"
		api.alsa.card.name = "G433 Gaming Headset"
		api.alsa.path = "front:3"
		api.alsa.pcm.card = "3"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "sound"
		device.id = "43"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Headset"
		node.name = "alsa_output.usb-Logitech_G433_Gaming_Headset_000000000000-00.analog-stereo"
		node.nick = "G433 Gaming Headset"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:3:front:3:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "33"
		object.serial = "50"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "3"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio3"
		device.bus = "usb"
		device.bus-id = "usb-Logitech_G433_Gaming_Headset_000000000000-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:10:1.0"
		device.enum.api = "udev"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-analog-usb"
		device.name = "alsa_card.usb-Logitech_G433_Gaming_Headset_000000000000-00"
		device.nick = "G433 Gaming Headset"
		device.plugged.usec = "3749018"
		device.product.id = "0x0a6d"
		device.product.name = "G433 Gaming Headset"
		device.serial = "Logitech_G433_Gaming_Headset_000000000000"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/sound/card3"
		device.vendor.id = "0x046d"
		device.vendor.name = "Logitech, Inc."
		port.disabled = "false"
		device.string = "3"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

> pactl list sources

Source #49
	State: SUSPENDED
	Name: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
	Description: Monitor of Speaker Digital Stereo (HDMI)
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: alsa_output.pci-0000_01_00.1.hdmi-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.class = "generic"
		alsa.device = "3"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 0"
		alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
		alsa.name = "HDMI 0 *"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA NVidia at 0xf7080000 irq 17"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hdmi:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "4"
		device.api = "alsa"
		device.class = "monitor"
		device.id = "42"
		device.profile.description = "Digital Stereo (HDMI)"
		device.profile.name = "hdmi-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Speaker"
		node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
		node.nick = "HDMI 0 *"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hdmi:1:playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "49"
		object.serial = "49"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "3095512"
		device.product.id = "0x10f8"
		device.product.name = "TU104 HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		device.string = "1"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
	Active Port: hdmi-output-0
	Formats:
		pcm

Source #50
	State: SUSPENDED
	Name: alsa_output.usb-Logitech_G433_Gaming_Headset_000000000000-00.analog-stereo.monitor
	Description: Monitor of Headset Analog Stereo
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: alsa_output.usb-Logitech_G433_Gaming_Headset_000000000000-00.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "3"
		alsa.card_name = "G433 Gaming Headset"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Logitech G433 Gaming Headset at usb-0000:00:14.0-10, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Logitech G433 Gaming Headset at usb-0000:00:14.0-10, full speed"
		api.alsa.card.name = "G433 Gaming Headset"
		api.alsa.path = "front:3"
		api.alsa.pcm.card = "3"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "monitor"
		device.id = "43"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Headset"
		node.name = "alsa_output.usb-Logitech_G433_Gaming_Headset_000000000000-00.analog-stereo"
		node.nick = "G433 Gaming Headset"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:3:front:3:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "33"
		object.serial = "50"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "3"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio3"
		device.bus = "usb"
		device.bus-id = "usb-Logitech_G433_Gaming_Headset_000000000000-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:10:1.0"
		device.enum.api = "udev"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-analog-usb"
		device.name = "alsa_card.usb-Logitech_G433_Gaming_Headset_000000000000-00"
		device.nick = "G433 Gaming Headset"
		device.plugged.usec = "3749018"
		device.product.id = "0x0a6d"
		device.product.name = "G433 Gaming Headset"
		device.serial = "Logitech_G433_Gaming_Headset_000000000000"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/sound/card3"
		device.vendor.id = "0x046d"
		device.vendor.name = "Logitech, Inc."
		port.disabled = "false"
		device.string = "3"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

Source #51
	State: SUSPENDED
	Name: alsa_input.usb-BIRD_UM1_BIRD_UM1-00.mono-fallback
	Description: BIRD UM1 Mono
	Driver: PipeWire
	Sample Specification: s16le 1ch 48000Hz
	Channel Map: mono
	Owner Module: 4294967295
	Mute: no
	Volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 27636 /  42% / -22.50 dB
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "2"
		alsa.card_name = "BIRD UM1"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "BIRD UM1 BIRD UM1 at usb-0000:00:14.0-5, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "BIRD UM1 BIRD UM1 at usb-0000:00:14.0-5, full speed"
		api.alsa.card.name = "BIRD UM1"
		api.alsa.path = "hw:2"
		api.alsa.pcm.card = "2"
		api.alsa.pcm.stream = "capture"
		audio.channels = "1"
		audio.position = "MONO"
		card.profile.device = "1"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Mono"
		device.profile.name = "mono-fallback"
		device.routes = "1"
		factory.name = "api.alsa.pcm.source"
		media.class = "Audio/Source"
		device.description = "BIRD UM1"
		node.name = "alsa_input.usb-BIRD_UM1_BIRD_UM1-00.mono-fallback"
		node.nick = "BIRD UM1"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:2:hw:2:capture"
		priority.driver = "2000"
		priority.session = "2000"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "split"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "48"
		object.serial = "51"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		device.bus = "usb"
		device.bus-id = "usb-BIRD_UM1_BIRD_UM1-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-BIRD_UM1_BIRD_UM1-00"
		device.nick = "BIRD UM1"
		device.plugged.usec = "3617038"
		device.product.id = "0x0134"
		device.product.name = "BIRD UM1"
		device.serial = "BIRD_UM1_BIRD_UM1"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		device.vendor.id = "0x0d8c"
		device.vendor.name = "C-Media Electronics, Inc."
		device.string = "2"
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, availability unknown)
	Active Port: analog-input-mic
	Formats:
		pcm

Offline

#6 2024-01-11 00:10:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: Wireplumber: Disable input (mic) of headset but not the output source

The only mic input remaining is the literal mic only mic you have.

Where exactly do you see "doesn't do the trick"? Post a screenshot.

Offline

#7 2024-01-12 11:51:41

RootKernel
Member
Registered: 2024-01-09
Posts: 6

Re: Wireplumber: Disable input (mic) of headset but not the output source

Sorry for the confusion,

I can still see it in the gnome settings app under the sound section

sound.jpg
(Sorry for the bad quality, can't do a screenshot when an option of a select is shown on screen)

Here the headset microphone is still appearing, I would only like the BIRD UM1 mic to appear

PS : It has disappeared from the Discord app though!

Last edited by RootKernel (2024-01-12 11:52:31)

Offline

Board footer

Powered by FluxBB