Rheinländer | 27 Nov 2012 04:34
Picon
Picon

Prevent PCMCIA power-off

Hi,

how would I prevent pm-suspend from powering off my PCMCIA/cardbus cards? I have a network card in there and powering it off prevents Wake-on-lan.

Thanks!
    Jan

_______________________________________________
Pm-utils mailing list
Pm-utils <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
CG | 20 Nov 2012 22:38
Picon
Picon
Favicon

fixing (an almost fixed) suspend of the asus 1025c

Hardware/software context
=========================
Machine: ASUS eee pc 1025C
CPU: N2800
Integrated graphics processor: Intel GMA3650
OS: Ubuntu 12.04 LTS
kernel: 3.4.0-0304000-generic (note: I upgraded to a newer kernel than
the standard kernel packaged with Ubuntu 12.04. This was required to
exploit several features of the GMA3650.)

Problem
=======
suspend is broken (but almost fixed).

Observations
============
pm-suspend => garbled screen after wake up

pm-suspend --quirk-vbemode-restore => after wake up, screen is black
(that is, the active-type-of-black: the backlight is on). Moving mouse
or keyboard doesn't change anything. This is the case until the default
screen saver becomes active. Then the screen goes completely dark
(backlight off) and after that, moving mouse or keyboard brings back a
visible, and completely correct screen.

I also tried other combinations of quirks, but the results were in each
case one of the above.

Question
========
How can suspend be fixed? The screensaver apparently does something good
to the state of the graphics system, but what is it? I tried to simulate
it with calling the screensaver directly from the command line
(gnome-screensaver-command -a), but that didn't work (it didn't have the
same positive effect as the default screensaver which becomes active
automatically after X minutes).

Thanks in advance!

Chide
Athlion | 22 Jul 2012 17:59
Picon

Lenovo T420 issues

Hello all. I have a Lenovo T420 with the integrated intel HD3000 card
(no optimus) and have issues suspending the laptop. What happens is,
briefly, that after I've been using the laptop for about a day or two
(suspending/resuming with no problems) the suspend fails and the sleep
led will start flashing constantly. If I open the lid, I see that X
has dropped back to the display manager and no suspension has taken
place. You can see the thread I have opened in arch linux forums here:
https://bbs.archlinux.org/viewtopic.php?pid=1134478

What's more interesting is that if I try to reboot after the failed
suspend, the system starts rebooting, suspends correctly midway and
finishes the reboot upon resuming.

I am trying to figure the source of this problem as this affects other
laptops as well and in the process I have enabled PM_DEBUG and
collected the /var/log/pm-suspend.log from an OK and from a failed
one. You can find them here:
OK: https://dl.dropbox.com/u/63420/suspend.log.ok
Not OK: https://dl.dropbox.com/u/63420/suspend.log.notok

There are a couple of interesting points to notice
1. One glaring difference is that they differ only in the initial
active/not active (which I believe is referring to laptop_mode_tools)
- But this thing happens to users having completely removed laptop
mode tools, so this doesn't seem to be relevant
2. They are the same up to line 381 (when the OK version ends). What
goes beyond that in the not ok is beyond my comprehension....

Can anyone offer any help or info on what's going on and how I can
track the problem?

Thanks!
Weedy | 17 Jul 2012 09:08
Picon

Can't suspend on a Nvidia quadro 3600m

I used to have a m90 with a 1500m, for the most part it worked if you
exclude nvidia breaking shit every other release.

Now I got a m6300 and along with all the other upgrades compared to
the m90 I got a 3600m. This should actually be a chip with BETTER
support from nvidia but I haven't been able to get consistency out of
it since I swapped hard drives over.

Anyway kernel 3.3.7; x11-drivers/nvidia-drivers 173.14.34, 173.14.35,
295.59 (and a lot more 2xx), 302.17; and pm-utils-1.4.1-r2.
It seems to get stuck going into sleep but for all I know it could be
instantly coming out of sleep and sticking there.

Thanks for your time/ideas.
Bojan Smojver | 28 Jun 2012 11:21

[PATCH]: Support in-kernel suspend to both (i.e. hybrid suspend)

Hi,

The in-kernel suspend to both should surface soon (hopefully in 3.6), so
here is a patch (untested) for pm-utils.

-------------------------
 pm/pm-functions.in |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index c82be30..50cde73 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
 <at>  <at>  -317,6 +317,20  <at>  <at>  if [ -z "$HIBERNATE_MODULE" ] && \
 	}
 fi

+# for kernels that support suspend to both (i.e hybrid suspend)
+# since kernel 3.6
+if [ -z "$SUSPEND_HYBRID_MODULE" ] && \
+	[ -f /sys/power/disk ] && \
+	grep -q disk /sys/power/state && \
+	grep -q suspend /sys/power/disk; then
+	SUSPEND_HYBRID_MODULE="kernel"
+	do_suspend_hybrid()
+	{
+		HIBERNATE_MODE="suspend"
+		do_hibernate
+	}
+fi
+
 # since the kernel does not directly support hybrid sleep, we do
 # something else -- suspend and schedule an alarm to go into
 # hibernate if we have slept long enough.
-------------------------

--

-- 
Bojan
Leonid Isaev | 23 May 2012 18:34
Picon

Re: GIT: [PATCH] Move function log to pm/functions.in

Hi,

	There is a simple bug in pm-utils' logging logic: some hooks (like
75modules) try to call log() and fail because the hook
sources /usr/lib/pm-utils/functions, while log() is defined
in /usr/lib/pm-utils/pm-functions. This was discovered and fixed by openSUSE
folks back in 2010 for pm-utils 1.3.0, and posted on this list:
http://lists.freedesktop.org/archives/pm-utils/2010-September/002219.html.
	However, pm-utils 1.4.1 is still broken. Is there a reason why the
above patch has never been merged?

Thank you,

--

-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
_______________________________________________
Pm-utils mailing list
Pm-utils <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
Brian J. Murrell | 19 Apr 2012 13:38
Picon

removing modules in use before suspend

I'm assuming that if as root I cannot remove modules with "rmmod" due to
them being "in use" then pm-suspend won't be able to remove them either,
yes?

How does one resolve the issue of needing to remove modules so that a
suspend doesn't hang but those modules cannot be removed due to them
being "in use" by an application?

Also, as a slightly related question, is pm-utils smart enough to follow
a dependency chain and remove any modules that might be keeping a module
we actually want removed?  So for example if to remove module A I need
to first remove module B, can I just tell pm-utils that I want module A
removed and it will figure out that module B needs removing or do I need
to tell pm-utils to remove "B A"?

Cheers,
b.

_______________________________________________
Pm-utils mailing list
Pm-utils <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
Brian J. Murrell | 3 Mar 2012 23:16
Picon

forcing chvt with kms (nouveau) driver

I have a Unbuntu laptop with kernel 3.0.0-16-generic which I'm using the
Nouveau driver on.

Sadly, this laptop panics on suspend if I am on the VT that Xorg is
running on at suspend time.  If I switch to VT 1 (log in as root and
suspend there, or even from somewhere else, say, ssh'd in) and then
suspend, it suspends fine and resumes fine and I can chvt back to the VT
with Xorg on it.

So the question is simply, how can I force suspending to chvt first and
then chvt back to the Xorg screen when resumed?

Cheers,
b.

_______________________________________________
Pm-utils mailing list
Pm-utils <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
James K. | 27 Jan 2012 13:28
Picon

Development and Contributions

Hello,


it seems like pm-utils is not being actively developed at the moment. I have a few ideas I'd like to implement for pm-powersave, e.g., better configurability or updated default hooks.

Are contributions welcomed? How would I contribute best?

--James
_______________________________________________
Pm-utils mailing list
Pm-utils <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
E.S. Rosenberg | 6 Nov 2011 19:43
Picon
Picon

Laptop with multiple batteries

Hi all,
First off thanks for the great work.
Second I have a slightly annoying problem that I have been trying to
solve but so far to no avail.

My laptop has the option of having a second battery present, but I
don't have this second battery so it always reads as 0% as far as acpi
is concerned.
When I wake my system up from standby sometimes it will 'read' the
wrong batteries' status and say "golle gee I'm about to die! Let's
quickly hibernate."

I would like to somehow be able to interrupt this unnecessary
hibernate (something along the lines of shutdown -c but for
pm-hibernate), but so far I have not found how I can interrupt/cancel
the call to pm-hibernate.

Is there any mechanism at the moment, or a process I can kill?

Thanks,
Eli
Robert Orzanna | 21 Oct 2011 08:15
Gravatar

pm-powersave does not work at start up and during session

Hello, 


I cannot determine why pm-powersave stopped working correctly but it is not launched at start up or when the AC state is changed during the session.

The only case it is working is after suspend / hibernation.
 
The script I put in /etc/pm/power.d/powersave uses the settings from here:


Installed versions:

pm-utils 1.4.1-3 + kernel 3.0.1-1

Just let me know if you need more information.

Regards,

Robert
_______________________________________________
Pm-utils mailing list
Pm-utils <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Gmane