Microphone from gaming headset listed as unplugged and will not work

I have a simple hyper X headset that works for audio and microphone on both my xbox and this same PC when using windows.

I tried testing this mic on tumbleweed discord to find out I don’t have any sound from the microphone (incoming audio works just fine).

I noticed in the system settings (not discord) that the microphone is detected but set to unplugged with no way of changing this.

I have tried to use a couple tools that others have mentioned previously such as pulse audio but nothing seems to change.

Any help would be greatly appreciated!

Keep in mind I am fairly new to linux so I will do my best to provide any information needed to help.

Forgot to mention this uses the 3.5 mm port

Welcome to the Forums. Have you installed pavucontrol (Pulse Audio Volume Control) which I usually find helps in diagnosing such problems?

1 Like

Unfortunately, it seemed to repeat exactly what the settings had already shown.

The microphone is detected but listed as unplugged

It shows as Family 17h/19h HD Audio Controller Analog Stereo (unplugged)

The fact that Pulse Audio can detect it means that there is a hardware connection; saying it is unplugged means that Pulse Audio cannot detect any input from it. At one time 3.5 mm headphone and microphone ports were separate; now one 3.5 mm port is used for both input and output. I wonder if there is a switching problem caused by a combination of other input and output devices causing the 3.5 mm port to be switched to output (ie. headphone) only.

See if this applies

This is what happens in my HP Envy x360, even with kernel 5.11 rc4:

I plug the jack till the end and it is reported as unplugged.
If I then very slightly pull out the plug, between 1/3 and 1/2 mm, it’s suddenly reported as plugged-in and mic signal is ok.
If from that position I push it till the end again, it stays reported as plugged-in but signal becomes uncorrelated to mic input. It’s like a repeated and noisy pattern of amplifying for a bit and suddenly dropping.

It indeed seems that when the jack is fully plugged-in it’s taken to be a 3 pin jack. In 1 it’s reported as unplugged, in 3 maybe the plugged-in state is preserved from 2, but the input -whatever it is- is not from the mic.

Possibly, just curious as to what could be causing this switching issue as I have nothing else plugged in. Still interesting that it works on the same machine with windows.

I just tried testing this by pulling the plug out slightly but it does not trigger the same response as this persons.

I saw on another article about a possible issue where the system is adding two of the same drivers and it is confusing yast.

I forgot which command I ran to see this (something with a word like alta) and it did appear to be two of the same driver.

Perhaps this could be the issue?

How would I go about deleting or even finding one of these?

Well YaST has nothing to do with loading the drivers (and the sound utility is deprecated anyway). You can show the sound card configuration using
inxi -SAa
For more comprehensive diagnostic information, run the alsa-info.sh script as explained here
https://en.opensuse.org/SDB:Audio_troubleshooting#Script_to_run_to_obtain_detailed_information
and share the link that it provides so others can see the results.

System:
Host: localhost.localdomain Kernel: 6.10.11-1-default arch: x86_64 bits: 64
compiler: gcc v: 14.2.0 clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.10.11-1-default
root=UUID=89b7d755-7ebf-44aa-b914-1f4d52004610 splash=silent
mitigations=auto quiet security=apparmor
Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A info: frameworks v: 6.6.0
wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
Tumbleweed 20240924
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
Audio driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
vendor: ASRock driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.10.11-1-default status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.2.4 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl

http://alsa-project.org/db/?f=09d2c08212f64ff056272d1cb870e9bce1a698c2

A quick glance of the diagnostic output shows the microphone is off

Simple mixer control '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]

Fire up alsamixer via a terminal, press F6 to choose the appropriate card, check/adjust the mic levels, then test again. Any difference?

I believe I did find the correct sound card and the mic bar was all the way down.

I raised it up and also disabled the auto mute feature.

Nothing seems to have changed.

When selecting the sound card is it normal for there to be 3 options?

The default seemed to be something called pipewire and I wasn’t able to change it from defaulting to it.

There is another one that had HDMI in it and then finally the third option is the Realtek audio which I know as the correct option as that is what appears when using the mic on windows

That really depends on the particular system. You have two sound cards, and I think the first option is for ‘default’ which as you say points to the ‘sound server’ layer, (in this case PipeWire).

Can you please run the script again, so we can see the script output after you have implemented what you noted?

Also, have you checked pavucontrol, to see if the mic is assigned to the correct application?

http://alsa-project.org/db/?f=6bb22d82ac59
3c346dee7a74deb4de754eee2cff

Is it possible to change the default? Also where would the second sound card even come from?

Screenshot_20240926_124207