Thursday, May 2, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 18054  / 3 Years ago, mon, july 12, 2021, 6:56:38

Running a clean install of ubuntustudio 14.04 the suspend and resume works when using the power button or selecting it from the user menu but is not available in the xfce4-power-manager-settings. Only "Lock Screen" or "Nothing" is available for lid close action.



http://docs.xfce.org/xfce/xfce4-power-manager/faq
Suggests that it is likely permissions issue since suspend/resume clearly works.



My single user on a single user system has the following group memberships: username adm cdrom sudo audio dip plugdev lpadmin sambashare



Any suggestions? I'd rather not fry my new hdd because I forgot to suspend and just close the lid.



Updates:




  • Changing "/etc/systemd/logind.conf" settings have no effect.

  • This appears to be a bug in upower https://bugzilla.redhat.com/show_bug.cgi?id=1005234

  • I've confirmed this is not an issue with my hardware on the standard ubuntu desktop (using a live drive)

  • I've confirmed this is not an issue with xubuntu!?! (I had to enable suspend in the xfce4-power-manager-settings but it was an option)

  • Changing kernel to linux-general has no affect.

  • xfce4-power-manager --dump & sudo xfce4-power-mangager --dump




---------------------------------------------------
Xfce power manager version 1.2.0
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: False
Can hibernate: False
Can spin down hard disks: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: True
Authorized to spin down hard disks: False
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True

More From » power-management

 Answers
5

  1. Install pm-utils



    sudo apt-get install pm-utils

  2. Reboot




Reference: [Solved] Issues with xfce4-power-manager-1.2.0



Discussion resume that: upower is relying on pm-utils to check for suspend/hibernate capability.



The broken link in the reference page should point to related bug report:
Debian bug#639754 [upower] upower doesn't verify correctly the "suspend" and "hibernate" capabilities correctly



Not sure about this as upower package has Depends: pm-utils | systemd | systemd-services. I thought they should be alternatives. So may be there is other solution using systemd-services which is installed by default.


[#25466] Tuesday, July 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enytidge

Total Points: 169
Total Questions: 105
Total Answers: 107

Location: Papua New Guinea
Member since Tue, Aug 24, 2021
3 Years ago
enytidge questions
Tue, Feb 28, 23, 15:26, 1 Year ago
Sun, Jan 1, 23, 19:36, 1 Year ago
Sun, Oct 24, 21, 07:30, 3 Years ago
Wed, Nov 9, 22, 22:02, 2 Years ago
;