05-05-2015, 02:12 PM
Hello Galen,
Made some research on this.
From the pm-utils
try running sudo pm-suspend with some of the quirks
For example:
or
or
All the quirks:
The trick is finding the right combination. It could be just one parameter or several.
When you find the right quirk. Test your system to see if all is running OK.
From the manual, to save it create a file in /etc/pm/config.d/
Name it anyway you like.
containing to make the quirk stick. Just use the parameters that work for you.
Which quirk works depends on your hardware, kernel, driver, KMS settings and the probably the phase of the moon.
Save. After reboot it should work.
UPower should use those parameters.
Some usefull links:
https://wiki.archlinux.org/index.php/Pm-utils
http://manpages.ubuntu.com/manpages/onei...ion.8.html
https://wiki.ubuntu.com/UnderstandingSuspend
Hope that helps.
I got this mostly from reading the manuals. Also I've had a look on this:
https://www.kernel.org/doc/Documentation.../video.txt
and acpi_sleep kernel parameters here
https://www.kernel.org/doc/Documentation...meters.txt
EDIT: I forgot to mention you need nomodeset for this to work.
Do this first:
and then adding nomodeset to the line which reads GRUB_CMDLINE_LINUX_DEFAULT Then close nano saving the modifications (Ctrl+x, y, enter)
and then finally to implement the changes. Then restart.
After that you can verify that contains nomodeset.
Made some research on this.
From the pm-utils
Code:
man pm-suspend
For example:
Code:
sudo pm-suspend --quirk-vbe-post --quirk-vbemode-restore
Code:
sudo pm-suspend --quirk-reset-brightness
Code:
sudo pm-suspend --quirk-dpms-on
Code:
--quirk-dpms-on
--quirk-dpms-suspend
--quirk-radeon-off
--quirk-reset-brightness
--quirk-s3-bios
--quirk-s3-mode
--quirk-vbe-post
--quirk-vbemode-restore
--quirk-vbestate-restore
--quirk-vga-mode-3
--quirk-none
When you find the right quirk. Test your system to see if all is running OK.
From the manual, to save it create a file in /etc/pm/config.d/
Name it anyway you like.
Code:
gksu leafpad /etc/pm/config.d/my-quirk
Code:
ADD_PARAMETERS="pm-suspend --quirk-vbe-post --quirk-vbemode-restore"
Which quirk works depends on your hardware, kernel, driver, KMS settings and the probably the phase of the moon.
![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)
Save. After reboot it should work.
Code:
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
Some usefull links:
https://wiki.archlinux.org/index.php/Pm-utils
http://manpages.ubuntu.com/manpages/onei...ion.8.html
https://wiki.ubuntu.com/UnderstandingSuspend
Hope that helps.
I got this mostly from reading the manuals. Also I've had a look on this:
https://www.kernel.org/doc/Documentation.../video.txt
and acpi_sleep kernel parameters here
https://www.kernel.org/doc/Documentation...meters.txt
EDIT: I forgot to mention you need nomodeset for this to work.
Do this first:
Code:
sudo nano /etc/default/grub
and then finally
Code:
sudo update-grub
After that you can verify that
Code:
cat /proc/cmdline