[opensuse] Suspend/Hibernate fails in 10.3, worked in 10.2 and before.
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I can not hybernate the machine. The system is 10.3 fully up to date. There is no powersave anything in Yast, so I can not configure or enable the thing. I get no option in kpowersave to hybernate or suspend. Pressing the "power" switch (my usual method to hybernate) produces a complaint in the log: Nov 4 02:36:12 nimrodel powersaved[5044]: WARNING (suspendToDisk:474) ACPI S3 state not available Command line 'pm-hibernate' hibernates and restores just fine. So the machine and the system can hybernate, it just "thinks" it can't. If in Gnome Power Management Preferences (which I have to call from the command line, I can't find the menu entry for gnome-control), General tab, Actions, I change "when the power button is pressed" to "Hibernate", now when I press the power button the machine starts to hybernate (I get the screen blanker) but doesn't go further. Later in the log, I find this: Nov 4 17:06:44 nimrodel gnome-power-manager: (cer) Hibernating computer because the power button has been pressed Nov 4 17:06:46 nimrodel gnome-power-manager: (cer) Resuming computer Nov 4 17:06:46 nimrodel gnome-power-manager: (cer) hibernate failed It prompts for my password, and then I see a half hidden window on the bottom right, tittled "Sleep Problem", that says "do not show this again" "Visit" - the rest is hidden by the plastic edge of the monitor; I mean, the message is off the screen. It doesn't say what the "problem" may be. However, if I press "Visit", firefox opens in <http://people.freedesktop.org/~hughsient/quirk/>, Hal Quirk Site. It mentions an "quirk-checker.sh" script, that I download and run: nimrodel:~ # quirk-checker.sh Checking your system... CRITICAL ERROR: No supported distro So... what do I do? Where/how do I configure this in Yast, as I have no module for it? How do I convince both gnome and kde to hybernate, as they think it is not possible, when it is? Where is the real configuration of this thing? The directory tree under "/etc/pm/" contains no files. The directory tree under "/etc/powersave/" contains things, but it is said to be obsolete and ignored - however, Yast touched all files in there and they have recent dates. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHLfrRtTMYHG2NR9URAjY2AJ0chr0vs4+OrZT93SSfFLmTesKj0gCdFtyg qzA351hJ5vgvO5WkHPAU4yw= =3vxr -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b5f564281b79299a7922368b2a50d626.jpg?s=120&d=mm&r=g)
On 11/4/07, Carlos E. R. <robin.listas@telefonica.net> wrote:
I can not hybernate the machine.
The system is 10.3 fully up to date.
There is no powersave anything in Yast, so I can not configure or enable the thing.
I get no option in kpowersave to hybernate or suspend.
Pressing the "power" switch (my usual method to hybernate) produces a complaint in the log:
<snip>
Where is the real configuration of this thing? The directory tree under "/etc/pm/" contains no files. The directory tree under "/etc/powersave/" contains things, but it is said to be obsolete and ignored - however, Yast touched all files in there and they have recent dates.
Place the config file in the /etc/pm/config.d directory. The options would likely be the same as for 10.2 but I think the file in 10.2 used the /etc/pm/config location. If you still have a copy of that file, just copy it to /etc/pm/config.d. If not, create /etc/pm/config.d/config with the appropriate entries. e.g. S2RAM_OPTS="-f -a2" (or whatever works on your system) & restart powersaved for changes to take effect. e.g. "rcpowersaved restart" or "/etc/init.d/powersaved restart" Below is what the README.update file in /etc/pm/ states: [quote] The configuration has moved from /etc/pm/config to files in /etc/pm/config.d/ with the upgrade from openSUSE 10.2 to openSUSE 10.3. If you had configured stuff in 10.2, you need to move the configuration over to the new directory. The simplest way of doing this might be mv /etc/pm/config /etc/pm/config.d/ But you should check if your configuration still applies. [end quote] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-11-04 at 13:30 -0600, rmyster@gmail.com wrote:
<snip>
Where is the real configuration of this thing? The directory tree under "/etc/pm/" contains no files. The directory tree under "/etc/powersave/" contains things, but it is said to be obsolete and ignored - however, Yast touched all files in there and they have recent dates.
Place the config file in the /etc/pm/config.d directory. The options would likely be the same as for 10.2 but I think the file in 10.2 used the /etc/pm/config location. If you still have a copy of that file, just copy it to /etc/pm/config.d. If not, create /etc/pm/config.d/config with the appropriate entries. e.g.
S2RAM_OPTS="-f -a2" (or whatever works on your system)
I don't want to suspend to ram, only to disk. I don't know what options are needed, there is no manual. As I said, the command: nimrodel:~ # pm-hibernate nimrodel:~ # suspends to disk *perfectly* without any question or problem. The 10.2 config file was almost empty: SUSPEND_MODULES="button" # this variable is not used in the SUSE package, we use s2ram instead HIBERNATE_RESUME_POST_VIDEO="no" S2RAM_OPTS="" # S2DISK_BIN="" HIBERNATE_METHOD="" My problem is that the desktop does not want to suspend and events are ignored.
restart powersaved for changes to take effect. e.g. "rcpowersaved restart" or "/etc/init.d/powersaved restart"
Below is what the README.update file in /etc/pm/ states:
I know that, but I suppose the update should have kept the old file.
[quote] The configuration has moved from /etc/pm/config to files in /etc/pm/config.d/ with the upgrade from openSUSE 10.2 to openSUSE 10.3. If you had configured stuff in 10.2, you need to move the configuration over to the new directory. The simplest way of doing this might be
mv /etc/pm/config /etc/pm/config.d/
Doesn't work. More info: nimrodel:~ # s2ram -n Machine unknown This machine can be identified by: sys_vendor = "NETWORK" sys_product = " " sys_version = " " bios_version = "" See http://suspend.sf.net/s2ram-support.html for details. If you report a problem, please include the complete output above. nimrodel:~ # quirk-checker.sh Checking your system... CRITICAL ERROR: No supported distro nimrodel:~ # I think that if the machine is not listed, it doesn't suspend. I want it to ignore the database and suspend - if that is the problem. I tried: S2RAM_OPTS="--force" and doesn't work either (to disk). When restarting powersave I see errors in the log: Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.suspend2disk' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.suspend2ram' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.standby' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.resume.suspend2disk' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.resume.suspend2ram' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.resume.standby' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.suspend2disk.other' Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (CpufreqManagement:51) No capability cpufreq_control Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (CpufreqManagement:51) No capability cpufreq_control Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (continueEvent:248) Could not execute program /usr/lib/powersave/scripts for event daemon.scheme.change: No such file or directory I don't know what config file it is refering to. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHLk+XtTMYHG2NR9URAkqwAJ9kJ8ftauZlXvtU0b5IMJjvlZ/CkACcCcyw zAP/Arj8VLihMWedplyHMW4= =9xAk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/d77c8e47a41bf66e1d1f26b9e09c2c81.jpg?s=120&d=mm&r=g)
Am Montag 05 November 2007 00:02:32 schrieb Carlos E. R.:
The Sunday 2007-11-04 at 13:30 -0600, rmyster@gmail.com wrote:
<snip>
Where is the real configuration of this thing? The directory tree under "/etc/pm/" contains no files. The directory tree under "/etc/powersave/" contains things, but it is said to be obsolete and ignored - however, Yast touched all files in there and they have recent dates. Hi,
you can find the default-settings below /usr/lib/pm-utils/ .. e.g. in /usr/lib/pm-utils/defaults, but those get overrided by those you place in /etc/pm/config.d/
Place the config file in the /etc/pm/config.d directory. The options .... S2RAM_OPTS="-f -a2" (or whatever works on your system)
I don't want to suspend to ram, only to disk. I don't know what options are needed, there is no manual.
Usually none, but suspend to disk has a additional config file here: /etc/suspend.conf Suspend to ram is handled serperately.
As I said, the command:
nimrodel:~ # pm-hibernate nimrodel:~ #
suspends to disk *perfectly* without any question or problem.
Ok, thats good.
The 10.2 config file was almost empty:
My problem is that the desktop does not want to suspend and events are ignored.
To me this sound like a whole other problem than config-issues. Just like hal related services are not running ok (dbus, hal, policykit etc.).
[quote] The configuration has moved from /etc/pm/config to files in /etc/pm/config.d/ with the upgrade from openSUSE 10.2 to openSUSE 10.3.
mv /etc/pm/config /etc/pm/config.d/
Doesn't work.
Thats not surprising.. as you usually don't need any additional config at all.
More info: nimrodel:~ # s2ram -n Machine unknown I think that if the machine is not listed, it doesn't suspend. I want it to ignore the database and suspend - if that is the problem.
Not that whitelist is _only_ of interest for suspend to ram. Hibernate does not care at all if the machine is in there.
I tried: S2RAM_OPTS="--force" and doesn't work either (to disk). Yes, they are handled seperate.
When restarting powersave I see errors in the log:
Nov 4 23:31:40 nimrodel powersaved[29034]: WARNING (readConfigFile:173) Found actions variable for non existing event: 'global.suspend2disk' ... I think those are harmless.
I don't know what config file it is refering to. powersaved refers to its own config files (not those of pm-utils etc.).
But have you tried restarting hal an policykit on your system? There once was a bug with this showing your symptoms.. have you installed the final/GM Version of 10.3 or do you still work on a Beta-Version of it? If that does not help bugzilla keeps some workarounds for this problem (e.g. https://bugzilla.novell.com/show_bug.cgi?id=309171#c9), but i think this was fixed. Have fun, Frank -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-11-05 at 06:34 +0100, Frank Seidel wrote:
Am Montag 05 November 2007 00:02:32 schrieb Carlos E. R.:
The Sunday 2007-11-04 at 13:30 -0600, rmyster@gmail.com wrote:
<snip>
Where is the real configuration of this thing? The directory tree under "/etc/pm/" contains no files. The directory tree under "/etc/powersave/" contains things, but it is said to be obsolete and ignored - however, Yast touched all files in there and they have recent dates. Hi,
you can find the default-settings below /usr/lib/pm-utils/ .. e.g. in /usr/lib/pm-utils/defaults, but those get overrided by those you place in /etc/pm/config.d/
I will have a look there.
Place the config file in the /etc/pm/config.d directory. The options .... S2RAM_OPTS="-f -a2" (or whatever works on your system)
I don't want to suspend to ram, only to disk. I don't know what options are needed, there is no manual.
Usually none, but suspend to disk has a additional config file here: /etc/suspend.conf
Nothing active there, every thing is commented out.
Suspend to ram is handled serperately.
I was starting to think so.
As I said, the command:
nimrodel:~ # pm-hibernate nimrodel:~ #
suspends to disk *perfectly* without any question or problem.
Ok, thats good.
Yes, my problem is that I can not trigger it normally. In 10.2 I just touched the power switch. Now it doesn't work, and the kpower..thing entries are grayed out or not there. Gnome tries to hibernate but fails. And "brute force" command line works! Go figure. Maybe because this is a desktop machine?
The 10.2 config file was almost empty:
My problem is that the desktop does not want to suspend and events are ignored.
To me this sound like a whole other problem than config-issues. Just like hal related services are not running ok (dbus, hal, policykit etc.).
Perhaps. Not even running kde as root works.
I don't know what config file it is refering to. powersaved refers to its own config files (not those of pm-utils etc.).
But have you tried restarting hal an policykit on your system? There once was a bug with this showing your symptoms.. have you installed the final/GM Version of 10.3 or do you still work on a Beta-Version of it?
I rebooted yesterday. This partition has the final GM, upgraded from 10.2 last Saturday.
If that does not help bugzilla keeps some workarounds for this problem (e.g. https://bugzilla.novell.com/show_bug.cgi?id=309171#c9), but i think this was fixed.
Yes, I have been looking around. Will probably fill it there, I have been "pestering" them this morning with three reports ;-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHLxE8tTMYHG2NR9URAvyVAJ4w6a5SEXINUuPwI3BvIFWRUubHgwCbBMDE nI6wnTe9CLHopyePzAcsUoo= =PUpb -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Frank Seidel
-
rmyster@gmail.com