![]() |
power manager, laptop lid locking bugs - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20) +--- Thread: power manager, laptop lid locking bugs (/showthread.php?tid=1606) |
power manager, laptop lid locking bugs - galen - 03-03-2015 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 Re: power manager, laptop lid locking bugs - Scott(0) - 03-03-2015 Hi Galen, Please confirm if you are running Linux Lite 1.0.8? Thanks Scott Re: power manager, laptop lid locking bugs - galen - 04-08-2015 2.2 Re: power manager, laptop lid locking bugs - galen - 05-04-2015 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. Re: power manager, laptop lid locking bugs - anon222 - 05-05-2015 Hello Galen, 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 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. ![]() 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/oneiric/man8/pm-action.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/power/video.txt and acpi_sleep kernel parameters here https://www.kernel.org/doc/Documentation/kernel-parameters.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 Re: power manager, laptop lid locking bugs - N4RPS - 05-05-2015 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 Re: power manager, laptop lid locking bugs - galen - 05-06-2015 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 Re: power manager, laptop lid locking bugs - anon222 - 05-07-2015 (05-05-2015, 10:56 PM)N4RPS link Wrote: Hello!Glad it worked for you and thank you for letting me know `nomodeset` isn't needed. Quirk sounds nicer than a `hack` ![]() (05-06-2015, 12:38 PM)galen link Wrote: thanks misko that was great informationNo 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). |