ubuntuusers.de

tlp_usbautosuspend0

Datum:
11. Juni 2010 12:09
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# tlp - Parameters for power save
 
# Set to 0 to disable/1 to enable TLP
TLP_ENABLE=1
 
# Seconds laptop mode has to to wait after the disk goes idle before doing a sync.
# Non-zero value enables, zero disables laptop mode.
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
 
# Dirty page values (timeouts in secs).
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=15
        
# Change CPU voltages aka "undervolting" - Kernel with PHC patch required
# Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
# CAUTION: only use this, if you thoroughly understand what you are doing!
#PHC_CONTROLS="F:V F:V F:V F:V"
# Hint: this feature ist disabled by default, remove the leading # to enable it.
 
# Hard disk devices, separate with spaces (default: sda).
DISK_DEVICES="sda"
 
# Hard disk advanced power management level: 1(max saving)..254(off)
# Levels 1..127 spin down the disk.
DISK_APM_LEVEL_ON_AC=254
DISK_APM_LEVEL_ON_BAT=128  
 
# SATA Link Power: min_power/medium_power/max_performance
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
 
# Wifi power save mode: 1=disable/5=enable
# (Kernel >= 2.6.32, some adapters only!)
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=1
 
# Disable wake on lan: Y/N
WOL_DISABLE=Y
 
# Enable power save for Intel HDA, AC97 devices (timeout in secs).
# A value of 0 disables / >=1 enables power save.
SOUND_POWER_SAVE=1
# Disable controller too (HDA only): Y/N
SOUND_POWER_SAVE_CONTROLLER=Y
 
# Set to 1 to power off optical drive in UltraBay (ThinkPads only) 
# when running on battery. A value of 0 disables this Feature (Default).
# Drive can be powered on again by releasing (and reinserting) the
# eject lever or by pressing the disc eject button on newer models.
# Note: an UltraBay hard disk is never powered off.
BAY_POWEROFF_ON_BAT=1
# Optical drive device to power off (default sr0)
BAY_DEVICE="sr0"
 
# Set to 0 to disable/1 to enable usb autosuspend feature
USB_AUTOSUSPEND=0
 
# Devices from the following list are excluded from usb autosuspend
# (separate with spaces). Use lsusb to get the id's.
#USB_BLACKLIST="1111:2222 3333:4444"
# Hint: this feature ist disabled by default, remove the leading # to enable it.
 
# Devices to disable on startup: bluetooth/wifi/wwan
DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
# Hint: this feature ist disabled by default, remove the leading # to enable it.
 
# Devices to disable on shutdown: bluetooth/wifi/wwan
# (workaround for devices that are blocking shutdown)
#DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
# Hint: this feature ist disabled by default, remove the leading # to enable it.
 
# Battery charge thresholds (ThinkPad only, tp-smapi kernel module required)
# Charging starts when the remaining capacity falls below the START_CHARGE_TRESH
# value and stops when exceeding the STOP_CHARGE_TRESH value.
# Main battery (values in %)
START_CHARGE_THRESH_BAT0=50
STOP_CHARGE_THRESH_BAT0=90
# Ultrabay battery (values in %)
#START_CHARGE_THRESH_BAT1=96
#STOP_CHARGE_THRESH_BAT1=100
# Hint: this feature ist disabled by default, remove the leading #s to enable it.
 
#TLP_DEBUG="run rf pm usb sysfs"