Microphone is not working on Ubuntu 16.04

98,836

Solution 1

I had this exact problem. My solution:

1) open PulseAudio control

2)go to the configuration tab.

3)select analog stereo duplex to use the computers built in audio&mic

enter image description here

Solution 2

My issue was a small variation to OP's problem - I have a headset (combined stereo headphones and mic) jack.

First use hdajackretask check that the problem is not related to the jack (eg see user47206's solution). For me, my jack was correctly detected as 'Headphone'.

  1. Press Ctrl+Alt+t to access the terminal.
  2. Type cat /proc/asound/card*/codec* | grep Codec in the terminal and take note of the codecs listed.
  3. If there are multiple codecs listed, determine which one relates to your headset jack. For me there were two listed - one related the the video card (Codec: ATI R6xx HDMI) and another related to the sound card (Codec: Realtek ALC3861). In my case, I was interested in the sound card because I was connecting to the PC headset jack and not a HDMI device such as a PC monitor.
  4. Look up the HD-Audio model for your codec in HD-Audio Codec-Specific Models. For my headset jack, the best fit was the dell-headset-multi model.
  5. Type cd /etc/modprobe.d/ in the terminal.
  6. Type sudo cp alsa-base.conf alsa-base.conf.bak to backup the file before editing.
  7. Type gksudo gedit ./alsa-base.conf to edit the file.
  8. Insert this line at the bottom of the file options snd-hda-intel model={HD-Audio model for you codec}. For example, for it me it was options snd-hda-intel model=dell-headset-multi.
  9. Save file and reboot.

Solution 3

I did it guys!

  1. sudo gedit /etc/modprobe.d/alsa-base.conf
  2. Look for the options snd-usb-audio index=-2 and change it to options snd-usb-audio index=0
  3. Add options snd-hda-intel model=auto

Solution 4

I had a similar issue and tried every answer I found online with no luck. Finally, from alsamixer I changed the Channel option which was 6ch, to 4ch or 2ch, and the mic started capturing input, don't know why...

Solution 5

Very easy solution.

Screenshot

tl;dr : press red volume icon as shown in screenshot image above.

I had the same problem. On Ubuntu 16.04.3 LTS, KDE

My solution:

1) Go to "Audio Volume Settings"

2) Select "Input Devices" (Tab)

** in the top right corner the sound icon is marked in red. As mute.

3) Press (left click) the red sound Icon (mentioned above)

4) Press OK

Check if problem is solved.

If not make sure to choose the right option from the port options in the Input Devices Tab (I choose Internal Microphone) and make sure the volume percentage is above 0%, preferably for the test set to 100%.

It was the internal microphone on my laptop. Meaning the built-in mic in my laptop.

Share:
98,836

Related videos on Youtube

Jakub Cerny
Author by

Jakub Cerny

Updated on September 18, 2022

Comments

  • Jakub Cerny
    Jakub Cerny over 1 year

    I have problem with my HDA Intel PCH audio under Ubuntu 16.04. I never had any problem with speakers, however my microphone is not working.

    When I plug microphone in jack, system reacts and it looks like microphone is in, however no single bar appear in any settings in "Input levels". The microphone works fine, just tested on notebook with Ubuntu 12.04.

    Screenshot

    Here is my info

    • Admin
      Admin about 7 years
      did you solve your problem ?? im having the same issue!
  • Admin
    Admin about 7 years
    im having the same problem and this answed didnt solve it ?? any other solutions
  • Admin
    Admin about 7 years
    @ForDev - what laptop do you have? Do you see your mic in audio settings or in pavucontrol under Input Devices tab? If not, under Configuration tab: be sure you have selected ''Analog Stereo Duplex".
  • Admin
    Admin about 7 years
    thnx for replay i have just switched to debian and everything is working fine thnx :) i try all the solutions but didnt work for me i think the problem mybe comes from the updates because before everything was working fine
  • Admin
    Admin about 7 years
    @ForDev - you mean this was fixed with Debian rolling? What kernel version please? Maybe I'll stumble into this in the future on that Asus and using a newer kernel may be the way to go.
  • Admin
    Admin over 6 years
    When I try to apply changes I get this error: pa_stream_writablee_size() failed: Connection terminated
  • MHT
    MHT over 6 years
    I've found that even though my setting was Analog Stereo Duplex, switching to another setting and then back to duplex solves the problem.
  • Breno Salgado
    Breno Salgado over 6 years
    anyway to make it switch to microfone automatically? This one works but seems we have to change the output manually everytime
  • Razem
    Razem almost 5 years
    Thank you, this worked for me (aspire-headset-mic model).
  • HackerBoss
    HackerBoss about 4 years
    This did not fix it for me
  • FlyingZebra1
    FlyingZebra1 about 4 years
    unfortunately this did not work on ubuntu 19.1 + acer swift 3 :( looks like this was my last option.