You are not logged in.
Pages: 1
Hello,
I have a problem with HAL on my two laptops: Dell E6400 and M4400.
When Hal is started it forces it's own APM settings. I set my own in laptop-mode-tools.
While using battery my APM is 1, using AC Adapter 192. It's very annoying and harmful to disk.
When I don't start Hal at boot or kill it by using /etc/rc.d/hal stop, my APM setting in laptop-mode-tools works great -> battery 192, AC 254.
I'm using KDE 4.4.5, kernel 2.6.43-ARCH. I tried hal + xfce and gnome with the same results.
Now I'm working with hal disabled, it's a little bit annoying because I can't use suspend to ram, storage automount and other power settings in KDE (like display dim), but APM looks good.
Thank you in advance,
Konrad.
Last edited by redskolnikow (2010-08-16 00:01:26)
Offline
hal calls to pm-utils.
you can configure the default values or directly disable harddrive management with:
touch /etc/pm/power.d/harddrive
Offline
djgera give the answer, but you can control APM settings with pm-utils too if you want to change the defaults, and PowerDevil (kde) would use that.
Simple write something like this in /etc/pm/power.d/harddrive and make the file executable:
# Default values on battery
DRIVE_SPINDOWN_VALUE_BAT="${DRIVE_SPINDOWN_VALUE_BAT:-6}"
DRIVE_WRITE_CACHE_BAT="${DRIVE_WRITE_CACHE_BAT:-0}"
DRIVE_POWER_MGMT_BAT="${DRIVE_POWER_MGMT_BAT:-1}"
DRIVE_ACOUSTIC_MGMT_BAT="${DRIVE_ACOUSTIC_MGMT_BAT:-2ad1r54}"
Change the default value in the bold text above
Offline
Thanks djgera and Richer!
This is exactly what I needed!
Offline
Pages: 1