LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2016, 08:37 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
GUI suspend / hibernate not working


Slack64 Current Multilib XFCE
The GUI suspend / hibernate options (XFCE 4.10 Power Manager, XFCE 4.12 Logout Popup) do not work, whereas previously they did. The CLI pm-{suspend,hibernate} commands still work OK.
Also on my Acer laptop the XFCE 4.10 Power Manager shows "Adapter is online" irrespective of whether or not the adapter is online. Previously the battery percentage and estimated time left were shown.

By pure chance I still have a Slack64 Current Multilib XFCE updated up to and including Fri Feb 26 2016 available. In there the above problems do not occur. When looking at the changelog for the later updates the Fri Mar 4 upower #3 rebuild seemed like an obvious cause. So I fell back on the upower #2 build and lo and behold everything works again.
 
Old 03-11-2016, 04:52 AM   #2
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Hi, FWIW, in my case, on xfce with build 3 of upower-0.9.23 on slackware64-current, suspend works. My laptop has on-board graphics. Could it be that some application is still running on the desktop that prevents the suspend...

The Xfce Power Manager panel applet has an extra tickbox (in settings -> general -> appearance) "show system tray icon" and I turn that off (because the system-tray sits next to the applet on my panel-layout). That systray-icon always shows a cord with a plug (in my case) whereas the applet-icon indicates the status of battery vs online-&-charging. The applet-icon changes when pulling the plug... Could it be that on your acer you only have the systray-icon and not the applet icon visible?

EdIT: could setting the "presentation-mode" to 'on' cause this? Before, it never seemed to do anything for me, but I haven't tested this properly since all updates

Last edited by brobr; 03-11-2016 at 05:35 AM.
 
Old 03-11-2016, 05:05 AM   #3
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Hi, I'm running slackware64 14.1. When running the stock 3.10.17 kernel, hibernation and suspend works perfectly.
I was going to report when I saw this post that 4.4.x and 4.5.0 kernels do not have proper hibernation and suspend. The applications get ``shuts down ` but not the hardware, the wifi is still on, X is not running but the screen is still not off. I have to shut down and reboot to have a working environment.

I still have to test my own custom linux kernel.
 
Old 03-12-2016, 05:20 AM   #4
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
@brobr: I still use(d) the xfce4-power-manager (PM for short) 1.2.0 from XFCE 4.10 because its systray icon supports suspend/hibernate, whereas the PM 1.4.4 from XFCE 4.12 no longer does so.

PM 1.2.0 only has a systray icon. With upower 0.9.23 #3 the suspend/hibernate options are greyed out and no battery % is shown, whereas with upower 0.9.23 #2 these options work and a battery % is shown.
PM 1.4.4 has a systray icon as well as a panel applet. With upower 0.9.23 #3 both show no battery %, whereas with upower 0.9.23 #2 the systray icon still does not, but the applet icon does!

The suspend/hibernate buttons of the XFCE Logout popup do not give a discernable result with upower 0.9.23 #3, whereas with upower 0.9.23 #2 they work as expected.
In both cases the CLI pm-{suspend,hibernate} commands work as expected.

@jheengut: I am running 4.4.x kernels from rc5 onwards and never experienced the suspend/hibernation symptoms you describe. Maybe the fact that you run 14.1 and I run Current is relevant here.
 
Old 03-14-2016, 01:20 AM   #5
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by burdi01 View Post

@jheengut: I am running 4.4.x kernels from rc5 onwards and never experienced the suspend/hibernation symptoms you describe. Maybe the fact that you run 14.1 and I run Current is relevant here.

Dunno, but this afternoon, as soon as the kernel-4.4.5 kernel is installed, I will test on slackware-current on my laptop.
Does this mean that suspend is not only dependant of kernel but the userland tools too?
 
Old 03-14-2016, 04:18 AM   #6
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
@jheengut:
Quote:
Does this mean that suspend is not only dependant of kernel but the userland tools too?
I do not know about the kernel (though I think it is quite possible for this to be true), but certainly there is a dependency on the userland -- at least on upower, as this thread shows. Slack64 14.1 has upower 0.9.17, whereas for Current the problem arose with a rebuild of upower 0.9.23.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
jack not working after hibernate/suspend P5music Linux - Software 1 12-04-2010 07:50 PM
networking stops working after suspend/hibernate on Ubuntu 10.10 tihcra Linux - Networking 3 10-28-2010 08:54 AM
hibernate and suspend option not working in fedora 8 av.dubey Linux - Newbie 2 06-24-2008 06:25 PM
Hibernate / Suspend Not Working - Gnome Power Manager ls37 Linux - Newbie 5 12-30-2007 01:14 PM
Wireless not working after suspend/hibernate fatbeaver SUSE / openSUSE 9 04-26-2006 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration