You are not logged in.
Hello, i come from debian, and well, when I install and configure properly laptop-mode-tools on it, running in battery mode makes my laptop spin down my hardisk, fans, etc... Saving lot of battery. Stopping cron, anacron, atd, configuring syslog to improve writes to hard disk...
In archlinux, i have made this: pacman -S laptop-mode-tools, and I have installed it. I have configured it exactly as debian, but the hard disk doesn't spin down, the fans runs at maximum speed consuming lot of battery, and I don't know why, something (surely any log daemon) is writing all time on the disk.
what daemons (or what steps i have to do to configure laptop mode properly) I must stop and what daemons i must enable to have the correct functionallity of laptop-mode-tools? I can't give now the list of my daemons, but i only have activated daemons for wireless network, hal, hwd. crond and other daemons are disabled.
Any ideas?
Greetings
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Hi,
this is my first post and it indicates my newbishness with Arch Linux.
Anyways: Did you activate the laptop-mode daemon in the rc.conf?
Greetings
André
Offline
let me try when i get home
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Success?
Improved my battery lifetime a bit but there is still room for improvement (2h now compared to 3h with windows, but had only 1h before ;-)).
Offline
Are you spinning down the cpu (if possible) using something like cpufreq?
I am a gated community.
Offline
Yep,
cpufreq is installed. I will start another thread later to discuss this because i would not like to capture Devigetto's thread.
Thanks for the idea anyways and hop you take a look at my thread later.
Greetings
André
Offline
Well, laptop-mode-tools was also installed, but you weren't starting it. Are you starting cpufreq? ;-)
I am a gated community.
Offline
Laptop-mode-tools, when properly configured, can control also you cpu frequency and lots of other things, including the blanking timeouts in X and consoles. Its configuration file is excellently commented.
Mortuus in anima, curam gero cutis
Offline
Hi. I'm setting up laptop-mode at the moment and I've a few questions:
1. Why cann't I start it manually?
$ sudo laptop_mode force
Laptop mode disabled, not active.
2. How can I start it at boot?
I know /etc/rc.conf is the place to state daemons but how can I put "laptop-mode start" in there?
Thanks!
Offline
Hi. I'm setting up laptop-mode at the moment and I've a few questions:
2. How can I start it at boot?
I know /etc/rc.conf is the place to state daemons but how can I put "laptop-mode start" in there?Thanks!
Just add laptop-mode to the daemon line and it will start it. There is no need to add the start or stop command in the rc.conf file.
Offline
Works beautifully now, thank you! In retrospect I should've seen it - laptop_mode is the daemon that enables or disables power saving features when it detects a power source change - the point when the daemon executes "laptop_mode start" or "laptop_mode stop". So what I was trying to do above was tell the daemon to start saving power but there was no daemon started!
The only CPU power saving feature I miss now is linux-phc for undervolting. Too bad it's a kernel patch - I don't like recompiling it.
Last edited by bartman (2007-07-29 19:39:03)
Offline
Just for future reference, all the daemons you can possibly put in rc.conf are located in /etc/rc.d/ Just put the name of the file in that folder into the DAEMONS line in /etc/rc.conf to start it at boot.
Offline
If I were you, I would just go with the "powersave" package:
The powersave package provides global power management tasks. It supports battery monitoring, userspace workarounds for proper suspend/standby functionality and more.
It's very easy to setup and it will handle your CPU scaling, suspend/hibernate functions, etc. It's available from the official repos and you can follow the tutorial from the Dell Inspiron 6400 wiki:
thayer williams ~ cinderwick.ca
Offline
tom5760: Good to know, thanks.
thayer.w: I already have powersaved installed and configured. At the moment laptop_mode doesn't want to set the correct powersave governor when on battery. Laptop-mode has a bunch of features that aren't in powersaved so I don't see why I should stick with just powersaved!
Offline
Someone should start a wiki entry on laptop-mode, I have problems getting the thing to work effectively also.
Offline
That `someone' should be bruenig... What about it?
Offline
Feel free to email me if you need anything - I'd love to have a super-charge laptop-mode-tools in arch, but I just don't have the time to mess with it too much, but I am here if you guys need something.
Offline
I have laptop mode all configured, and it's set to start the daemon when it boots (rc.conf). It works excellently when it boots, but it doesn't autodetect when I remove/insert the AC. If I run "/sbin/laptop_mode auto", it detects, but it doesn't do it automatically.
Is there a modification I need to make to my system somewhere to get laptop-mode-tools to automatically detect the status of my AC?
I'm running kernel 2.6.23-rc3 (needed a bugfix to boot) with the noapic, acpi_osi=!Linux, irqpoll, and noirqdebug options.
~~ Andrew D.
Offline
do you have acpid daemon running? Normally laptop-mode inserts a bunch of commands into acpid daemon scripts so that the mode is changed whenever acpid detects a change of power source.
Offline
Yes, acpid is running. It still doesn't detect the status of my AC adapter.
Offline