LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
power manager, laptop lid locking bugs
#5
Hello Galen,

Made some research on this.
From the pm-utils
Code:
man pm-suspend
try running sudo pm-suspend with some of the quirks
For example:
Code:
sudo pm-suspend --quirk-vbe-post --quirk-vbemode-restore
or
Code:
sudo pm-suspend --quirk-reset-brightness
or
Code:
sudo pm-suspend --quirk-dpms-on
All the quirks:
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
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.
Code:
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
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:
Code:
sudo nano /etc/default/grub
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
Code:
sudo update-grub
to implement the changes. Then restart.
After that you can verify that
Code:
cat /proc/cmdline
contains nomodeset.
Reply


Messages In This Thread
power manager, laptop lid locking bugs - by galen - 03-03-2015, 04:39 PM
Re: power manager, laptop lid locking bugs - by misko_2083 - 05-05-2015, 02:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)