no sound after suspend 20.1

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound after suspend 20.1

Post by MrEen »

I'm not very skilled at this part, and I want to see i this will work to do the job.

In the terminal run sudo touch /lib/systemd/system-sleep/sound-on followed by xed admin:///lib/systemd/system-sleep/sound-on and when the file opens paste this in:

Code: Select all

#!/bin/sh

case $1 in
  post)
    hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x10
    hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x0020
    ;;
esac
Save and close the file then run sudo chmod +x /lib/systemd/system-sleep/sound-on

Reboot and see if that works. I'm suspecting that isn't good enough, but I could be wrong.
lettebetta
Level 1
Level 1
Posts: 11
Joined: Sun Apr 04, 2021 9:42 am

Re: no sound after suspend 20.1

Post by lettebetta »

ok
now is fixed, works by itself and automatically after wake up
thanks again

eres un crack !!!. saludos
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound after suspend 20.1

Post by MrEen »

Holy moly! :shock:

I'm so glad that worked for you. I tried to find the right way to do it, and so much info is so old I couldn't trust it. I made a modification to some instructions I found for Fedora, and am a bit shocked it worked on the first try! :lol:
Locked

Return to “Sound”