External Microphones not detected Linux Mint 20.1

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
eef4de
Level 1
Level 1
Posts: 14
Joined: Wed Mar 17, 2021 3:27 am

External Microphones not detected Linux Mint 20.1

Post by eef4de »

I updated my OS to the latest version as of this post. The headphones work on plug, but only the earphones. The mic isn't working. As for the mic I just bought, it also wasn't working.

I looked at the sound settings and went to output. There only appeared the built-in microphone. I tried plugging and unplugging my mic but it was not detected. Based from the test sound, it only detects the sound from my laptop's built-in mic.

System Information

Code: Select all

System:    Kernel: 5.4.0-73-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Acer product: Nitro AN515-55 v: V1.07 serial: <filter> 
           Mobo: CML model: Stonic_CMS v: V1.07 serial: <filter> UEFI: Insyde v: 1.07 
           date: 08/27/2020 
Battery:   ID-1: BAT1 charge: 46.1 Wh condition: 56.4/57.5 Wh (98%) volts: 16.0/15.4 
           model: LGC AP18E8M serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i5-10300H bits: 64 type: MT MCP arch: N/A 
           L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 39999 
           Speed: 2600 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 2600 2: 2600 3: 2600 
           4: 2600 5: 2600 6: 2600 7: 2600 8: 2600 
Graphics:  Device-1: Intel UHD Graphics vendor: Acer Incorporated ALI driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:9bc4 
           Device-2: NVIDIA vendor: Acer Incorporated ALI driver: nouveau v: kernel 
           bus ID: 01:00.0 chip ID: 10de:1f95 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~144Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.6 
           direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:06c8 
           Device-2: NVIDIA driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10fa 
           Sound Server: ALSA v: k5.4.0-73-generic 
Network:   Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3 
           chip ID: 8086:06f0 
           IF: wlp0s20f3 state: up mac: <filter> 
           Device-2: Realtek vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000 
           bus ID: 07:00.0 chip ID: 10ec:2600 
           IF: enp7s0 state: down mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 346.16 GiB (145.2%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN530 SDBPNPZ-256G-1014 
           size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> 
Partition: ID-1: / size: 231.54 GiB used: 172.83 GiB (74.6%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 704.5 MiB used: 502.5 MiB (71.3%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-3: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-2:2 info: USB OPTICAL MOUSE type: Mouse driver: hid-generic,usbhid rev: 1.1 
           chip ID: 0000:0538 
           Device-2: 1-5:3 info: Quanta HD User Facing type: Video driver: uvcvideo rev: 2.0 
           chip ID: 0408:a061 
           Device-3: 1-14:4 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0026 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 43.0 C mobo: N/A gpu: nouveau temp: 28 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyssa main upstream import backport
           2: deb http: //ubuntu.mirror.snu.edu.in/ubuntu focal main restricted universe multiverse
           3: deb http: //ubuntu.mirror.snu.edu.in/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //ubuntu.mirror.snu.edu.in/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/openshot_developers-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/openshot.developers/ppa/ubuntu focal main
Info:      Processes: 289 Uptime: 4m Memory: 7.61 GiB used: 1.88 GiB (24.7%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
pacmd list-sources

Code: Select all

4 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1f.3.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: 1 <alsa_card.pci-0000_00_1f.3>
	module: 8
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xc549c000 irq 151"
		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 = "06c8"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 1
	name: <alsa_input.pci-0000_00_1f.3.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: 21845 /  33% / -28.63 dB,   front-right: 21845 /  33% / -28.63 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 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	card: 1 <alsa_card.pci-0000_00_1f.3>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC295 Analog"
		alsa.id = "ALC295 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 0xc549c000 irq 151"
		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 = "06c8"
		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 = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	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: <noechosource>
	driver: <module-echo-cancel.c>
	flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	volume: mono: 21845 /  33%
	        balance 0.00
	base volume: 65536 / 100%
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	module: 24
	properties:
		device.master_device = "alsa_input.pci-0000_00_1f.3.analog-stereo"
		device.class = "filter"
		device.intended_roles = "phone"
		device.description = "Built-in Audio Analog Stereo (echo cancelled with Built-in Audio Analog Stereo)"
		device.icon_name = "audio-input-microphone"
    index: 3
	name: <noechosink.monitor>
	driver: <module-echo-cancel.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	volume: mono: 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: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	monitor_of: 1
	module: 24
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo (echo cancelled with Built-in Audio Analog Stereo)"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
When I open audacity, there also wasn't a selection of the speakers I should have.

I searched for ways to do it online but so far, I only saw stuff related to the Sound settings that I mentioned before.

I tried following this:
lynxfan wrote: Sun Jun 18, 2017 4:44 am Thanks to the forums.
My USB microfone working fine after the below changes to the file /usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py
self.inputSelector = self.buildDeviceSelect("output", self.inputDeviceList) # the line with bug
self.inputSelector = self.buildDeviceSelect("input", self.inputDeviceList) #correct changes

Tested with Microsoft webcam & SENNHEISER headset
But it still didn't work when I tested in in input sounds.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 5 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
mohican
Level 2
Level 2
Posts: 88
Joined: Wed Aug 17, 2016 5:28 am

Re: Mic not detected Linux Mint 20.1

Post by mohican »

Hello, same problem here.

headphone and mic (jack), which is correctly working under Ubuntu on another computer.

On this laptop (only one jack) with Mint cinnamon 20.1 fresh install, the headphone is not detected at all.
I installed pavucontrol -> it detects the headphone and mic. I selected it for input and output. Output works, mic doesn't.
Currently on Linux Mint Xfce 21 64 bits + Mint Cinnamon 21 for testing + Ubuntu 22.04 for testing.
eef4de
Level 1
Level 1
Posts: 14
Joined: Wed Mar 17, 2021 3:27 am

Re: External MicrophoneS not detected Linux Mint 20.1

Post by eef4de »

Here are some of he other things that I tried:

Code: Select all

pacmd set-default-source alsa_input.pci-0000_00_0e.0.analog-stereo
But I got:

Code: Select all

Source alsa_input.pci-0000_00_0e.0.analog-stereo does not exist.
I also installed PulseAudio Volume Control

Code: Select all

flatpak install flathub org.pulseaudio.pavucontrol
Then run it

Code: Select all

flatpak run org.pulseaudio.pavucontrol
And I got

Code: Select all

Gtk-Message: 08:44:46.552: Failed to load module "xapp-gtk3-module"
Basically what appeared is just the same as that appears in Sound > Input from the local settings. The mic from my headphones where not detected.

Then I also run this to see what happens despite not knowing what this does:

Code: Select all

sudo fuser -v /dev/snd/*
I got:

Code: Select all

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  user      1351 F.... pulseaudio
/dev/snd/controlC1:  user      1351 F.... pulseaudio
/dev/snd/pcmC0D0c:   user      1351 F...m pulseaudio
/dev/snd/pcmC0D0p:   user      1351 F...m pulseaudio
And yep headphone mic is still not working.
User avatar
mohican
Level 2
Level 2
Posts: 88
Joined: Wed Aug 17, 2016 5:28 am

Re: External Microphones not detected Linux Mint 20.1

Post by mohican »

Hi, I checked the cs_sound.py file : it is correct.

In Pavucontrol, nothing new. I can select between internal mic and headset mic ("unplugged"). But the headset mic doesn't work (the output works when selecting headset).

I also tried alsamixer, put to 100% one if the input bar that was empty, but this did nothing.
Currently on Linux Mint Xfce 21 64 bits + Mint Cinnamon 21 for testing + Ubuntu 22.04 for testing.
User avatar
mohican
Level 2
Level 2
Posts: 88
Joined: Wed Aug 17, 2016 5:28 am

Re: External Microphones not detected Linux Mint 20.1

Post by mohican »

So in conclusion, I have a headset that does work on Ubuntu on a desktop,
and doesn't work on Mint on a laptop.
Strange, isn't it ? :shock: :roll:
Currently on Linux Mint Xfce 21 64 bits + Mint Cinnamon 21 for testing + Ubuntu 22.04 for testing.
Locked

Return to “Sound”