• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

s2ram -f in kpowersave integrieren

pjotre36

Newbie
Hallo!

Nachdem auf meinem nx6310 s2ram mit s2ram -f tatsächlich funktioniert möchte ich kpowersave so einrichten, dass automatisch dieser Befehl für Suspend verwendet wird. Welche Skripte muss ich dazu anpassen?

Vielen Dank
 

verwender

Newbie
In die "/etc/pm/config" kommt bei "S2RAM_OPTS" ein "-f" mit dazu. Also am Schluß muss sie so aussehen:

Code:
# what modules should be unloaded during suspend/hibernate?
# note that this removes the module and all dependent modules, if possible.
SUSPEND_MODULES="button"

# this variable is not used in the SUSE package, we use s2ram instead
HIBERNATE_RESUME_POST_VIDEO="no"

#######################################################################
# the variables below here are specific to the SUSE package right now

# what options should be passed to s2ram?
# see http://en.opensuse.org/S2ram for more information
S2RAM_OPTS="-f"

# where is the s2disk binary located? Defaults to "/usr/sbin/s2disk"
# (do not change unless you kow what you are doing)
# S2DISK_BIN=""

# which method should be used for suspend to disk?
# defaults to "autodetect" ("userspace" if s2disk is available, "kernel" otherwise)
# (do not change unless you kow what you are doing)
HIBERNATE_METHOD=""
 
Oben