1. # Example tuxonice.conf file.
  2. #
  3. # See hibernate.conf(5) for help on the configuration items.
  4. #
  5. # NOTE: TuxOnIce is an improved version of suspend-to-disk which currently
  6. #       requires patching your kernel. For more information, see www.tuxonice.net
  7. #
  8. #       If you do not wish to patch your kernel but still be able to suspend to
  9. #       disk, see disk.conf instead.
  10.  
  11. ### TuxOnIce
  12. UseTuxOnIce yes
  13. Reboot no
  14. EnableEscape yes
  15. DefaultConsoleLevel 1
  16. Compressor lzo
  17. Encryptor none
  18. ProcSetting extra_pages_allowance 7500
  19. ProcSetting no_multithreaded_io 1
  20. # ImageSizeLimit 200
  21.  
  22. ## useful for initrd usage:
  23. SuspendDevice swap:/dev/sda5
  24.  
  25. ## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
  26. # PowerdownMethod 5
  27.  
  28. ## Any other /proc/software_suspend setting can be set like so:
  29. # ProcSetting expected_compression 50
  30.  
  31. ## Or traditionally like this:
  32. # TuxOnIceAllSettings 0 0 2056 65535 5
  33.  
  34. ## Or even from the results of hibernate --save-settings with this:
  35. # TuxOnIceAllSettingsFile /etc/hibernate/suspend-settings.conf
  36.  
  37. ## For filewriter:
  38. # FilewriterLocation /suspend_file 1000
  39. # VerifyFilewriterResume2 yes
  40.  
  41. ## Specify a userui like this:
  42. # ProcSetting userui_program /usr/local/sbin/tuxoniceui_text
  43.  
  44. # Scale CPU to full speed to make sure we suspend as fast as possible.
  45. FullSpeedCPU yes
  46.  
  47. Include common.conf