Share Pastebin
Guest
Public paste!

magnusium

By: a guest | Dec 5th, 2008 | Syntax: None | Size: 5.23 KB | Hits: 108 | Expires: Never
Copy text to clipboard
  1. #
  2. # Configuration file for the acpi-support package
  3. #
  4. #
  5. # The acpi-support package is intended as "glue" to make special functions of
  6. # laptops work. Specifically, it translates special function keys for some
  7. # laptop models into actions or generic function key presses.
  8. #
  9.  
  10.  
  11. #
  12. # Suspend/hibernate method
  13. # ------------------------
  14. #
  15. # When gnome-power-manager or klaptopdaemon are running, acpi-support will
  16. # translate the suspend and hibernate keys of laptops into special "suspend"
  17. # and "hibernate" keys that these daemons handle.
  18. #
  19. # Only in situations where there is no gnome-power-manager or klaptopdaemon
  20. # running, acpi-support needs to perform suspend/hibernate in some other way.
  21. # There are several options for this. The options are:
  22. #
  23. # dbus-pm:
  24. #    Perform suspend and hibernate actions via a DBUS request to the power
  25. #    management daemon. This works for power management daemons that we don't
  26. #    know of. (For gnome-power-manager and klaptopdaemon this will do nothing,
  27. #    since those will be detected when they are running, and triggered using
  28. #    a virtual keypress.)
  29. #
  30. # dbus-hal:
  31. #    Perform suspend and hibernate actions via a DBUS request directly to HAL,
  32. #    bypassing any running power management daemons.
  33. #
  34. # pm-utils:
  35. #    Use pm-suspend and pm-hibernate to suspend and hibernate. (The dbus method
  36. #    normally results in this as well, but calls through dbus. Use this option
  37. #    only if you don't have dbus installed.)
  38. #
  39. # hibernate:
  40. #    Use the hibernate package to suspend and hibernate.
  41. #
  42. # acpi-support:
  43. #    Use the legacy built-in suspend/hibernate support. (DEPRECATED)
  44. #
  45. # none:
  46. #    Do not attempt to suspend/hibernate. Set SUSPEND_METHODS="none" to
  47. #    disable suspend/hibernate handling in acpi-support.
  48. #
  49. # If you specify dbus or pm-utils, the result will normally be the same as when
  50. # you suspend from your desktop environment. If you specify "hibernate" or
  51. # "acpi-support", be aware that this probably does not match what your desktop
  52. # environment would do (unless you have managed to configure something so that
  53. # the DBUS power management interfaces call the hibernate package).
  54. #
  55. #
  56. # Please specify a space separated list of options. The recommended value is
  57. # "dbus pm-utils"
  58. #
  59. SUSPEND_METHODS="dbus-pm dbus-hal pm-utils"
  60.  
  61.  
  62.  
  63. #
  64. # LEGACY BUILT IN SUSPEND SUPPORT (DEPRECATED)
  65. # --------------------------------------------
  66. #
  67. # These options only work for the "acpi-support" suspend method. This is NOT
  68. # recommended, but is retained for backward compatibility reasons.
  69. #
  70.  
  71. # Comment the next line to disable ACPI suspend to RAM
  72. ACPI_SLEEP=true
  73.  
  74. # Comment the next line to disable suspend to disk
  75. ACPI_HIBERNATE=true
  76.  
  77. # Change the following to "standby" to use ACPI S1 sleep, rather than S3.
  78. # This will save less power, but may work on more machines
  79. ACPI_SLEEP_MODE=mem
  80.  
  81. # Add modules to this list to have them removed before suspend and reloaded
  82. # on resume. An example would be MODULES="em8300 yenta_socket"
  83. #
  84. # Note that network cards and USB controllers will automatically be unloaded
  85. # unless they're listed in MODULES_WHITELIST
  86. MODULES=""
  87.  
  88. # Add modules to this list to leave them in the kernel over suspend/resume
  89. MODULES_WHITELIST=""
  90.  
  91. # Should we save and restore state using the VESA BIOS Extensions?
  92. SAVE_VBE_STATE=true
  93.  
  94. # The file that we use to save the vbestate
  95. VBESTATE=/var/lib/acpi-support/vbestate
  96.  
  97. # Should we attempt to warm-boot the video hardware on resume?
  98. POST_VIDEO=true
  99.  
  100. # Save and restore video state?
  101. # SAVE_VIDEO_PCI_STATE=true
  102.  
  103. # Should we switch the screen off with DPMS on suspend?
  104. USE_DPMS=true
  105.  
  106. # Use Radeontool to switch the screen off? Seems to be needed on some machines
  107. # RADEON_LIGHT=true
  108.  
  109. # Uncomment the next line to switch away from X and back again after resume.
  110. # This is needed for some hardware, but should be unnecessary on most.
  111. # DOUBLE_CONSOLE_SWITCH=true
  112.  
  113. # Set the following to "platform" if you want to use ACPI to shut down
  114. # your machine on hibernation
  115. HIBERNATE_MODE=shutdown
  116.  
  117. # Comment this out to disable screen locking on resume
  118. LOCK_SCREEN=true
  119.  
  120. # Uncomment this line to have DMA disabled before suspend and reenabled
  121. # afterwards
  122. # DISABLE_DMA=true
  123.  
  124. # Uncomment this line to attempt to reset the drive on resume. This seems
  125. # to be needed for some Sonys
  126. # RESET_DRIVE=true
  127.  
  128. # Add services to this list to stop them before suspend and restart them in
  129. # the resume process.
  130. STOP_SERVICES=""
  131.  
  132. # Restart Infra Red services on resume - off by default as it crashes some
  133. # machines
  134. RESTART_IRDA=false
  135.  
  136. # Switch to laptop-mode on battery power - off by default as it causes odd
  137. # hangs on some machines.  (Note: This is reported to cause breakage in
  138. # Debian - see deb bug #425800.  Leaving enabled for Ubuntu for now
  139. # since presumably it's still valid here.)
  140. ENABLE_LAPTOP_MODE=false
  141.  
  142. # Add to this list network interfaces that you don't want to be stopped
  143. # during suspend (in fact any network interface whose name starts with
  144. # a prefix given in this list is skipped)
  145. SKIP_INTERFACES="dummy qemu"
  146.  
  147. # Note: to enable "laptop mode" (to spin down your hard drive for longer
  148. # periods of time), install the laptop-mode-tools package and configure
  149. # it in /etc/laptop-mode/laptop-mode.conf.