You are not logged in.

#1 2023-05-29 12:54:21

M5Hc6UsQ
Member
Registered: 2018-02-26
Posts: 30

[SOLVED] Pulseaudio - Microphone needs to be repluged after each boot

Hello,

I have the issue that my microphone is not available after booting my PC (microphone is permanently connected). The source is completely missing:

〉LC_ALL=C pactl list sources
Source #0
	State: SUSPENDED
	Name: alsa_input.usb-046d_HD_Pro_Webcam_C920_7E2E12AF-02.analog-stereo
	Description: HD Pro Webcam C920 Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 32000Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: yes
	Volume: front-left: 65531 / 100% / -0.00 dB,   front-right: 65531 / 100% / -0.00 dB
	        balance 0.00
	Base Volume: 9619 /  15% / -50.00 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.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD Pro Webcam C920"
		alsa.long_card_name = "HD Pro Webcam C920 at usb-0000:00:14.0-2.4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:2.4:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.2/sound/card1"
		udev.id = "usb-046d_HD_Pro_Webcam_C920_7E2E12AF-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "082d"
		device.product.name = "HD Pro Webcam C920"
		device.serial = "046d_HD_Pro_Webcam_C920_7E2E12AF"
		device.form_factor = "webcam"
		device.string = "front:1"
		device.buffering.buffer_size = "256000"
		device.buffering.fragment_size = "128000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "HD Pro Webcam C920 Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, availability unknown)
	Active Port: analog-input-mic
	Formats:
		pcm

Source #1
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Description: Monitor of Internes Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 65535 / 100% / -0.00 dB,   front-right: 65535 / 100% / -0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Internes Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1130000 irq 125"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formats:
		pcm

Source #2
	State: SUSPENDED
	Name: echoCancel_source
	Description: HD Pro Webcam C920 Analog Stereo (echo cancelled with Internes Audio Analog Stereo)
	Driver: module-echo-cancel.c
	Sample Specification: float32le 2ch 32000Hz
	Channel Map: front-left,front-right
	Owner Module: 22
	Mute: no
	Volume: front-left: 65531 / 100%,   front-right: 65531 / 100%
	        balance 0.00
	Base Volume: 65536 / 100%
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HW_MUTE_CTRL LATENCY 
	Properties:
		device.master_device = "alsa_input.usb-046d_HD_Pro_Webcam_C920_7E2E12AF-02.analog-stereo"
		device.class = "filter"
		device.intended_roles = "phone"
		device.description = "HD Pro Webcam C920 Analog Stereo (echo cancelled with Internes Audio Analog Stereo)"
		device.icon_name = "audio-input-microphone"
	Formats:
		pcm

Source #3
	State: SUSPENDED
	Name: echoCancel_sink.monitor
	Description: Monitor of Internes Audio Analog Stereo (echo cancelled with HD Pro Webcam C920 Analog Stereo)
	Driver: module-echo-cancel.c
	Sample Specification: float32le 2ch 32000Hz
	Channel Map: front-left,front-right
	Owner Module: 22
	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: echoCancel_sink
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Internes Audio Analog Stereo (echo cancelled with HD Pro Webcam C920 Analog Stereo)"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
	Formats:
		pcm

Source #4
	State: SUSPENDED
	Name: shw_sc4.monitor
	Description: Monitor of LADSPA Plugin SC4 on Internes Audio Analog Stereo
	Driver: module-ladspa-sink.c
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 23
	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: shw_sc4
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of LADSPA Plugin SC4 on Internes Audio Analog Stereo"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
	Formats:
		pcm

After replugin the microphone the source shows up and can be selected:

Source #5
	State: SUSPENDED
	Name: alsa_input.pci-0000_00_1f.3.analog-stereo
	Description: Internes Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: yes
	Volume: front-left: 22625 /  35% / -27.71 dB,   front-right: 22625 /  35% / -27.71 dB
	        balance 0.00
	Base Volume: 6554 /  10% / -60.00 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.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1130000 irq 125"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Internes Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, available)
		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, not available)
		analog-input-linein: Line In (type: Line, priority: 8100, not available)
	Active Port: analog-input-front-mic
	Formats:
		pcm

It would be great if you could help me to fix this issue. I'm glad the provide more information if you need them, just ask for it. Thanks!

Last edited by M5Hc6UsQ (2023-05-29 14:59:58)

Offline

#2 2023-05-29 13:24:37

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

Re: [SOLVED] Pulseaudio - Microphone needs to be repluged after each boot

Make sure you've actually actively selected the corresponding profile so it gets stored as the default with e.g. pactl set-card-profile or on the configuration tab in pavucontrol before opting for the replug trigger.

Maybe additionally run

sudo alsactl store

once after being in the fixed situation

Offline

#3 2023-05-29 14:59:11

M5Hc6UsQ
Member
Registered: 2018-02-26
Posts: 30

Re: [SOLVED] Pulseaudio - Microphone needs to be repluged after each boot

Thank you! Setting the profile to

output:analog-stereo+input:analog-stereo

solved the issue.

Offline

Board footer

Powered by FluxBB