Last visit was: It is currently 22/08/2014, 20:38


All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Suspend problem, pm-utils involved
PostPosted: 15/08/2014, 22:28 
Newbie
Newbie

Joined: 15/08/2014, 21:47
Posts: 2
As smrtg suggested it in samsung-tools-git comments, pm-utils has to be removed from the dependencies: it seems to conflict with systemd's LidSwitch.

With Samsung Tools installed, resuming from a LidSwitch suspend leads back to suspend a few seconds later.
Without Samsung Tools installed, so without pm-utils installed, suspend is working as expected.

AFAIK it would lead to some code refactoring, as VM writeback, Devices Power Management and USB autosuspend are pm-hooks.

Those can be handled by UDEV rules, as described in Arch wiki's Power Saving page.

Powersaving:
Code:
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend" ATTR{power/autosuspend}="2"
ACTION=="add", SUBSYSTEM=="pci", TEST=="power/control", ATTR{power/control}="auto"


DPM:
Code:
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="min_power"


Etc... We can even make them depending on power supply events.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net & kodeki