remove control of HAL CD polling
HAL is being removed from all current distributions, including Fedora. Resolves: #710920
This commit is contained in:
parent
ba38290e92
commit
2884a1ac36
4 changed files with 0 additions and 24 deletions
|
|
@ -262,25 +262,6 @@ disable_snd_ac97_powersave() {
|
|||
_snd_ac97_powersave N
|
||||
}
|
||||
|
||||
#
|
||||
# CD DRIVES tuning
|
||||
#
|
||||
|
||||
_cd_polling() {
|
||||
[ "$1" == "1" ] && opts=--enable-polling || opts=
|
||||
|
||||
cddrives=$(command ls -1 /dev/scd* 2>/dev/null)
|
||||
for i in $cddrives; do hal-disable-polling $opts --device $(readlink -f $i); done &>/dev/null
|
||||
}
|
||||
|
||||
enable_cd_polling() {
|
||||
_cd_polling 1
|
||||
}
|
||||
|
||||
disable_cd_polling() {
|
||||
_cd_polling 0
|
||||
}
|
||||
|
||||
#
|
||||
# SOFTWARE tuning
|
||||
#
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ start() {
|
|||
enable_cpu_multicore_powersave
|
||||
set_cpu_governor ondemand
|
||||
enable_snd_ac97_powersave
|
||||
disable_cd_polling
|
||||
enable_wifi_powersave
|
||||
|
||||
return 0
|
||||
|
|
@ -20,7 +19,6 @@ stop() {
|
|||
disable_cpu_multicore_powersave
|
||||
restore_cpu_governor
|
||||
enable_snd_ac97_powersave
|
||||
enable_cd_polling
|
||||
disable_wifi_powersave
|
||||
|
||||
return 0
|
||||
|
|
|
|||
|
|
@ -4,14 +4,12 @@
|
|||
|
||||
start() {
|
||||
set_disk_alpm min_power
|
||||
disable_cd_polling
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
set_disk_alpm max_performance
|
||||
enable_cd_polling
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ start() {
|
|||
set_disk_spindown 6
|
||||
|
||||
enable_usb_autosuspend
|
||||
disable_cd_polling
|
||||
disable_bluetooth
|
||||
enable_wifi_powersave
|
||||
disable_logs_syncing
|
||||
|
|
|
|||
Loading…
Reference in a new issue