09-05-2015, 02:54 PM
(09-04-2015, 06:41 PM)misko_2083 link Wrote: On some hardware putting the video card in the suspend state and recovering from it needs some special quirk handling.Thanks - Didn't know about the manual..
Read the manual.
Code:man pm-suspend
Quote:try running sudo pm-suspend with some of the quirksTesting a quirk seems to work initially but after creating the "my-quirk" file it no longer works..
For example:
Code:sudo pm-suspend --quirk-reset-brightness
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.
containingCode:gksu leafpad /etc/pm/config.d/my-quirk
to make the quirk stick. Just use the parameters that work for you.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.![]()
Save. After reboot it should work.
Does the my-quirk file need referenced in a script or ?? (Like adding to grub to activate the file - just as an example)
Can the quirk file have multiple lines of parameters like:
Code:
ADD_PARAMETERS=pm-suspend --quirk-reset-brightness
ADD_PARAMETERS=pm-hibernate --quirk-reset-brightness
I know I can string additional quirks on a line
Code:
sudo pm-suspend --quirk-vbe-post --quirk-vbemode-restore
Quote:You can put the pc to suspend without sudo with dbus-send.Is this another way to suspend the vs pm-suspend? I tested with by closing the lid
Code:dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend

Thanks again!!
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2