Page 1 of 4

LXQt suspend not working [solved]

Posted: 24 Dec 2014, 01:52
by Ed_P
LXQt 64-bit changes=EXIT

Once LXQt enters the Suspend mode the only way top get out of it is Alt/SysReq REISUB and I loose all my changes. Something is WRONG!




A fix: http://forum.porteus.org/viewtopic.php? ... =30#p31215

Re: LXQt suspend not working

Posted: 24 Dec 2014, 07:51
by fanthom
a) please setup persistent changes (no EXIT: and such)
b) suspend the system
c) reboot to 'always fresh'
d) upload /var/log/messages from your saved changes to pastebin.com

thanks

Re: LXQt suspend not working

Posted: 26 Dec 2014, 17:28
by Ed_P
@fanthom

The /var/log/messages file is almost 956.9 KB, are you sure you need the whole thing?

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# mloop /mnt/sda5/porteus3.1/changes/porteussave.dat
using /dev/loop7

Please wait while i gather some info ....

 #################################
 Your data file has been mounted at: 
/mnt/loop

You can unmount it by typing uloop

Here is a list of the files:
dev  etc  home	mnt  root  tmp	usr  var

root@porteus:/home/guest# ls /mnt/loop/var/log/
ConsoleKit/     cups/     messages.1.gz     secure              wtmp
Xorg.0.log      debug     pm-powersave.log  slim.log
Xorg.0.log.old  dmesg     pm-suspend.log    syslog
cron            messages  porteus-livedbg   wpa_supplicant.log

root@porteus:/home/guest# cp /mnt/loop/var/log /mnt/sda5/porteus3.1/
cp: omitting directory ‘/mnt/loop/var/log’

root@porteus:/home/guest# cp /mnt/loop/var/log/* /mnt/sda5/porteus3.1/log/
cp: omitting directory ‘/mnt/loop/var/log/ConsoleKit’
cp: omitting directory ‘/mnt/loop/var/log/cups’

root@porteus:/home/guest# ls /mnt/sda5/porteus3.1/log/
ConsoleKit/      cups/      messages.1.gz*     secure*              wtmp*
Xorg.0.log*      debug*     pm-powersave.log*  slim.log*
Xorg.0.log.old*  dmesg*     pm-suspend.log*    syslog*
cron*            messages*  porteus-livedbg*   wpa_supplicant.log*

root@porteus:/home/guest# ls -s /mnt/sda5/porteus3.1/log
total 2876
  0 ConsoleKit/       48 dmesg*              40 secure*
 44 Xorg.0.log*      960 messages*            4 slim.log*
 44 Xorg.0.log.old*  140 messages.1.gz*     244 syslog*
  8 cron*              0 pm-powersave.log*   32 wpa_supplicant.log*
  0 cups/              4 pm-suspend.log*    552 wtmp*
752 debug*             4 porteus-livedbg*
root@porteus:/home/guest# 
 

Re: LXQt suspend not working

Posted: 26 Dec 2014, 21:55
by fanthom
yes - please upload it to some online storage or better (privacy wise) send it directly to me on fanthom@porteus.org

thanks

Re: LXQt suspend not working

Posted: 28 Dec 2014, 06:08
by Ed_P
fanthom wrote:send it directly to me on fanthom@porteus.org
It's on my Google Drive and you should have gotten an email for it yesterday.

Re: LXQt suspend not working

Posted: 28 Dec 2014, 21:47
by fanthom
@Ed_P
unfortunately i see nothing wrong in the log file. no single line of error or anything suspicious.
please remaster the ISO you are booting from and use older kernel from porteus release which is suspending ok on your PC. you have to replace vmlinuz and 000-kernel.xzm only.

Re: LXQt suspend not working

Posted: 28 Dec 2014, 22:55
by Ed_P
Thanks fanthom. Not a major problem. I'll keep 3.0.1 RazorQt as my primary until 3.2 LXQt comes out. But it will be a potential problem for other noteboook/netbook users that come along.

Re: LXQt suspend not working

Posted: 30 Dec 2014, 07:07
by Ed_P
I've got to see if this thread relates to this situation. Can't right now, got a different problem to fight at the moment.

http://forum.porteus.org/viewtopic.php? ... 333#p21333

Re: LXQt suspend not working

Posted: 17 Jan 2015, 00:56
by Ed_P
Nope. Tried the acpi_handler.sh shown in
http://forum.porteus.org/viewtopic.php? ... =30#p21466 and it had no impact.

I open the lid, tap the mousepad, the screen goes from black to blank and nothing still. Have to alt+sys res+r e i s u b to reboot.

And this does nothing also.

Code: Select all

root@porteus:/home/guest# /etc/acpi/acpi_handler.sh button lid close
root@porteus:/home/guest# 

Re: LXQt suspend not working

Posted: 17 Jan 2015, 13:51
by brokenman
I also have this problem on one of my machines with XFCE sleep. When it awakes I have no mouse or keyboard. I am sure it varies from machine to machine so very difficult to find a universal solution.

Re: LXQt suspend not working

Posted: 17 Jan 2015, 16:21
by francois
Tested in root mode, always fresh, save changes mode. On one hand suspend works perfectly on my toshiba z930 laptop.

On another hand, for the hibernate function, the resume cheatcode which I used for the first time this week is essential for the hibernate function to restore desktop environment. But maybe everyone knows that.

To resume lxqt in suspend mode, I hit the power button.

Ed, how do you trigger the suspend function?

Re: LXQt suspend not working

Posted: 17 Jan 2015, 23:58
by Ed_P
brokenman wrote:I also have this problem on one of my machines with XFCE sleep. When it awakes I have no mouse or keyboard. I am sure it varies from machine to machine so very difficult to find a universal solution.
Yes, but this is the same machine that suspend has worked on with Porteus RazorQt 2.1, 3.0 and 3.0.1. And the keyboard works, it's how I get from the black, non-powered, screen to the blank, on but no image, screen.
francois wrote:the resume cheatcode which I used for the first time this week is essential for the hibernate function to restore desktop environment.
I've never used it before. But will check into it. Thanks.
To resume lxqt in suspend mode, I hit the power button.
I'm sure I've tried that but don't remember specifically.
Ed, how do you trigger the suspend function?
I close the lid of my netbook.

Re: LXQt suspend not working

Posted: 18 Jan 2015, 02:14
by francois
I imagine that you know about the resume cheatcode. You will have to specify the the swapfile:
resume=sdxy (where sdxy is a swapfile).

Re: LXQt suspend not working

Posted: 18 Jan 2015, 02:19
by francois
Testing suspend on lid close. It works for me.

lxqt panel menu > preferences > lxqt system settings > power management > lid > action when lid close > suspend (for every choices, the four of them)

:twisted:

Re: LXQt suspend not working

Posted: 18 Jan 2015, 05:59
by Ed_P
francois wrote: suspend (for every choices, the four of them)
Whoa!! Image

I changed the "When using external monitor" options to "Suspend" also, closed the lid, waited, opened the lid, tapped the mouse pad, no reaction, pressed the Esc key and Voila!! I'm back.

Have to test some more but this may be working. Thanks francois. :beer:

But this still doesn't.

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# /etc/acpi/acpi_handler.sh button lid close
root@porteus:/home/guest# 
Image Not that it matters but curious.