HAL forces to set it's own APM [Solved]

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)

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

Similar Messages

Maybe you are looking for

  • What to do after Time Machine migration (how to start using TM again)

    Hello, I have just restored my system from my Time Machine (TM) backup (I have a USB hdd plugged into my airport extreme (AEB), so the TM backup is a sparsebundle file on the USB hard disk). The initial setup with migration assistant did not work - i

  • Trouble w/ items button, request not being passed

    I'm having trouble w/ a button created as a region's item. I have a search box, and a P100_GO button. The GO button generates a GO request. I then have an branching that is conditional on Request=Expression 1 and in Expression 1 I put GO. but this re

  • Problem is select query.

    Hello SDNites, I have a req where I need to use select query to fetch data. But the conditions which is to be placed in this select query has 3 checkboxes corresponding to the same field. Either of them can be selected at a time. Please let me know h

  • Will Framemaker 7.0 run on Windows 8 (64 bit)?

    I know it's a dinosaur, but Framemaker 7 still suits my purposes, as long, of course, as it will run on the latest operating system. According to the Windows 8 Compatibility Center, it's expected that FM 7 will run on Windows 8, but there's no confir

  • RSA_RSBASIDOC_READ Not Found

    Hi experts, I'm using an old version of sap (3.1h), and I'm getting this error message: Function module "RSA_RSBASIDOC_READ" not found. I've tried to find it in the se37 but it's not in there, i guess some note or patch is missing, does anyone know h