If you have errors there are a bunch of settings to mess around with:
man s2ram:
Code:
OPTIONS
-h, --help
Short help text.
-n, --test
test if the machine is in the database. returns 0 if known and
supported
-i, --identify
prints a string that identifies the machine.
-f, --force
force suspending, even on unknown machines. the following op‐
tions are only available with --force.
-s, --vbe_save
save VBE state before suspending and restore after resume.
-p, --vbe_post
VBE POST the graphics card after resume
-r, --radeontool
turn off the backlight on radeons before suspending.
-a, --acpi_sleep
set the acpi_sleep parameter before suspend. 1=s3_bios,
2=s3_mode, 3=both
-v, --pci_save
Save the PCI config space of the VGA card before suspend and re‐
store it after resume.
Also, it is recommended to use s2both instead of s2ram in case the system loses power.
Code:
s2both will do precisly the same as s2disk except that it will not pow‐
er off the system, but will suspend it to ram (put the system in S3
mode). This has the advantage that resume will be faster, with the dis‐
advantage that you still use batteries. If they batteries do deplete,
you still have the system state saved to disk and can resume without
data loss.
You will need to set up an initramfs which calls the resume program for
this to work. If you use an debian kernel package which was made with
the --initrd option and you use mkinitramfs-tools, this package should
include the necessary parts on your initramfs.
Bookmarks