Quicklinks

EndUser

Test/Virtualisaton


Installieren

Kernel - Tuning

Network

Display / Pads

Bock Devices

Printer

USB-Devices

BenutzerSW

Server

Install Notes

General/Hints

anoyances.org

Collection of installation & troublshooting info related to my linux (debian/mint/ubuntu) installations

Suspend

http://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/
http://wiki.ubuntuusers.de/pm-utils
Mint 17
/usr/lib/pm-utils/sleep.d - Default Debian location.
pm-suspend
pm-hibernate
echo 'pm-suspend' | at now + 30 minutes

Suspend

ältere Info
http://wiki.ubuntuusers.de/Schlafmodi
http://wiki.ubuntuusers.de/Energiesparmodi_mit_ACPI
http://www.linux.com/news/hardware/laptops/8253-how-to-suspend-and-hibernate-a-laptop-under-linux [1]

Bios-Einstellungen ACPI
cat /sys/power/state -> mem / standby disk (ev. abhängig von Bios-Einstellungen

Einstellungen/Energieverwaltung - Aktionen z.B. suspend to Ram, bei Deckel zu u.s.w.

s0Einsatzbereit
s1Power On Suspend
s2CPU ausgeschaltet
s3*Suspend to RAM (STR/Standby) praktisch nur Memory unter Strom
s4*Suspend to Disk ( STD/"Hibernate" ) Rechner völlig abgeschaltet)

sudo apt-get install uswsusp
sudo s2ram (Suspend to Ram)
sudo s2ram --force
sudo s2disk (Hibernate)

Scripte von Hall
/usr/lib/hal/scripts/linux/
hal-system-power-hibernate-linux
hal-system-power-suspend-linux

Ev. Probleme und Workarrounds

  • Tastatur kommt beim Erwachen nicht (s2r) - kernelparameter "Keyboard Reset" io... (lenovo o.k.)

[1] Script:

#!/bin/sh
# discover video card's ID
ID=`lspci | grep VGA | awk '{ print $1 }' | sed -e 's@0000:@@' -e 's@:@/@'`
# securely create a temporary file
TMP_FILE=`mktemp /var/tmp/video_state.XXXXXX`trap 'rm -f $TMP_FILE' 0 1 15
# switch to virtual terminal 1 to avoid graphics
# corruption in X
chvt 1
# write all unwritten data (just in case)
sync
# dump current data from the video card to the
# temporary filecat 
/proc/bus/pci/$ID > $TMP_FILE
# suspend
echo -n mem > /sys/power/state
# restore video card data from the temporary file
# on resume
cat $TMP_FILE > /proc/bus/pci/$ID
# switch back to virtual terminal 7 (running X)chvt 7
# remove temporary filerm -f $TMP_FILE


Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on August 24, 2014, at 10:48 PM, visited:$PageCount