Skip to content

Instantly share code, notes, and snippets.

@rafwell
Forked from Therises/fix_mic_lenovo320.md
Created April 12, 2021 22:39
Show Gist options
  • Save rafwell/5bea1df71ad323e67c74094e0b62547e to your computer and use it in GitHub Desktop.
Save rafwell/5bea1df71ad323e67c74094e0b62547e 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