25

I have an internal microphone in my laptop. I think it uses Intel High Definition Audio. But I can't get it to work with Ubuntu. It doesn't work with either the Sound Recorder or Skype.

On the Input tab in 'Sound Preferences', I just see Internal Analog Input Device...

User
  • 4,526
  • I installed Ubuntu 12.04 and after this the in built microphone did not work. An external microphone was fine. I tried adding the extra line "options snd-hda-intel model=auto" to the "/etc/modprobe.d/alsa-base.conf" file but this made no difference. I resolved the problem very easily, as stated earlier in this thread. I installed Pulse Audio Volume control with the software centre and unlocked the left and right channels of the microphone. The icon is in the top righhand corner next to the mute icon. This worked but beware, the problem came back after using Skype. You have to stop skype from a –  Mar 13 '13 at 13:26
  • what ubuntu version? –  Mar 08 '17 at 14:06

9 Answers9

35

This is what I had to do to get the internal mic to work on my Acer Aspire 5745G:

  • Install pavucontrol:

    sudo apt install -y pavucontrol
    
  • Run it with:

    pavucontrol
    

Looks like:
enter image description here

If it hangs and says:

Volume Control. Establishing Connection to PulseAudio. Please wait...

enter image description here

then you have started it with sudo pavucontrol. Do not use sudo.

  • Go to the "Input Devices" tab
  • Click the lock icon to unlock the channels
  • Set the right-front channel to silence
12

I had the same problem, and fixed it thus:

If you go to the Ubuntu Software Centre and download the Pulse Audio Volume Control or from a terminal type:

sudo apt-get install pavucontrol

Then just run it with:

pavucontrol

And your microphone should show up there. If your microphone shows up but you're still not getting any sound, unlock the channels, and drop one of them down to zero. This worked for me, hope it helps you!

galoget
  • 2,963
0d_billie
  • 518
11

Add this line to your /etc/modprobe.d/alsa-base.conf file:

options snd-hda-intel model=dell-vostro enable=1 index=0
galoget
  • 2,963
User
  • 4,526
8

I know this might sound crazy, but go to the sound preferences, under input, and make sure the check mark for mute is unchecked, it is checked by default....

TheXed
  • 26,536
  • Its not crazy, its sensible. But I've already checked that. – User Oct 14 '10 at 01:03
  • Do you have an external microphone to test with? If so does it work? – TheXed Oct 14 '10 at 01:58
  • No.. Currently I do not have access to an external microphone to test my set-up. – User Oct 14 '10 at 05:06
  • 1
    I know it is crazy. Skype wouldnt work for me and I figured out that I had to uncheck this. I can't understand why it is set to mute as default! – Pasta Oct 19 '10 at 06:52
  • wow... it sounds crazy as you said. But the mute button it's really tiny and subtle in the preferences that I didn't notice it was activated (And no idea why it was activated without asking me). Thanks! – silgon Jul 29 '18 at 07:14
2

Open a new terminal and run the following commands:

sudo gedit /etc/modprobe.d/alsa-base.conf

Add these two lines to the end of alsa-base.conf:

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=auto

Save and reboot.

galoget
  • 2,963
flash
  • 31
  • Prior to your steps, the only thing that would show for input devices was HDMI Tv that I'm using as a monitor (which doesn't even have a mic). However, after your steps it still doesn't show the laptop's bult-in mic; it shows this, which isn't a mic either (or if it is mic I can't get the meter to pick up any sound I'm making after toggling all the buttons). I'm having this issue on Debian 11. If I installed ubuntu onto this same machine the mic works. Maybe the mic needs some non-free driver that I don't have installed. I'm not sure. – Lonnie Best Dec 27 '21 at 01:29
1

The solution given above it probably the right thing to do, I've encountered this problem several times at some friends. However, if you can't find it, it might be the case that Ubuntu detected the wrong default audio device. Which happens are various allocations.

If this happens, simply open the sounds manager and browse through the devices in the small menu at the top. Just try turn mute off for all of them and then I'm 100% sure that you will figure it out!

galoget
  • 2,963
KYI
  • 243
  • I have tried to select and test this for all my sound devices. The internal mic works with none. – User Oct 15 '10 at 01:51
1

If you have Fn keys on your keyboard, try enabling the webcam using the Fn keys. in my case the mic and the webcam are disabled and enabled by the same Fn key. I am not sure but you might have a separate Fn key for the mic.

galoget
  • 2,963
Waqleh
  • 871
0

In case solutions with pavucontrol did not work for you, try boosting your internal mic from alsamixer in a terminal. By default, it is set to zero, but boosting it resolved my problem.

SAbbasizadeh
  • 101
  • 1
0

I am running Lenovo Thinkpad with Ubuntu 18.04 and I'm connected to the lenovo Dock which may have affected the native headphone controls. Both headphone and headphone mic would not work.

I tried the top answer by Arpit Phillips:

  • Install Pavucontrol with:

    sudo apt install -y pavucontrol
    
  • Run Pavucontrol with:

    sudo pavucontrol
    
  • Go to the "Input Devices" Tab

  • Click the Lock icon to unlock the channels

and I was able to unmute my headphone there to hear sound, but the mic continued to not work.

Secondly, I tried the answer by User and oddly it worked in getting my mic working again.

  • Add this line to your /etc/modprobe.d/alsa-base.conf file: options:

    snd-hda-intel model=dell-vostro enable=1 index=0
    

I tested my microphone with https://www.onlinemictest.com

galoget
  • 2,963