You are not logged in.

#1 2009-01-28 00:03:24

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Eefan2 script

Hello,
I recently switched from Ubuntu to Arch on my Eeepc 900 and I like it a lot as probably you all do as well smile

On my old system I used a cron script to handle the fan speed (it basically kept the sound level down a lot while giving an easy fan speed control and what not).

http://hartvig.de/2008/howto-reduce-fan … h-part-ii/

Now, before I start fiddling with this on my Arch system I need to know what to do. Anyone? Thanks in advance!

Offline

#2 2009-01-28 10:55:24

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: Eefan2 script

You can try this: http://www.gentoo-wiki.info/Asus_EEE_PC … 29-control

or this:

http://wiki.archlinux.org/index.php/Fan_speed_control

Last edited by audaly (2009-01-28 10:57:54)

Offline

#3 2009-01-28 11:44:57

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: Eefan2 script

So basically the way to do this is to put a script called e.g. eeefan2 in /etc/rc.d

!/sbin/runscript

start() {

  ebegin "Starting fan-control script"

  start-stop-daemon --start --exec /root/scripts/eeefan.sh &

  eend $? || return 1

}

stop() {

        ebegin "Stopping fan-control script"

        start-stop-daemon --stop --exec /root/scripts/eeefan.sh

        eend $?

}

chmod +x it and then point it to the eeefan2-script I linked in my first post? How do I make it start up automatically at boot?

Thanks a lot for the help audaly!

Offline

#4 2009-01-28 13:03:18

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: Eefan2 script

No it's a little more difficult!

You must:

* compile the acpi_eee module
* create the /root/scripts/eeefan.sh
* create the /etc/rc.d/eeefan (you must adapt the gentoo script to the arch way)

To test it:
* modprobe acpi_eee
* /etc/rc.d/eeefan start

If it works :
* add acpi_eee in MODULES in your rc.conf
* add eeefan to your DAEMONS in rc.conf

I'll make a PKGBUILD in AUR tomorrow if I have time...

Offline

Board footer

Powered by FluxBB