Skip to content

Instantly share code, notes, and snippets.

@overengineer
Last active January 8, 2023 01:22
Show Gist options
  • Select an option

  • Save overengineer/077602185e522ca0f135abbc0474a6dc to your computer and use it in GitHub Desktop.

Select an option

Save overengineer/077602185e522ca0f135abbc0474a6dc to your computer and use it in GitHub Desktop.

Revisions

  1. overengineer revised this gist Jan 8, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -16,4 +16,4 @@ sudo reboot

    # tried deleting pulseaudio not work

    # tried Adding 'options snd-hda-intel dmic_detect=0' to /etc/modprobe.d/alsa-base.conf
    # tried Adding 'options snd-hda-intel-tgl dmic_detect=0' to /etc/modprobe.d/alsa-base.conf which didnt work
  2. overengineer revised this gist Jan 8, 2023. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -14,4 +14,6 @@ sudo reboot
    # sudo systemctl disable --global pipewire
    # then delete .config/pulse

    # trying deleting pulseaudio not work
    # tried deleting pulseaudio not work

    # tried Adding 'options snd-hda-intel dmic_detect=0' to /etc/modprobe.d/alsa-base.conf
  3. overengineer revised this gist Jan 8, 2023. 1 changed file with 1 addition and 8 deletions.
    9 changes: 1 addition & 8 deletions matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -14,11 +14,4 @@ sudo reboot
    # sudo systemctl disable --global pipewire
    # then delete .config/pulse

    # trying deleting pulseaudio:)
    Removing gstreamer1.0-pulseaudio:amd64 (1.20.3-0ubuntu1) ...
    Removing indicator-sound (12.10.2+18.10.20180612-0ubuntu4) ...
    Removing libcanberra-pulse:amd64 (0.30-10ubuntu1) ...
    Removing pulseaudio-module-bluetooth (1:15.99.1+dfsg1-1ubuntu2) ...
    Removing pulseaudio (1:15.99.1+dfsg1-1ubuntu2) ...
    Removing pulseaudio-utils (1:15.99.1+dfsg1-1ubuntu2) ...
    Removing xfce4-pulseaudio-plugin:amd64 (0.4.3-1) ...
    # trying deleting pulseaudio not work
  4. overengineer revised this gist Jan 8, 2023. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,13 @@ sudo reboot

    # tried this didnt work
    # sudo systemctl disable --global pipewire
    # then delete .config/pulse
    # then delete .config/pulse

    # trying deleting pulseaudio:)
    Removing gstreamer1.0-pulseaudio:amd64 (1.20.3-0ubuntu1) ...
    Removing indicator-sound (12.10.2+18.10.20180612-0ubuntu4) ...
    Removing libcanberra-pulse:amd64 (0.30-10ubuntu1) ...
    Removing pulseaudio-module-bluetooth (1:15.99.1+dfsg1-1ubuntu2) ...
    Removing pulseaudio (1:15.99.1+dfsg1-1ubuntu2) ...
    Removing pulseaudio-utils (1:15.99.1+dfsg1-1ubuntu2) ...
    Removing xfce4-pulseaudio-plugin:amd64 (0.4.3-1) ...
  5. overengineer revised this gist Jan 8, 2023. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -10,5 +10,6 @@ sudo reboot
    # tried boot options here, brings back to dummy audio:
    # https://forum.manjaro.org/t/no-sound-on-laptop-with-intel-tiger-lake-hd-audio-audio-hardware-not-detected/84964/13

    # trying this:
    sudo systemctl disable --global pipewire
    # tried this didnt work
    # sudo systemctl disable --global pipewire
    # then delete .config/pulse
  6. overengineer revised this gist Jan 8, 2023. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,10 @@ cd sof-bin-v2.2.4
    sudo ./install.sh v2.2.4
    sudo reboot

    # now speaker is visible but still no sound
    # now speaker is visible but still no sound

    # tried boot options here, brings back to dummy audio:
    # https://forum.manjaro.org/t/no-sound-on-laptop-with-intel-tiger-lake-hd-audio-audio-hardware-not-detected/84964/13

    # trying this:
    sudo systemctl disable --global pipewire
  7. overengineer revised this gist Jan 8, 2023. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@ wget https://github.com/thesofproject/sof-bin/releases/download/v2.2.4/sof-bin-v
    tar -xvf sof-bin-v2.2.4.tar.gz
    cd sof-bin-v2.2.4
    sudo ./install.sh v2.2.4
    sudo reboot
    sudo reboot

    # now speaker is visible but still no sound
  8. overengineer revised this gist Jan 8, 2023. No changes.
  9. overengineer created this gist Jan 8, 2023.
    6 changes: 6 additions & 0 deletions matebook-fix.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    sudo mv /lib/firmware/intel/sof* sof-backup
    wget https://github.com/thesofproject/sof-bin/releases/download/v2.2.4/sof-bin-v2.2.4.tar.gz
    tar -xvf sof-bin-v2.2.4.tar.gz
    cd sof-bin-v2.2.4
    sudo ./install.sh v2.2.4
    sudo reboot