Skip to content

Instantly share code, notes, and snippets.

@Mr-Saxobeat
Forked from Therises/fix_mic_lenovo320.md
Created April 30, 2021 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mr-Saxobeat/406e51209a00f7535c7f5538893aaa65 to your computer and use it in GitHub Desktop.
Save Mr-Saxobeat/406e51209a00f7535c7f5538893aaa65 to your computer and use it in GitHub Desktop.
Fix microphone on Lenovo IdeaPad 320 on Ubuntu 18.04

In /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf and /usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf:

  • Under [Element Internal Mic Boost] set volume to zero.
  • Under [Element Int Mic Boost] set volume to zero.
  • Under [Element Mic Boost] set volume to zero

Find your source name from the following command; mine is alsa_input.pci-0000_00_1f.3.analog-stereo

  $ pacmd list-sources | grep 'name:.*input'

Edit /etc/pulse/default.pa and add the following lines, where INPUT_NAME is name of the input source from above step:

`load-module module-remap-source source_name=record_mono master=INPUT_NAME master_channel_map=front-left channel_map=mono`
`set-default-source record_mono`

Then restart PulseAudio:

  $ pulseaudio -k
  $ pulseaudio --start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment