How can I unmute my muted microphone input on i3

First, my system

  Kernel: 6.6.19-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz-6.6-x86_64
    root=UUID=6e8346b0-3e9b-43d6-8c8e-12e2e1c9861d rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: i3 v: 4.23 with: i3bar tools: xautolock avail: i3lock vt: 7
    dm: LightDM v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20AWS0YF00 v: ThinkPad T440p
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Lenovo ThinkPad T440p driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Lenovo ThinkPad T440p driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.6.19-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl

I disabled my mic input with pavucotrol. It is very efficient with on demand enable/disable functionality.
Also, it get along well with keyboard’s disabled on led indicator, if it is disabled from pavucontrol.

However, It set as enabled on pavucontrol after I rebooted my laptop but, the led disabled indicator on. I couldn’t enable microphone input back.

I’ve to say the keybinding does not functional at all. Fn+F4
I inserted
bindsym XF86AudioMicMute exec --no-startup-id amixer set Capture toggle
config to the i3 conf file from this topic but, still not functional .

What I’ve tried after above attempts

  • restarting services
    systemctl --user restart pipewire-pulse.socket
    systemctl --user restart pipewire-pulse.service
    systemctl --user restart pipewire.service
    systemctl --user restart wireplumber.service
    
  • Trying another Bluetooth earphone input is also muted( not functional external microphone. It detects desktop audio as expected).

I can see desktop audio on audio input indicator on pavucontrol, OBS etc.

Example:

$ pactl list sources short
1040	alsa_output.pci-0000_00_1f.3.analog-stereo.2.monitor	PipeWire	s32le 2ch 48000Hz	SUSPENDED
1041	alsa_input.pci-0000_00_1f.3.analog-stereo	PipeWire	s32le 2ch 48000Hz	SUSPENDED

Then:

$ pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo toggle

Pipiwire is here in control of ALSA, it makes no sense to control ALSA. Only if you run ALSA only.

1 Like

Manjaro i3wm uses ALSA only by default. ISO does not include PipeWire (or PulseAudio as per linked topic). So not unusual for i3wm to use ALSA commands for audio. But also not unusual for ALSA commands to cause problems with software audio servers

I suggest check ALSA audio settings for default server (PipeWire) and onboard audio device (ALC3232)

amixer; echo; amixer -c1 info; amixer -c1
1 Like

Thank you all support. I recognized the problem. It was related profile :upside_down_face:
This was my fault because, I mess about with pavucontrol unconsciously.

Before I fix problem my sources was odd because Mute option was yes.

Source #49
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: yes
	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_00_1b.0.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC3232 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0xe0634000 irq 34"
		alsa.name = "ALC3232 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0xe0634000 irq 34"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		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 = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1b.0.analog-stereo"
		node.nick = "ALC3232 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:front:1:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "32"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "48"
		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:00:1b.0"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1b.0"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "4806540"
		device.product.id = "0x8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller (ThinkPad T440p)"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "1"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 4, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

I changed the built-in audio option profile from Analog Stereo Output to Analog Stereo Duplex on the Pavu control’s configuration tab, and the issue solved, as indicated by the LED indicator. Furthermore, none of pactl’s Mute sections now display ‘yes’. Additionally, external microphones, such as Bluetooth inputs, are fully functional, and the mute keyboard binding is also fully working with the config option. :cowboy_hat_face:

E.g.

Source #296
	State: IDLE
	Name: alsa_output.pci-0000_00_1b.0.analog-stereo.2.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 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_00_1b.0.analog-stereo.2
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY

I don’t still not understand what built-in audio option profile is and does Mute option can be regard as the problem indicator (I thought but, not sure)?

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.