You are not logged in.

#1 2021-05-01 08:41:19

DireWolf
Member
Registered: 2021-04-15
Posts: 28

Alsa and Pulseaudio not recognizing mic in analog headset

Hey all,
I have Arch Linux (5.11.15-arch1-2) on Acer Spin 5.
When I plug in my stereo mic hadphone into the 3.5 mm jack, alsa recognizes the headphones but not the mic. Also a regular popping sound can be heard in the headphones.

I tried troubleshooting online and figured out it was a codec issue and tried appending the headset-mic codec but it doesn't work. COnfiguring with hdajackretask also doesn't work .
i tried out the solution in the following forum,  https://superuser.com/questions/1312970 … e-und-alsa
But it doesn't work

The forum suggests to add codecs for the sound card,
but I feel as if i would have to install them first?
instead of just appending in /etc/modprobe.d/alsa-base.conf....
I tried searching AUR for codecs but i cound't find anything related...

some snippets:

$ cat /proc/asound/card*/codec* | grep Codec
Codec: Realtek ALC295
Codec: Intel Kabylake HDMI
 $ lspci| grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
 $ acpi_listen
jack/headphone HEADPHONE unplug
jack/headphone HEADPHONE plug 

since it is an hardware recognition issue i think it is a problem regarding codec/drivers?
Also there is nothing wrong with headphone or laptop because it used to work with windows which came preinstalled...

I have been trying to fix this since weeks! any help would be appreciated !   neutral

Last edited by DireWolf (2021-05-01 08:43:31)

Offline

#2 2021-05-01 10:31:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,337

Re: Alsa and Pulseaudio not recognizing mic in analog headset

Did you reboot after setting a new model via /etc/modprobe.d ? In general most codecs are already present and you manipulate which one is loaded via the model= line but that will only trigger on module reload.

Also maybe post some more information like what is detected where do you see/surmise it isn't working, what's your output for

amixer -c0

but yes in general, this is something that often doesn't quite work right.

Offline

#3 2021-05-01 11:40:44

DireWolf
Member
Registered: 2021-04-15
Posts: 28

Re: Alsa and Pulseaudio not recognizing mic in analog headset

Yes, V1del i did reboot after every possible permutation...
I cannot see the mic input in amixer or pavucontrol also I have seen people post the output of acpi_listen and there they get an output like:

$ acpi_listen
jack/headphone HEADPHONE plug
jack/microphone MICROPHONE plug 

while i only get the headphone event notif....
the output for amixer -c0 shows some mysterious 'Capture' which is disabled / off and gain is -17 could that my my headphone mic?

$ amixer -c0   
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 85 [98%] [-1.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  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 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 39 [62%] [12.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Internal Mic 1',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Internal 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]
Simple mixer control 'Internal Mic Boost',1
  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]

Thanks for help!

Offline

Board footer

Powered by FluxBB