Skip to content

Instantly share code, notes, and snippets.

@onlurking
Last active July 21, 2024 05:44
Show Gist options
  • Select an option

  • Save onlurking/1eebe30b43f66e8b84d9db25d5b529ac to your computer and use it in GitHub Desktop.

Select an option

Save onlurking/1eebe30b43f66e8b84d9db25d5b529ac to your computer and use it in GitHub Desktop.

Revisions

  1. onlurking revised this gist Dec 21, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dell-vostro-5490-sound-fix.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ blacklist snd_soc_skl

    ---------------------

    If you already tried to tweak `/etc/modprobe.d/alsa-base.conf` in attempt to fix the problem, comment out everything:
    If you already tried to tweak `/etc/modprobe.d/alsa-base.conf` in attempt to fix the problem, comment out all the tweaks you've done, for example:
    ```
    # options snd-hda-intel dmic_detect=0
    # options snd-hda-intel enable_msi=1
  2. onlurking renamed this gist Dec 21, 2020. 1 changed file with 18 additions and 2 deletions.
    20 changes: 18 additions & 2 deletions vostro-5490-sound-fix.md → dell-vostro-5490-sound-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Vostro 5490 Sound and Microphone Fix (Manjaro/Arch Linux)

    Instal sof-firmware as described in [Arch Linux Wiki](https://wiki.archlinux.org/index.php/Laptop/Dell#Vostro):
    Instal `sof-firmware` as described in [Arch Linux Wiki](https://wiki.archlinux.org/index.php/Laptop/Dell#Vostro):

    ```shell
    sudo pacman -S sof-firmware
    @@ -38,4 +38,20 @@ shellblacklist snd_hda_intel
    blacklist snd_soc_skl
    ```

    - Source: https://gist.github.com/hamidzr/dd81e429dc86f4327ded7a2030e7d7d9
    - Source: https://gist.github.com/hamidzr/dd81e429dc86f4327ded7a2030e7d7d9

    ---------------------

    If you already tried to tweak `/etc/modprobe.d/alsa-base.conf` in attempt to fix the problem, comment out everything:
    ```
    # options snd-hda-intel dmic_detect=0
    # options snd-hda-intel enable_msi=1
    # options snd-hda-intel index=1
    # options snd-hda-intel model=dell-m42 probe_mask=1 position_fix=1
    # options snd-hda-intel model=dell-vostro
    # options snd-hda-intel model=dell-vostro-5490 enable=1 index=0
    # options snd-hda-intel model=generic
    # options snd-hda-intel model=headset-mic
    # options snd-hda-intel snd-intel-dspcfg.dsp_driver=1
    # options snd-pcsp index=-2
    ```
  3. onlurking revised this gist Dec 21, 2020. 1 changed file with 11 additions and 13 deletions.
    24 changes: 11 additions & 13 deletions vostro-5490-sound-fix.md
    Original file line number Diff line number Diff line change
    @@ -6,14 +6,7 @@ Instal sof-firmware as described in [Arch Linux Wiki](https://wiki.archlinux.org
    sudo pacman -S sof-firmware
    ```

    Blacklist some modules in `/etc/modprobe.d/blacklist.conf`:

    ```
    shellblacklist snd_hda_intel
    blacklist snd_soc_skl
    ```

    Configure pulseaudio in `/etc/pulse/default.pa`:
    Configure PulseAudio to load Alsa modules with the correct device and channel settings, by adding these two lines to `/etc/pulse/default.pa`:

    ```
    load-module module-alsa-sink device=hw:0,0 channels=2
    @@ -32,12 +25,17 @@ Open a terminal and configure the alsamixer to use the `sof-firmware`:
    alsamixer
    ```

    Press <kbd>F6</kbd>

    Select `sof-hda-dsp`.
    Press <kbd>F6</kbd>, and select `sof-hda-dsp`.

    Store this configuration as default (to persist in the next boot):

    ```shell
    sudo alsactl store
    ```
    ```

    If you do not see `sof-hda-dsp` in `alsamixer`, blacklist some modules in `/etc/modprobe.d/blacklist.conf`:
    ```
    shellblacklist snd_hda_intel
    blacklist snd_soc_skl
    ```

    - Source: https://gist.github.com/hamidzr/dd81e429dc86f4327ded7a2030e7d7d9
  4. onlurking created this gist Dec 21, 2020.
    43 changes: 43 additions & 0 deletions vostro-5490-sound-fix.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    # Vostro 5490 Sound and Microphone Fix (Manjaro/Arch Linux)

    Instal sof-firmware as described in [Arch Linux Wiki](https://wiki.archlinux.org/index.php/Laptop/Dell#Vostro):

    ```shell
    sudo pacman -S sof-firmware
    ```

    Blacklist some modules in `/etc/modprobe.d/blacklist.conf`:

    ```
    shellblacklist snd_hda_intel
    blacklist snd_soc_skl
    ```

    Configure pulseaudio in `/etc/pulse/default.pa`:

    ```
    load-module module-alsa-sink device=hw:0,0 channels=2
    load-module module-alsa-source device=hw:0,6 channels=2
    ```

    Reboot your computer:

    ```
    sudo reboot 0
    ```

    Open a terminal and configure the alsamixer to use the `sof-firmware`:

    ```shell
    alsamixer
    ```

    Press <kbd>F6</kbd>

    Select `sof-hda-dsp`.

    Store this configuration as default (to persist in the next boot):

    ```shell
    sudo alsactl store
    ```