Project

General

Profile

Bug #12270

Default MATE power management settings shouldn't cause suspend

Added by Hans Rosenfeld 18 days ago. Updated 3 days ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Suspend/resume is not working reliably on modern hardware, in most cases suspending will just lock up the system. Consequently the default settings for MATE should not cause a suspend (like, when closing the lid of a laptop).

History

#1

Updated by Alexander Pyhalov 5 days ago

Mate-power-manager reiles on ConsoleKit here to determine if system can be suspended. And ConsoleKit just uses

can_suspend = ((uadmin(A_FREEZE, AD_CHECK_SUSPEND_TO_RAM, 0) == 0)? TRUE: FALSE) 
can_hibernate = ((uadmin(A_FREEZE, AD_CHECK_SUSPEND_TO_DISK, 0) == 0)? TRUE: FALSE) 
.

Should we support a black or whitelist of capable-to-suspend hardware in ConsoleKit or in base system? I'm not sure.

#2

Updated by Alexander Pyhalov 5 days ago

  • Subject changed from default MATE power management settings shouldn't cause suspend to Default MATE power management settings shouldn't cause suspend
#3

Updated by Alexander Pyhalov 3 days ago

  • Status changed from New to Resolved

Default settings should be fixed by https://github.com/OpenIndiana/oi-userland/pull/5546

Also available in: Atom PDF