Microphone not recognized; system sounds sent through services like Discord instead?

As it says. It used to work, but a little while ago, we tried a discord call again and sure enough, my computer’s audio gets sent through as my ‘input’ and my actual microphone isn’t even recognized. I’m still quite unfamiliar with Manjaro so not certain how to go about diagnosing this.

Welcome to the forum :wave:

You can start by providing useful information as per below:

:slightly_smiling_face:

I apologize, you’re absolutely right. Here’s my inxi:

CPU: Quad Core AMD Ryzen 3 1200 (-MCP-)
speed/min/max: 1374/1550/3100 MHz
Kernel: 5.10.70-1-MANJARO x86_64
Up: 1h 10m
Mem: 2076.3/7949.3 MiB (26.1%)
Storage: 931.51 GiB (19.5& used)
Procs: 241
Shell: Zsh
inxi: 3.3.08

my computer’s audio gets sent through as my ‘input’ and my actual microphone isn’t even recognized

From this description it is possible that the audio device Profile is configured for audio output only (Analog Stereo Output) instead of input and output (Analog Stereo Duplex)
So the only audio capture input available is the output sink monitor (Monitor of Analog Stereo Output) and there is no input source for the microphone (Analog Stereo Input)

Please post response from this command to show PulseAudio card configuration

pacmd list-cards

Well, this might be telling, but I got a ‘no such command’ response regarding pacmd.

If pacmd command is not working I would suspect that PulseAudio has been replace with PipeWire
but system could be using Manjaro i3wm with ALSA and no sound servers installed

Please post response to this command to show PipeWire card configuration

pactl list-cards

and this to show ALSA information

sudo alsa-info.sh --upload

pactl said no valid command specified.

The other command gets this: h ttp://alsa-project.org/db/?f=f901f92e2c9abbb5ad7332c240003138f34ecc73

Glancing through that link, worth mentioning I think that the family 17h thing is the thing recognized by Discord and indeed the volume mixer as an ‘input’ that instead sends system sounds through.

I forgot that pactl commands do not require the minus symbol :man_facepalming:
Use this command to get PipeWire card information

pactl list cards

ALSA data shows PipeWire has replaced PulseAudio and is running
I am not familiar with PipeWire and do not know what other diagnostic commands are available


You should consider updating BIOS
PRIME A320M-K|Motherboards|ASUS Global
BIOS v5603 states “Improve system compatibility. Support ALC897 audio codec”


ALSA data shows audio settings for onboard audio device in Mixer controls for card Generic
Realtek ALC887-VD has 2 audio Capture channels that can be configured to capture audio from Front Mic, Rear Mic or Line

On this system, only mixer control 'Capture',0 has audio capture turned [on]
mixer control 'Capture',1 is turned [off]

However, both channels for audio capture 'Input Source',0 and 'Input Source',1 are configured to capture Front Mic

This audio codec has loopback mixing to allow audio capture inputs to be connected direct to headphone output (speakers may cause horrible feedback noises)
but this is not turned on by default. This command will turn on loopback and unmute the audio playback control to monitor the Front Mic input

amixer --card=1 sset 'Loopback Mixing' Enabled && amixer --card=1 sset 'Front Mic' 75% unmute

Then you should check and adjust ALSA capture settings in terminal UI

alsamixer --card=1 --view=capture

change 'Input Source',1 to Line and test 'Input Source',0 for Front Mic and Rear Mic

When you have ALSA audio settings and levels adjusted correctly use this command to save the settings so they are restored when system is rebooted

sudo alsactl store

Pactl list cards returns the following:

Card #38
Name: alsa_card.pci-0000_07_00.1
Driver: alsa
Owner Module: n/a
Properties:
device.enum.api = “udev”
device.api = “alsa”
media.class = “Audio/Device”
api.alsa.path = “hw:0”
api.alsa.card = “0”
api.alsa.card.name = “HDA NVidia”
api.alsa.card.longname = “HDA NVidia at 0xf6080000 irq 50”
device.plugged.usec = “14827269”
device.bus_path = “pci-0000:07:00.1”
device.sysfs.path = “/sys/devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0”
device.bus = “pci”
device.subsystem = “sound”
device.vendor.id = “4318”
device.vendor.name = “NVIDIA Corporation”
device.product.id = “4025”
device.product.name = “GP107GL High Definition Audio Controller”
device.name = “alsa_card.pci-0000_07_00.1”
device.description = “GP107GL High Definition Audio Controller”
device.nick = “HDA NVidia”
device.icon_name = “audio-card-pci”
api.alsa.use-acp = “true”
api.acp.auto-profile = “false”
api.acp.auto-port = “false”
api.dbus.ReserveDevice1 = “Audio0”
factory.id = “14”
client.id = “31”
object.id = “38”
object.path = “alsa:pcm:0”
alsa.card = “0”
alsa.card_name = “HDA NVidia”
alsa.long_card_name = “HDA NVidia at 0xf6080000 irq 50”
alsa.driver_name = “snd_hda_intel”
device.string = “0”
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: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: yes)
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-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, 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)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
pro-audio: Pro Audio (sinks: 6, sources: 0, priority: 1, available: yes)
Active Profile: output:hdmi-stereo-extra1
Ports:
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = “hdmi”
port.availability-group = “Legacy 1”
device.icon_name = “video-display”
card.profile.port = “0”
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, 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
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
hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, availability group: Legacy 5, not available)
Properties:
port.type = “hdmi”
port.availability-group = “Legacy 5”
device.icon_name = “video-display”
card.profile.port = “4”
Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, availability group: Legacy 6, not available)
Properties:
port.type = “hdmi”
port.availability-group = “Legacy 6”
device.icon_name = “video-display”
card.profile.port = “5”
Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #39
Name: alsa_card.pci-0000_09_00.3
Driver: alsa
Owner Module: n/a
Properties:
device.enum.api = “udev”
device.api = “alsa”
media.class = “Audio/Device”
api.alsa.path = “hw:1”
api.alsa.card = “1”
api.alsa.card.name = “HD-Audio Generic”
api.alsa.card.longname = “HD-Audio Generic at 0xf6800000 irq 52”
device.plugged.usec = “14857920”
device.bus_path = “pci-0000:09:00.3”
device.sysfs.path = “/sys/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1”
device.bus = “pci”
device.subsystem = “sound”
device.vendor.id = “4130”
device.vendor.name = “Advanced Micro Devices, Inc. [AMD]”
device.product.id = “5207”
device.product.name = “Family 17h (Models 00h-0fh) HD Audio Controller”
device.name = “alsa_card.pci-0000_09_00.3”
device.description = “Family 17h (Models 00h-0fh) HD Audio Controller”
device.nick = “HD-Audio Generic”
device.icon_name = “audio-card-pci”
api.alsa.use-acp = “true”
api.acp.auto-profile = “false”
api.acp.auto-port = “false”
api.dbus.ReserveDevice1 = “Audio1”
factory.id = “14”
client.id = “31”
object.id = “39”
object.path = “alsa:pcm:1”
alsa.card = “1”
alsa.card_name = “HD-Audio Generic”
alsa.long_card_name = “HD-Audio Generic at 0xf6800000 irq 52”
alsa.driver_name = “snd_hda_intel”
device.string = “1”
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
Active Profile: output:analog-stereo+input:analog-stereo
Ports:
analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, available)
Properties:
port.type = “mic”
port.availability-group = “Legacy 1”
device.icon_name = “audio-input-microphone”
card.profile.port = “0”
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = “mic”
port.availability-group = “Legacy 2”
device.icon_name = “audio-input-microphone”
card.profile.port = “1”
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = “line”
port.availability-group = “Legacy 3”
card.profile.port = “2”
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = “line”
port.availability-group = “Legacy 4”
card.profile.port = “3”
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, available)
Properties:
port.type = “headphones”
port.availability-group = “Legacy 5”
device.icon_name = “audio-headphones”
card.profile.port = “4”
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Properties:
port.type = “spdif”
card.profile.port = “5”
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo
~ >>>

Your other commands have been executed without success. We have yet to update the BIOS; that’ll be our next step I guess?

Response from pactl command for PipeWire is not very similar to response I am familiar with from PulseAudio so I cannot comment on that

If the commands for ALSA did not work, was there any error message in the terminal response?
the 1st amixer command should have responded to advise settings for Loopback Mixing and Front Mic

Command for alsamixer should have shown audio capture settings graphically in terminal

Please post response to this command to show all ALSA settings in text format

amixer --card=1 

No, the commands technically worked, and we did get the graphical control in terminal. Just, nothing we did solved the actual problem; continued to be unable to get a microphone recognized and functioning.

The pactl readout makes me suspicious. The section that’s enabled, family 17h, is the one that’s alwyas been around and always does this. The disabled section before it looks more normal; perhaps enabling that somehow?

Simple mixer control ‘Master’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 39 [61%] [-25.00dB] [on]
Simple mixer control ‘Headphone’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control ‘PCM’,0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 253 [99%] [-0.40dB]
Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control ‘Front’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [off]
Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control ‘Front Mic’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [0.00dB] [on]
Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control ‘Front Mic Boost’,0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
Simple mixer control ‘Surround’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [off]
Front Right: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control ‘Center’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control ‘LFE’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control ‘Line’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control ‘Line Boost’,0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control ‘IEC958’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control ‘IEC958 Default PCM’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control ‘Capture’,0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 46 [100%] [30.00dB] [on]
Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control ‘Capture’,1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control ‘Auto-Mute Mode’,0
Capabilities: enum
Items: ‘Disabled’ ‘Enabled’
Item0: ‘Enabled’
Simple mixer control ‘Channel Mode’,0
Capabilities: enum
Items: ‘2ch’ ‘4ch’ ‘6ch’
Item0: ‘2ch’
Simple mixer control ‘Input Source’,0
Capabilities: cenum
Items: ‘Front Mic’ ‘Rear Mic’ ‘Line’
Item0: ‘Front Mic’
Simple mixer control ‘Input Source’,1
Capabilities: cenum
Items: ‘Front Mic’ ‘Rear Mic’ ‘Line’
Item0: ‘Line’
Simple mixer control ‘Loopback Mixing’,0
Capabilities: enum
Items: ‘Disabled’ ‘Enabled’
Item0: ‘Enabled’
Simple mixer control ‘Rear Mic’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control ‘Rear Mic Boost’,0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
~ >>>

amixer data shows that the command to turn on Loopback Mixing to monitor audio for Front Mic jack was effective

Considering audio capture level is set to +30dB by Front Mic Boost and +30dB for Capture, 0 = +60dB total (which is excessive for most microphones) you should hear a hissing sound in headphones even if the external microphone is not working or not plugged in
If the microphone was audible it would probably sound very distorted with capture levels set to maximum

If you cannot hear anything at all in headphones, the front panel audio jacks might be at fault
Try plugging microphone into Rear Mic jack and Headphones into Line Out jack and reconfigure ALSA settings to turn on playback monitoring and Capture, 0 from the Rear Mic

hey, so.

It turned out to be a not quite plugged in connection on the headset involved, though a couple other audio issues did get fixed on the way, so thank you for that. Thought we had it fixed after that, but then we allowed a small pile of updates through pamac which resulted in an unbearable amount of static and the mic input just echoing into output. So now it’s an entirely different issue.