Audio Cart ALC3204 - does not detect microphone

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.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

If you can't find it in your Menu, you can start it from the terminal with hdajackretask
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Hi,
I understand now...
I deleted the line options snd-hda-intel model = *

And I tried all unconnected pins. Unsuccessfully.

Should I try to add the line snd-hda-intel ..... to the configuration file and try unconnected pins again, or is it stupid?
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

Yeah, go ahead and add back the model=laptop_amic or model=laptop_dmic. The difference here is there should then already be a pin for Internal Microphone in hdajackretask. Click on Advanced override in the upper right, and tell me what the 8 boxes say for the Internal Microphone pin.
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Code: Select all

options snd-hda-intel model=laptop-amic
1.png
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Code: Select all

options snd-hda-intel model=laptop-dmic
2.png
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

We're looking for the Internal Mic, not Internal Speaker. If you run dmesg | grep snd, you should see the pin number it uses in the Inputs: section of the autoconfig for ALC3204
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Oh, sorry, I am stupid...

Code: Select all

dmesg | grep snd
[    3.289905] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.294395] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.347795] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3204: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.347798] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.347800] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.347801] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.347802] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.347803] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    3.347805] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
Internal mic not view in Jack retasking...
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

It should show something for pin 0x12. Maybe you need to click on Show unconnected pins? Or maybe you just need to scroll?
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Yes...
3.png
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

Okay, check the Override box, then click on Apply now and test if it's working. If so, then click on Install boot override.
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Check override -> aply now, but no changes...

Internal mic is detecterd, but no record...

:-/
4.png
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

Check if anything is muted in both pavucontrol and alsamixer. In alsamixer, this includes the Capture column that is exposed when you press F4.
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Snímek obrazovky pořízený 2019-12-30 21-01-03.png
:(
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

Damn! Let's see the output of amixer please.
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

Code: Select all

amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',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 'Speaker',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 '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 '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 '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 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
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: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

I'm at a loss right now. Maybe when the next kernel series arrives, that may fix this. The only thing I think we didn't try is reloading all the sound stuff with this:

Code: Select all

apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2
That might undo your change to alsa-base.conf

Other than that, I've got nothing left. I will try to think of something else to try, but I probably won't have anything for a day or two.
matata
Level 1
Level 1
Posts: 49
Joined: Wed May 19, 2010 10:24 am

Re: Audio Cart ALC3204 - does not detect microphone

Post by matata »

No changes...
:-(

Thanks you so much...

Do you think it is possible that this will be fixed in another version of ubuntu or LM 20? (In Ubuntu 19.10 is same problem...)
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

I think the best chance is whatever kernel is going to come after 5.3. It may be 5.4 or could jump to 5.5 or even later. That's where the "fixes" will be that hopefully will include your system.

There's a possibility something like Manjaro will work. Something that has a recent enough kernel and isn't Ubuntu based. Maybe even Debian, but I'm suspecting a lesser chance with that. I'd suggest trying a live version of Manjaro and see if the internal mic is recognized without even installing the OS. If it is, then there's a very good chance Mint 20 will work when it comes out.
asdfuioda
Level 1
Level 1
Posts: 31
Joined: Wed Aug 31, 2016 8:34 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by asdfuioda »

I am on Mint 20, kernel 5.11.7 and this problem is still there. I have a Dell 17 Inspiron (7706), which apparently also has this codec according to my alsa script output. http://alsa-project.org/db/?f=7366da8bd ... 85b687e879

Using either of those settings in `/etc/modprobe.d/alsa-base.conf` I get it showing up in Sound settings, but volume is fixed at 0. In `pavucontrol` I get an internal microphone that shows some noise, and does not react to any sound near the computer.

Related posts
https://askubuntu.com/questions/1235813 ... ntel-alc32
https://askubuntu.com/questions/6993/in ... ot-working

Maybe I should make a new thread, I see there's a few others on this issue, but not with my laptop, the others are for Dell Vostro.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Audio Cart ALC3204 - does not detect microphone

Post by MrEen »

Hi asdfuioda,

Remove the model=dell-vostro enable=1 index=0 edit you made in /etc/modprobe.d then reboot and run this command and paste the output:

Code: Select all

sudo dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'
Locked

Return to “Hardware Support”