Microphone Not Working on Ubuntu OS (Here’s How To Fix!)

Ubuntu is an operating system (OS) developed by Canonical Ltd. that is free to download and is open-source, unlike the popular Windows OS which always comes with a price.

Its initial release was way back in 2004 and was named “Warty Warthog,” as their naming convention is using an adjective and an animal that starts with the same letter. Its latest version as of this writing is Ubuntu 22.04 (Jammy Jellyfish) and was released last April 21, 2022.

If you run an Ubuntu operating system and your microphone is not working on your device, this guide may help you.

ubuntu

Solution 1 – Check the Sound Settings

For Ubuntu 22.04:

  1. Click the speaker icon on the upper right corner of the home screen. A menu will appear.
  2. Click Settings on the menu.
  3. On the Settings window on the left pane, click Sound.
  4. Scroll down a bit and you will see the Input section on the right pane.
  5. Click on the Input Device drop-down and browse for the microphone you are trying to use. If there is no external microphone connected to your computer, it should only display one entry which is the built-in microphone.
  6. Once selected, increase the volume.
  7. Try speaking on the microphone and see if the horizontal bar just below the Input Device selection increases.
  8. If it responds to your voice, your microphone should be working fine.

For lower versions of Ubuntu:

  1. Click the speaker icon on the upper right corner of the home screen. A menu will appear.
  2. Click on Sound Settings. The Sound dialog will appear.
  3. Under the Input tab, select your microphone on the left pane and the corresponding settings will appear on the right pane.
  4. Make sure that the Mute check box is not ticked.
  5. Once unticked, try speaking on your microphone and see if the Input Level bar responds to your voice. If yes, then your microphone should be working.
  6. If the Input Level bar is still not responding, try increasing the Input Volume.

Solution 2 – Install PulseAudio Volume Control

  1. Open the terminal.
  2. Type sudo apt-get install pavucontrol and press Enter. If this command does not work (due to your Ubuntu version), you may follow the installation steps defined in Solution 6 below.
  3. Once finished, run the application by typing pavucontrol on terminal and press Enter. The Volume Control dialog will appear.
  4. Click the Input Devices tab.
  5. Click the lock icon on the microphone you are trying to use to unlock it.
  6. On the Port drop-down, select the microphone you are trying to use.
  7. Try testing your microphone and see if it works.

Solution 3 – Reload ALSA

  1. Open the terminal.
  2. Type sudo alsa force-reload and press Enter.
  3. Restart the microphone and check if it already works. If you are using the built-in microphone, try restarting the system.

Solution 4 – Reinstall PulseAudio Volume Control

  1. Open the terminal.
  2. Type sudo apt-get remove –purge alsa-base pulseaudio and press Enter.
  3. If it asks you to continue, type y and press Enter. Wait for the process to finish.
  4. Once done, type sudo apt-get install alsa-base pulseaudio and press Enter.
  5. Restart the microphone and check if it already works.

Solution 5 – Configure alsamixer

  1. Open the terminal.
  2. Type alsamixer and press Enter. You will be presented with a GUI that looks like a mixer but still in the terminal window.
  3. Use the right arrow key on your keyboard to browse to the microphone. The font color of the currently selected setting will change to red.
  4. Once you’re on the microphone, press M on your keyboard to toggle Mute. MM means muted while 00 means enabled.
  5. To increase or decrease the gain, you may use either of the following:
    1. up and down arrow keys
    2. page up and page down keys
    3. scroll wheel on your mouse
  6. Press Esc on your keyboard and then try your microphone again.

Solution 6 – Selecting a device under Recording tab in PulseAudio Volume Control

  1. Open the terminal.
  2. Type pavucontrol and press Enter. If it says command not found, it just means that you still have to install it. To install:
    1. Go to this website: https://www.ubuntuupdates.org/package/core/jammy/universe/base/pavucontrol
    2. Under the Download “pavucontrol” section, click the 64 bit deb package button.
    3. Once downloaded, click the downloaded file from your browser.
    4. A dialog will appear asking you to choose how to open the file. Click Software Install and then click Open.
    5. A new window should appear after a couple of seconds displaying the PulseAudio Volume Control.
    6. Click Install.
    7. A dialog will appear where you will enter your password. Type your password and click Authenticate. Wait for several seconds while the installation proceeds.
    8. Once done, go again to the terminal and type pavucontrol and press Enter.
  3. The Volume Control window will appear. You may want to expand the window or maximize it for better visibility.
  4. Click the Input Devices tab and double-check if the device is muted or if the volume is too low.
  5. Once verified, click the Recording tab.
  6. If you do not see anything, open an application that you wish to use for your microphone, e.g. Skype.
  7. If you do a test call on Skype, you will now see Skype under the Recording tab.
  8. There is a drop-down button on the right side where you can select a device. Select your microphone accordingly.
  9. Once done, you may now test your microphone.

Solution 6 – Selecting the Analog Stereo Duplex in PulseAudio Volume Control

  1. Open the terminal.
  2. Type pavucontrol and press Enter. If it says command not found, it just means that you still have to install it. Check out the installation steps in Solution 6.
  3. The Volume Control window will appear.
  4. Click the Configuration tab.
  5. Select the Analog Stereo Duplex profile from the drop-down button. “Duplex” means using both output and input, which you need if you want your microphone to work and hear sound at the same time. There are also other options there you can experiment on depending on your sound system.

Solution 7 – Reset PulseAudio Volume Control

  1. Open the terminal.
  2. Type the following:

rm -f ~/.config/pulse/*

sudo killall pulseaudio

  1. The daemon(s) or background processes will restart automatically. You may now run pavucontrol again.
  2. If the above steps still do not solve the issue, log out from the system and log in again.
  3. Open Settings.
  4. On the left pane, click Sound.
  5. Under the Input section, select each available device and try speaking on your microphone. See if the horizontal bar responds for each device. If the bar responds to all of the devices, your microphone should be working properly now.

Solution 8 – Update your BIOS

BIOS (basic input/output system) is the program that runs when you power on your computer. It is responsible for the communication between the operating system and the devices attached to the computer. Therefore, an outdated BIOS may cause problems to your devices. To update your BIOS, go to the Ubuntu website: https://help.ubuntu.com/community/BIOSUpdate

Each computer has its own way of updating the BIOS. There are several tutorial videos on the internet such as these:

If this task is too technical for you, you may bring your laptop to a computer repair shop and ask to update your BIOS.

Solution 9 – Have your computer repaired

If you have a newly bought computer and the microphone just never works after following the suggested solutions above, maybe it is just defective. Consider having your computer repaired or replaced especially if it is still under warranty.

References:

(2020 June 17). UBUNTU (LINUX) MICROPHONE SETTINGS. Online Mic Test. https://www.onlinemictest.com/microphone-settings/ubuntu/