[opensuse] Suspend to swap replacement on 10.3 for Thinkpad T41
I installed the 10.3 KDE one CD version over 10.0. Fn+f4 used to suspend to swap. That now does nothing. I can do suspend to swap from the display manager, KDM, but I need a way to do while logged in. pm-suspend looks like a low power state. I need a no power state. Looking at the syslog it looks like KDM is invoking swsusp, but there is no executable with that name in the path and locate finds nothing with that name. Suggestions? Pointers to info? TIA, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-10-26 at 10:54 -0500, Jeffrey L. Taylor wrote:
I installed the 10.3 KDE one CD version over 10.0. Fn+f4 used to suspend to swap. That now does nothing. I can do suspend to swap from the display manager, KDM, but I need a way to do while logged in. pm-suspend looks like a low power state. I need a no power state. Looking at the syslog it looks like KDM is invoking swsusp, but there is no executable with that name in the path and locate finds nothing with that name. Suggestions? Pointers to info?
Have a look at /etc/sysconfig/powersave, and adjust these variables: EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver" There is a yast module for that, powermanagement. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHIj2mtTMYHG2NR9URAtnyAJ94cWDMe9mLduxKjRdGN8yc4UrKtACfQM8B nY1AwrjujWICFkXM/7yTi8c= =3Wzf -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2007-10-26 at 10:54 -0500, Jeffrey L. Taylor wrote:
I installed the 10.3 KDE one CD version over 10.0. Fn+f4 used to suspend to swap. That now does nothing. I can do suspend to swap from the display manager, KDM, but I need a way to do while logged in. pm-suspend looks like a low power state. I need a no power state. Looking at the syslog it looks like KDM is invoking swsusp, but there is no executable with that name in the path and locate finds nothing with that name. Suggestions? Pointers to info?
Have a look at /etc/sysconfig/powersave, and adjust these variables:
EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver"
There is a yast module for that, powermanagement.
Already done. In fact, I didn't have to do that manually, those are the defaults. I did track down that /usr/lib/hotkey-setup/thinkpad_hotkey_handler is logging the key combination and ignoring it. I'd settle for initiating from the command line. Note: I am using Blackbox windowmanager so KDE only or Gnome only solutions won't work. Some KDE & Gnome apps work in Blackbox, others don't behave well. Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-10-26 at 16:28 -0500, Jeffrey L. Taylor wrote:
Have a look at /etc/sysconfig/powersave, and adjust these variables:
EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver"
There is a yast module for that, powermanagement.
Already done. In fact, I didn't have to do that manually, those are the defaults. I did track down that /usr/lib/hotkey-setup/thinkpad_hotkey_handler is logging the key combination and ignoring it.
If it doesn't produce an event, nothing happens.
I'd settle for initiating from the command line. Note: I am using Blackbox windowmanager so KDE only or Gnome only solutions won't work. Some KDE & Gnome apps work in Blackbox, others don't behave well.
I use the power button event to suspend, that's independent of windowmanager. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHInWptTMYHG2NR9URAkmlAJ9t7lCB9MxE5lb23yz2j7J6OPtxAwCgiS4h vAAy0sIXYCZwAnrfAg8hqLg= =soe4 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2007-10-26 at 16:28 -0500, Jeffrey L. Taylor wrote:
Have a look at /etc/sysconfig/powersave, and adjust these variables:
EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver"
There is a yast module for that, powermanagement.
Already done. In fact, I didn't have to do that manually, those are the defaults. I did track down that /usr/lib/hotkey-setup/thinkpad_hotkey_handler is logging the key combination and ignoring it.
If it doesn't produce an event, nothing happens.
I'd settle for initiating from the command line. Note: I am using Blackbox windowmanager so KDE only or Gnome only solutions won't work. Some KDE & Gnome apps work in Blackbox, others don't behave well.
I use the power button event to suspend, that's independent of windowmanager.
I'll give this a try tomorrow. Thanks, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Jeffrey L. Taylor
Quoting Carlos E. R.
: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2007-10-26 at 16:28 -0500, Jeffrey L. Taylor wrote:
Have a look at /etc/sysconfig/powersave, and adjust these variables:
EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver"
There is a yast module for that, powermanagement.
Already done. In fact, I didn't have to do that manually, those are the defaults. I did track down that /usr/lib/hotkey-setup/thinkpad_hotkey_handler is logging the key combination and ignoring it.
If it doesn't produce an event, nothing happens.
I'd settle for initiating from the command line. Note: I am using Blackbox windowmanager so KDE only or Gnome only solutions won't work. Some KDE & Gnome apps work in Blackbox, others don't behave well.
I use the power button event to suspend, that's independent of windowmanager.
I'll give this a try tomorrow.
I changed the /etc/sysconfig/powersave/events line to EVENT_BUTTON_POWER="suspend_to_disk" from within the sysconfig editor in Yast. Pressing the power switch does a shutdown, not a suspend. Sigh, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag 26 Oktober 2007 21:19:01 schrieb Carlos E. R.:
The Friday 2007-10-26 at 10:54 -0500, Jeffrey L. Taylor wrote: Have a look at /etc/sysconfig/powersave, and adjust these variables:
EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver"
No, we switched to the pm-utils framework and so these settings are obsolete/have no effect anymore. See for example: http://en.opensuse.org/Projects_Powersave and for pm-utils http://en.opensuse.org/Pm-utils Thanks, Frank -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-10-28 at 14:57 +0100, Frank Seidel wrote:
Am Freitag 26 Oktober 2007 21:19:01 schrieb Carlos E. R.:
The Friday 2007-10-26 at 10:54 -0500, Jeffrey L. Taylor wrote: Have a look at /etc/sysconfig/powersave, and adjust these variables:
EVENT_BUTTON_POWER="wm_shutdown" EVENT_BUTTON_SLEEP="suspend_to_disk" EVENT_BUTTON_LID_OPEN="ignore" EVENT_BUTTON_LID_CLOSED="screen_saver"
No, we switched to the pm-utils framework and so these settings are obsolete/have no effect anymore.
If that is so, why does my 10.3 install contain them settings? Something in Yast is defining them. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHJKhhtTMYHG2NR9URAj8PAJ9MBpiobKhvN8e5+rkjyEKw7qBSCACfXXT/ smha94mUmmOqWb8jcheiWww= =Cxma -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag 26 Oktober 2007 17:54:04 schrieb Jeffrey L. Taylor:
I installed the 10.3 KDE one CD version over 10.0. Fn+f4 used to suspend to swap. That now does nothing. I can do suspend to swap from the display manager, KDM, but I need a way to do while logged in. pm-suspend looks like a low power state. I need a no power state.
Yes, e.g. have a loot at here: http://en.opensuse.org/Pm-utils pm-suspend will put your machine into suspend to ram, while pm-hibernate will put it into suspend to disk (what you probably looked for).
Looking at the syslog it looks like KDM is invoking swsusp, but there is no executable with that name in the path and locate finds nothing with that name. Suggestions? Pointers to info?
As you are fortunately using KDE, you can simply tell kpowersave to suspend to disk when you press your hibernate-key (fn+f4 in your case). Just rightclick on the kpowersave applet in your kicker, configure kpowersave and set your wishes in the key-event area on the "General Settings" tab. Thanks, Frank -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Frank Seidel
-
Jeffrey L. Taylor