several utilities and script useful for power management tasks. Questions about how to use, create and administrate the provided shell or scripts.

learn more… | top users | synonyms

7
votes
1answer
3k views

Linux Mint: Hibernate does not work

I have tried hibernate multiple times on my Linux Mint 14. It does not seem to work. I have added some log which I think may be useful. Can someone help me diagnose the problem? laptop model: I: ...
6
votes
3answers
1k views

Where to put scripts that run when computer is resumed?

I need to lock the screen when my computer is waken up from memory suspend, So I tried to put the following script to /usr/lib/pm-utils/sleep.d and /etc/pm/sleep.d, but it never got executed, ...
2
votes
1answer
203 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
2
votes
0answers
37 views

Running script before suspending while using dbus

I have a file: /etc/pm/sleep.d/85rmNvidiaModule. In it I have: #!/bin/bash case $1 in suspend) echo "Oh, this time we are doing a suspend to RAM. Cool!" sudo modprobe -r ...
2
votes
0answers
495 views

hibernate / suspend problems

Problem The Fn-F4 function key combination does not result in hibernating, instead it resets the internet connection instead Symptoms pm-hibernate and pm-suspend just reset the connection. ...
1
vote
1answer
886 views

Resume from hibernate fails after image restoration

I've been trying to get hibernation to work, and am having problems. The system seems to go into hibernation just fine, but when I try to restore from disk, the process stops just after a message ...
1
vote
1answer
432 views

Wake on LAN through PHY and unicast only works in the first ~30 seconds after pm-suspend

I'm having some trouble with Wake on LAN through PHY and unicast. I'm able to wake the system by pinging or sshing the shut down machine, but only within the first ~30 seconds. Why's that, what could ...
1
vote
0answers
562 views

Why does resume from hibernation pause/hang?

I used suspend (to ram) for a long time, and it worked flawlessly. Recently, I started using hibernate (to disk) - not-quite-flawlessly. Hibernate-to-disk works (from the terminal, so far - as ...
0
votes
2answers
36 views

occurance of a string in multiple file

I have two files 1. input.txt 2. keyword.txt input.txt has contents like .src_ref 0 "call.s" 24 first 0x000000 0x5a80 0x0060 BRA.l 0x60 .src_ref 0 "call.s" 30 first 0x000002 ...
0
votes
0answers
40 views

Unable to suspend on MacBook 11,1 on Ubuntu 14.04

I just finished installing Linux Mint 17.1 on my MacBook 11,2 (2013 model, 13.3") and have just wrapped up fixing most of the problems. One problem remains: I can't suspend (and by consequence, ...
0
votes
0answers
107 views

Where are pm-powersave settings on OpenSUSE 13.2, and are they used?

I am trying to sort out powersaving for OpenSUSE 13.2 running on a laptop. I found this guide: https://en.opensuse.org/Powersaving for understanding Powersaving on OpenSUSE. However, it appears to ...
0
votes
0answers
198 views

acpi, pm-util and xautolock all happy together

I'm currently using the xfce4 power manager on my laptop to manage sleeping and screen locking and dimming and all that good stuff. But I get the feeling that this is just some candy on top of the ...