Advertisement
Guest User

Untitled

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