Article 57TJX Need permanent fix for suspend. Suspend doesn't work in Ubuntu 18.04

Need permanent fix for suspend. Suspend doesn't work in Ubuntu 18.04

by
larrymeditates
from LinuxQuestions.org on (#57TJX)
My desktop kept waking up so I found a temporary solution using the terminal:

sudo -s
echo EHC1 > /proc/acpi/wakeup
echo EHC2 > /proc/acpi/wakeup

The only problem is I have to open up a terminal and enter the commands each time.

Does anyone know a permanent fix for this? Thank you!latest?d=yIl2AUoC8zA latest?i=8nbi72STfxo:AgBRlq8nt6o:F7zBnMy latest?i=8nbi72STfxo:AgBRlq8nt6o:V_sGLiP latest?d=qj6IDK7rITs latest?i=8nbi72STfxo:AgBRlq8nt6o:gIN9vFw8nbi72STfxo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments