Skip to content

Instantly share code, notes, and snippets.

@SajadJalilian
Forked from Therises/fix_mic_lenovo320.md
Created March 5, 2023 21:28
Show Gist options
  • Select an option

  • Save SajadJalilian/eea5a99776e5298dc0da22ea2daeda1d to your computer and use it in GitHub Desktop.

Select an option

Save SajadJalilian/eea5a99776e5298dc0da22ea2daeda1d to your computer and use it in GitHub Desktop.

Revisions

  1. @Therises Therises revised this gist Mar 1, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ Find your source name from the following command; mine is `alsa_input.pci-0000_0
    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`
    `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:

  2. @Therises Therises revised this gist Mar 1, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ Find your source name from the following command; mine is `alsa_input.pci-0000_0
    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`
    `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:

  3. @Therises Therises revised this gist Mar 1, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ Find your source name from the following command; mine is `alsa_input.pci-0000_0
    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`
    - `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:

  4. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 7 additions and 8 deletions.
    15 changes: 7 additions & 8 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,18 @@
    ### In `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf` and `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf`,

    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`
    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:

    - 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`
    -`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:
    Then restart PulseAudio:

    $ pulseaudio -k
    $ pulseaudio --start
  5. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    - In `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf` and `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf`,
    ### 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`.
  6. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@

    - 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'
    $ 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:

    @@ -15,5 +15,5 @@ $ pacmd list-sources | grep 'name:.*input'

    - Then restart PulseAudio:

    `pulseaudio -k`
    `pulseaudio --start`
    $ pulseaudio -k
    $ pulseaudio --start
  7. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,7 @@

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

    ``` sh
    pacmd list-sources | grep 'name:.*input'
    ```
    $ 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:

  8. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 10 additions and 8 deletions.
    18 changes: 10 additions & 8 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,21 @@
    # In `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf` and `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf`,
    - 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`
    - 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`
    - 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'`
    ``` sh
    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:
    - 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:
    - Then restart PulseAudio:

    `pulseaudio -k`
    `pulseaudio --start`
  9. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 9 additions and 9 deletions.
    18 changes: 9 additions & 9 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,19 @@
    #In `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf` and `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf`,
    # 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`
    # 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`
    # 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:
    # 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```
    `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:
    # Then restart PulseAudio:

    `pulseaudio -k`
    `pulseaudio --start`
  10. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,19 @@
    In `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf` and `/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf`,
    #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`
    #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`
    #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:
    #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:
    #Then restart PulseAudio:
    `pulseaudio -k`
    `pulseaudio --start`
  11. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    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`
    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`

  12. @Therises Therises revised this gist Feb 8, 2019. No changes.
  13. @Therises Therises revised this gist Feb 8, 2019. No changes.
  14. @Therises Therises revised this gist Feb 8, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions fix_mic_lenovo320.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    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`
    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`

  15. @Therises Therises revised this gist Feb 8, 2019. No changes.
  16. @Therises Therises renamed this gist Feb 8, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  17. @Therises Therises created this gist Feb 8, 2019.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    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`