Microphone problems

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dkruit
Level 1
Level 1
Posts: 5
Joined: Thu Feb 04, 2021 6:42 pm

Microphone problems

Post by dkruit »

I have microphone problems on my new laptop using Mint 20.1.

The built-in microphone sometimes works and sometimes doesn't in software like Zoom or Microsoft Teams. When it doesn't work it is silent according to the people with whom I'm in a call, but in pavucontrol I see it responds to my voice. Switching back and forth between input devices sometimes solves the issue.

Using a mic from a headset does not work at all, and only gives noise. I tested this with arecord, and I can record noise whether my headset is plugged in or not.

I hope both these issues can be fixed, but I'll be happy when one of the two microphones works reliably. Thanks in advance for help and advice!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

Hi dkruit, and welcome to the forum.

Let's get a look at your sound setup with this command:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
The last line of output will have a URL pointing to the info.
dkruit
Level 1
Level 1
Posts: 5
Joined: Thu Feb 04, 2021 6:42 pm

Re: Microphone problems

Post by dkruit »

Hi MrEen,

I ran the command and this is the link: https://termbin.com/vfhj

Thanks for your help!
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

Ahh, not what I expected.

I assume by headset mic you are referring to a Bluetooth headset? For the mic to work, you do have to switch to HSP/HFP instead of A2DP. This can be done on teh Configuration tab of PulseAudio Volume Control (pavucontrol) which you can also use to set the default input on the Input Devices tab by clicking on the check mark next to the appropriate device.

Right now, your webcam is the default input, and I suspect that may be causing your intermittent issues. When the mic isn't working, run pacmd list-sources in the terminal and see which is the default which will have the asterisk next to the index number.

If the headset is a normal plug in type, you need a Headset Mic option to choose in your sound settings. This might add one for you:

Code: Select all

sudo tee /etc/modprobe.d/headset-fix.conf <<<'options snd-hda-intel model=dell-headset-multi'
Reboot after running that then check/test. And don't worry that you're not using a Dell. It a codec quirk that applies to your codec.
sirarthurhipoint

Re: Microphone problems

Post by sirarthurhipoint »

Just so happened to find this thread, so I'll post up my issue too. I too am having microphone issues as of recently, and I too have a Dell laptop. It's a Dell Precision M4800 which I believe has an identical audio codec and microphone module to all of the 4th-gen Dell Latitudes.

For me, when I turn on the computer, sometimes the internal mic is detected and sometimes it's not. Usually when I plug in my wired headphone/mic combo (all in 1 3.5mm port) it reappears... but sometimes it doesn't. I wish I could give more info on this but I really have no idea what's causing this issue. Unlike what was mentioned before though I am not running a Bluetooth headset or anything, I'm just trying to use the internal mic and sometimes I use a standard 3.5mm wired headset.

I noticed this happening in the past week or so. It was all fine and dandy before then from what I recall. Maybe a new driver rollup broke this or something.

Also, here is my output in response to the 2nd post:

https://termbin.com/dfok
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

HI sirarthurhipoint, and welcome to the forum.

If you right click on the volume icon and select Audio Mixer, make sure Analog Stereo Duplex is selected for the Profile on the Configuration tab. I'm thinking when you don't see it, the profile is probably set to Analog Stereo Output (no input at all) but plugging in the headset somehow switches the profile.

If that works, you can try to force the issue by running xed admin:///etc/pulse/default.pa in the terminal and add this to the bottom:

Code: Select all

set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
Save the file, reboot and test.
sirarthurhipoint

Re: Microphone problems

Post by sirarthurhipoint »

MrEen wrote: Tue Feb 16, 2021 9:24 pm HI sirarthurhipoint, and welcome to the forum.

If you right click on the volume icon and select Audio Mixer, make sure Analog Stereo Duplex is selected for the Profile on the Configuration tab. I'm thinking when you don't see it, the profile is probably set to Analog Stereo Output (no input at all) but plugging in the headset somehow switches the profile.

If that works, you can try to force the issue by running xed admin:///etc/pulse/default.pa in the terminal and add this to the bottom:

Code: Select all

set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
Save the file, reboot and test.
When I have the issue, there is no Analog Duplex, it only says output. It's like Mint doesn't even know the microphone exists. That is, until I plug in my 3.5mm headset, and then (SOMETIMES) it magically appears and Duplex is a selectable option. I can then see the headset microphone and the internal microphone, that's been there all along but could not be detected until now.

I'll try your things there though, the next time it breaks. Might have to reboot a few times to get it to break again though, since like I said I have literally no idea what causes this to happen or why doing what I do SOMETIMES fixes it

EDIT: posting this here because I'm having weird speaker problems on my other laptop running Debian. I wonder if Zoom or VMware is the problem. I can't really safely uninstall either one because I need them for work so I don't want to risk losing anything. But I will say this, on my other laptop, when I run Zoom for some reason it ties the system-wide audio output volume to the Zoom volume specifically. So for example, if I turn the audio volume down from 50% to 25%, if I go into the PulseAudio settings I will also see that the Application-specific volume for Zoom has also been turned down to 25%. No idea why it does this and apparently nobody really knows how to fix it
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

The Zoom issue is due to Zoom developers accessing a control they shouldn't be accessing in all likelihood. Firefox used to do the same. I could be off base though, but I do remember something like that.
sirarthurhipoint

Re: Microphone problems

Post by sirarthurhipoint »

Sorry to get back to you all so late, but I made a breakthrough discovery. The problem still persists, but I found out that if I plug & unplug my 3.5mm headphone a couple of times it resolves the problem until reboot. After doing this the internal mic is now visible even if I remove the headphones again. I just have to connect and disconnect it a couple of times before it shows up.

If the devs want anything else from me, like a dmesg or something (I remember we used to use these for debugging Android ROMs) let me know how to get one and where to put it. For now though, I at least found a CONSISTENT workaround that makes it work again so it's a bearable issue.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

Nice job finding a workable solution. The proper fix would have to be done by Ubuntu, not Mint developers, so I'd just live with this as is for now. I can't say if this is a kernel issue or PulseAudio or ALSA, so I wouldn't even know where to point you to get this fixed properly.
dkruit
Level 1
Level 1
Posts: 5
Joined: Thu Feb 04, 2021 6:42 pm

Re: Microphone problems

Post by dkruit »

MrEen wrote: Wed Feb 10, 2021 1:09 pm Ahh, not what I expected.

I assume by headset mic you are referring to a Bluetooth headset? For the mic to work, you do have to switch to HSP/HFP instead of A2DP. This can be done on teh Configuration tab of PulseAudio Volume Control (pavucontrol) which you can also use to set the default input on the Input Devices tab by clicking on the check mark next to the appropriate device.

Right now, your webcam is the default input, and I suspect that may be causing your intermittent issues. When the mic isn't working, run pacmd list-sources in the terminal and see which is the default which will have the asterisk next to the index number.

If the headset is a normal plug in type, you need a Headset Mic option to choose in your sound settings. This might add one for you:

Code: Select all

sudo tee /etc/modprobe.d/headset-fix.conf <<<'options snd-hda-intel model=dell-headset-multi'
Reboot after running that then check/test. And don't worry that you're not using a Dell. It a codec quirk that applies to your codec.
I've been quite busy, so did not have time to respond earlier. Thanks for your advice!

At the time of my previous post I had a Bluetooth headset connected, but usually I use a headset with a 3.5mm plug.

The intermittent issues with the webcam microphone were solved after a firmware update offered by the vendor of my laptop. I can use that microphone reliably now, which solves most of my problems.

I added the Dell codec, but the microphone of my 3.5 mm headset still does not work. Here is a screenshot of pavucontrol: Image. When the headset is connected I can choose three options for port: "Headset Microphone", "Microphone 1 (unplugged)" and "Microphone 2". For all three options the volume level is much higher than the USB2.0 Camera microphone, and the volume level does not respond when I make sounds.

Do you have any other suggestions which may help? Thanks in advance!
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

While trying to use the headset mic actively, run pacmd list-sources in the terminal and paste that output.

It might be good to do the same with the USB camera mic as well, so we can look at the differences.
dkruit
Level 1
Level 1
Posts: 5
Joined: Thu Feb 04, 2021 6:42 pm

Re: Microphone problems

Post by dkruit »

The output looks as follows:

Using the webcam microphone:

Code: Select all

3 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_0e.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1030
	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
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 341,33 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 7
	properties:
		device.description = "Monitor of Built-in Audio Analogue Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1110000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_input.usb-USB2.0_Camera_USB2.0_Camera-02.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9049
	volume: front-left: 46576 /  71% / -8,90 dB,   front-right: 46576 /  71% / -8,90 dB
	        balance 0,00
	base volume: 19944 /  30% / -31,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,36 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 2
	configured latency: 40,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.usb-USB2.0_Camera_USB2.0_Camera-02>
	module: 8
	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 = "USB2.0 Camera"
		alsa.long_card_name = "USB2.0 Camera USB2.0 Camera at usb-0000:00:15.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:15.0-usb-0:5:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.2/sound/card1"
		udev.id = "usb-USB2.0_Camera_USB2.0_Camera-02"
		device.bus = "usb"
		device.vendor.id = "058f"
		device.vendor.name = "Alcor Micro Corp."
		device.product.id = "3841"
		device.product.name = "USB2.0 Camera"
		device.serial = "USB2.0_Camera_USB2.0_Camera"
		device.form_factor = "webcam"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "USB2.0 Camera Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>
    index: 2
	name: <alsa_input.pci-0000_00_0e.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 65809 / 100% / 0,11 dB,   front-right: 65809 / 100% / 0,11 dB
	        balance 0,00
	base volume: 6554 /  10% / -60,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VC Analog"
		alsa.id = "ALC269VC 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 0xa1110000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "Built-in Audio Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-mic: Microphone 1 (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headphone-mic: Microphone 2 (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-headset-mic>
Using the headset microphone:

Code: Select all

3 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_0e.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1030
	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
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 341,33 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 7
	properties:
		device.description = "Monitor of Built-in Audio Analogue Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1110000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 1
	name: <alsa_input.usb-USB2.0_Camera_USB2.0_Camera-02.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9049
	volume: front-left: 46576 /  71% / -8,90 dB,   front-right: 46576 /  71% / -8,90 dB
	        balance 0,00
	base volume: 19944 /  30% / -31,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.usb-USB2.0_Camera_USB2.0_Camera-02>
	module: 8
	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 = "USB2.0 Camera"
		alsa.long_card_name = "USB2.0 Camera USB2.0 Camera at usb-0000:00:15.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:15.0-usb-0:5:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.2/sound/card1"
		udev.id = "usb-USB2.0_Camera_USB2.0_Camera-02"
		device.bus = "usb"
		device.vendor.id = "058f"
		device.vendor.name = "Alcor Micro Corp."
		device.product.id = "3841"
		device.product.name = "USB2.0 Camera"
		device.serial = "USB2.0_Camera_USB2.0_Camera"
		device.form_factor = "webcam"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "USB2.0 Camera Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>
  * index: 2
	name: <alsa_input.pci-0000_00_0e.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 65932 / 101% / 0,16 dB,   front-right: 65932 / 101% / 0,16 dB
	        balance 0,00
	base volume: 6554 /  10% / -60,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,75 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 2
	configured latency: 40,00 ms; range is 0,50 .. 371,52 ms
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VC Analog"
		alsa.id = "ALC269VC 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 0xa1110000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "Built-in Audio Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-mic: Microphone 1 (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headphone-mic: Microphone 2 (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-headphone-mic>

sirarthurhipoint

Re: Microphone problems

Post by sirarthurhipoint »

This won't be much help, but this will at least confirm that the problem lies somewhere in Mint/Ubuntu sources. I just jumped over to AlmaLinux (a CentOS 8 fork) and have not had any of the mic issues I talked about before since. Unfortunately I won't be able to provide my own logs anymore, but this at least confirms that there is a problem somewhere within this distro.

But thank you in advance to everyone that helped, and those that are trying to fix it. I wish you all the best of luck
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

What happens if you switch from Headphone Mic to Headset Mic in pavucontrol?
dkruit
Level 1
Level 1
Posts: 5
Joined: Thu Feb 04, 2021 6:42 pm

Re: Microphone problems

Post by dkruit »

I do not notice any difference, the output of pacmd is as follows:

Code: Select all

3 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_0e.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 1030
	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
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 2 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 2
	configured latency: 40,00 ms; range is 0,50 .. 341,33 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 7
	properties:
		device.description = "Monitor of Built-in Audio Analogue Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1110000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_input.usb-USB2.0_Camera_USB2.0_Camera-02.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9049
	volume: front-left: 46576 /  71% / -8,90 dB,   front-right: 46576 /  71% / -8,90 dB
	        balance 0,00
	base volume: 19944 /  30% / -31,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 2
	configured latency: 10,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.usb-USB2.0_Camera_USB2.0_Camera-02>
	module: 8
	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 = "USB2.0 Camera"
		alsa.long_card_name = "USB2.0 Camera USB2.0 Camera at usb-0000:00:15.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:15.0-usb-0:5:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.2/sound/card1"
		udev.id = "usb-USB2.0_Camera_USB2.0_Camera-02"
		device.bus = "usb"
		device.vendor.id = "058f"
		device.vendor.name = "Alcor Micro Corp."
		device.product.id = "3841"
		device.product.name = "USB2.0 Camera"
		device.serial = "USB2.0_Camera_USB2.0_Camera"
		device.form_factor = "webcam"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "USB2.0 Camera Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>
    index: 2
	name: <alsa_input.pci-0000_00_0e.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 65809 / 100% / 0,11 dB,   front-right: 65809 / 100% / 0,11 dB
	        balance 0,00
	base volume: 6554 /  10% / -60,00 dB
	volume steps: 65537
	muted: no
	current latency: 3,97 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 40,00 ms; range is 0,50 .. 371,52 ms
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VC Analog"
		alsa.id = "ALC269VC 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 0xa1110000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "Built-in Audio Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-mic: Microphone 1 (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headphone-mic: Microphone 2 (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-headset-mic>
	
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Microphone problems

Post by MrEen »

The wrong input was default there as seen by the asterisk:

Code: Select all

  * index: 1
	name: <alsa_input.usb-USB2.0_Camera_USB2.0_Camera-02.analog-stereo>
See if this makes it work now:

Code: Select all

pacmd set-default-source alsa_input.pci-0000_00_0e.0.analog-stereo
Run that, then try getting input to work.
fabiengeorjon
Level 1
Level 1
Posts: 3
Joined: Tue Apr 27, 2021 5:51 pm

Re: Microphone problems

Post by fabiengeorjon »

Hello
Did you find a solution to that issue?

I have no input on my jack microphone

Linux Mint 20.1 Cinnamon
11th Gen Intel© Core™ i7-1165G7 @ 2.80GHz × 4
Linux Kernel 5.8.0-50-generic
Cinammon Version 4.8.6
https://termbin.com/706q

Let me know :D
appalbarry
Level 3
Level 3
Posts: 102
Joined: Tue Nov 29, 2011 10:22 pm

Re: Microphone problems

Post by appalbarry »

sirarthurhipoint wrote: Sun Feb 28, 2021 3:15 pm I found out that if I plug & unplug my 3.5mm headphone a couple of times it resolves the problem until reboot. After doing this the internal mic is now visible even if I remove the headphones again.
I swear to god, this just worked for me, plugging a Logitech headphone/mic into an audio >USB adapter.
Locked

Return to “Hardware Support”