Am Montag 05 November 2007 00:02:32 schrieb Carlos E. R.:
> The Sunday 2007-11-04 at 13:30 -0600, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to