Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
laptop-mode-tools
laptop-mode-1.49_conf.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File laptop-mode-1.49_conf.diff of Package laptop-mode-tools
Index: b/etc/laptop-mode/laptop-mode.conf =================================================================== --- a/etc/laptop-mode/laptop-mode.conf +++ b/etc/laptop-mode/laptop-mode.conf @@ -1,7 +1,9 @@ ############################################################################### # +# SEE THE NOTES ON THE SUSE PACKAGE BELOW THIS SECTION! +# # Configuration for Laptop Mode Tools # ----------------------------------- # # There is a "system" to the configuration setting names: # CONTROL_something=0/1 Determines whether Laptop Mode Tools controls @@ -34,12 +36,24 @@ # Laptop Mode Tools modules have separate configuration files, that can be # found in /etc/laptop-mode/conf.d. Please look through these configuration # files as well, there are many useful power saving tools in there! # ############################################################################### - - +# +# NOTES FOR THE SUSE PACKAGE: +# --------------------------- +# +# i patched the main laptop_mode script, so that it has two additional +# parameters: "start" and "stop". If you call "laptop_mode start", then it +# will force the "on battery" profile, if you call "laptop_mode stop" then it +# will force the "on ac power" profile. +# +# If laptop-mode is enabled with "/etc/init.d/laptop-mode start", then +# pm-utils will call "laptop_mode start", when it is called via the HAL +# setLowPower method, and "laptop_mode stop" when this method is disabled. +# +############################################################################### ############################################################################### # Configuration debugging # ----------------------- ############################################################################### @@ -203,22 +217,22 @@ NOLM_READAHEAD=128 # # Should laptop mode tools add the "noatime" option to the mount options when # laptop mode is enabled? # -CONTROL_NOATIME=0 +CONTROL_NOATIME=1 # Should laptop use relatime instead of noatime? The "relatime" mount option has # more standards-compliant semantics, and allows more applications to work, # while retaining a low level of atime updates (i.e., disk writes). USE_RELATIME=1 # # Should laptop mode tools control the hard drive idle timeout settings? # -CONTROL_HD_IDLE_TIMEOUT=1 +CONTROL_HD_IDLE_TIMEOUT=0 # # Idle timeout values. (hdparm -S) # Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds @@ -230,17 +244,17 @@ NOLM_HD_IDLE_TIMEOUT_SECONDS=7200 # # Should laptop mode tools control the hard drive power management settings? # -CONTROL_HD_POWERMGMT=0 +CONTROL_HD_POWERMGMT=1 # # Power management for HD (hdparm -B values) # -BATT_HD_POWERMGMT=1 +BATT_HD_POWERMGMT=128 LM_AC_HD_POWERMGMT=254 NOLM_AC_HD_POWERMGMT=254 #
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor