Search:  
Gentoo Wiki

Sony_Vaio_VGN-S580/etc/hibernate/hibernate-disk.conf


File: /etc/hibernate-disk.conf
### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
EnableEscape no
DefaultConsoleLevel 2
#Compressor
Compressor lzf
Encryptor 
ImageSizeLimit 1024

## useful for initrd usage:
SuspendDevice swap:/dev/sda7

## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
PowerdownMethod 5


## Any other /proc/software_suspend setting can be set like so:

## ???
ProcSetting expected_compression 50

## progress indicator
ProcSetting userui_program /sbin/suspend2ui_text
#ProcSetting userui_program

# suspend2 + nvidia 8756 compatibility --- automatically detect required pageset size  
ProcSetting extra_pages_allowance 0


Verbosity 4
LogVerbosity 4
LogFile /var/log/hibernate-disk.log

AlwaysForce no
AlwaysKill no

HibernateVT 10

Distribution gentoo
#Distribution

# XDisplay :0


### clock
SaveClock restore-only

### devices
# IncompatibleDevices /dev/dsp /dev/video*

### diskcache
DisableWriteCacheOn /dev/sda

### filesystems
Unmount /mnt/suse /mnt/windows /mnt/temp
# UnmountFSTypes smbfs nfs
# UnmountGraceTime 1
Mount   /mnt/suse /mnt/windows /mnt/temp

### lock (generally you only want one of the following options)
# LockConsoleAs root
# LockXScreenSaver yes
# LockKDE yes
# LockXLock yes
# LockXAutoLock yes

### misclaunch
# force flash disk cashe before disable cashe
#OnSuspend	92	/sbin/hdparm -f /dev/sda > /dev/null
OnSuspend	92	/usr/bin/sync > /dev/null
#set medium brightness
OnResume 	00	/usr/local/bin/nvclock -S 50 > /dev/null


### modules
UnloadModules ohci_hcd uhci_hcd usb_storage usbhid ehci_hcd hci_usb
#   UnloadModules bluetooth
#   UnloadModules snd_hda_intel
UnloadModules e100 ipw2200
UnloadModules yenta_socket
#   UnloadModules nvidia

## UnloadAllModules yes
#UnloadBlacklistedModules yes
LoadModules auto
# LoadModulesFromFile /etc/modules


### modules-gentoo
# GentooModulesAutoload yes

### network
# DownInterfaces eth0
# UpInterfaces auto

### pcmcia
#EjectCards yes

### programs
# IncompatiblePrograms xmms

### services
RestartServices bluetooth
# StopServices alsasound
# StartServices aumix

### xhacks
#SwitchToTextMode yes
#UseDummyXServer yes

### xstatus
## This can be set to gnome, kde or x:
#XStatus kde
#XSuspendText Preparing to suspend...
#XResumeText Resuming from suspend...

Retrieved from "http://www.gentoo-wiki.info/Sony_Vaio_VGN-S580/etc/hibernate/hibernate-disk.conf"

Last modified: Thu, 14 Aug 2008 07:01:00 +0000 Hits: 2,713