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
#1
using power manager (screensaver is inactive)
AC settings
lock computer when lid is closed.
turn off = never

bug.
close lid.
open lid, should see password screen,
pw screen screen may show briefly then system goes to sleep.
have tap power button to awake system.
password screen may appear or a blank screen,
if blank screen,have to power button again to get password screen back up

laptop hp nc4400
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
Reply
#2
Hi Galen,

Please confirm if you are running Linux Lite 1.0.8?

Thanks
Scott
[Image: q7j1yAl.png]
Reply
#3
2.2
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
Reply
#4
still a bug in LL 2.4 on HP nc4400
after returning from a suspend (lid close set to suspend)
login manager appears but quite dark,
after password entry screen goes black,
nothing revives nor wakes the screen.
Sometimes going blindly to a terminal tty1 and ctrl-alt-del the system will reboot
other times the system will hang and power switch does nothing.
That hard lock requires power and battery removal.

Lite locker is not used.
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
Reply
#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
#6
Hello!

Well, the 'quirk-radeon-off' worked for me - no 'nomodeset' needed. I tried using nomodeset, and it threw me back to the default video driver and 1024x768 resolution, so I turned it back off again.

I will try some of these 'quirks' on some of the other laptops I have that misbehave when the lid closes...

73 DE N4RPS
Rob


[Image: EtYqOrS.png%5D]

A gun in your hand is worth more than a whole police force on the phone.
Reply
#7
thanks misko that was great information

I tried many quirks and the system returned healthy from many suspends.
I added my-quirk
Did not use nomodeset.

Still buggy when lid is closed.
What else could over riding the power management ?
Checked /var/log/pm-powersave.log
dmesg etc..
nothing is showing a fail.

If I close the lid, the system comes back buggy whether lock lid or suspend is used.
I'll dig so more
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
Reply
#8
(05-05-2015, 10:56 PM)N4RPS link Wrote: Hello!

Well, the 'quirk-radeon-off' worked for me - no 'nomodeset' needed. I tried using nomodeset, and it threw me back to the default video driver and 1024x768 resolution, so I turned it back off again.
Glad it worked for you and thank you for letting me know `nomodeset` isn't needed.
Quirk sounds nicer than a `hack`Wink
(05-06-2015, 12:38 PM)galen link Wrote: thanks misko that was great information

I tried many quirks and the system returned healthy from many suspends.
I added my-quirk
Did not use nomodeset.

Still buggy when lid is closed.
What else could over riding the power management ?
Checked /var/log/pm-powersave.log
dmesg etc..
nothing is showing a fail.

If I close the lid, the system comes back buggy whether lock lid or suspend is used.
I'll dig so more
No problem Galen. I learned something along the way.
What else could over riding the power management ?
Nothing I can think of. Have you tried different kernel?
Check the BIOS settings, maybe changing something in there would help.
Or maybe just updating microcode would help (not sure).
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)