Linux Lite A.I. Services are now live! https://www.linuxliteos.com/shop.html


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Black screen after sleep. Asus EEE1025
#19
(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.
Read the manual.
Code:
man pm-suspend
Thanks - Didn't know about the manual..

Quote:try running sudo pm-suspend with some of the quirks
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.
Code:
gksu leafpad /etc/pm/config.d/my-quirk
containing
Code:
ADD_PARAMETERS="pm-suspend --quirk-vbe-post --quirk-vbemode-restore"
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. Smile
Save. After reboot it should work.
Testing a quirk seems to work initially but after creating the "my-quirk" file it no longer works..
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
Or should I have a separate my-quirk for each function
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.
Code:
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
Is this another way to suspend the vs pm-suspend? I tested with by closing the lid Smile

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
Reply


Messages In This Thread
Black screen after sleep. Asus EEE1025 - by jas - 03-16-2015, 05:02 PM
Re: Black screen after sleep. Asus EEE1025 - by firenice03 - 09-05-2015, 02:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)