LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   my fan finally shut up! (http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/my-fan-finally-shut-up-314287/)

kevinlyfellow 04-17-2005 06:13 PM

my fan finally shut up!
 
I've spent years trying to figure out how to get my fan to slow down. It was alway on full speed when I started off with Red Hat in 02... apm never seemed to work for me, then when the 2.6 kernel came out, acpi would hang. Well I upgraded to 2.6.10 (using Ubuntu now) and finally acpi didn't cause my computer to hang during the boot! I was getting closer!

But I was very much annoyed by acpi because when it tries to read the cpu temperature, it tells me that it it is 4294967313.0 Kelvin, which was roughly the temperature of the universe when it was 10 seconds old. :scratch:

Finally I came across a site which made some reference to the command:

echo 3 >/proc/acpi/fan/FAN1/state

When I hit enter, it automatically went quite. I took the cover of my computer to check to make sure it didn't stop all together, and sure enough, it was simply running at the correct angular speed.

The next step was to get this to happen when my system starts up. Unfortunatly I cannot find any complete description on how to write and run your own scripts at startup... so instead I just added the command to acpi-support script. Low and behold, I rebooted my machine and it was quiet!

To make sure I played with commenting this line out because I almost felt like I was going mad... I never had my linux box so quiet!

_UnPrEdictAbLe_ 05-15-2005 08:02 PM

My fans are still not detected... /proc/acpi/fan directory is empty !!

I am using Fedora Core 2 on kernel 2.6.10-1.14_FC2 on a Intel Pentium 4 - 2.8 GHz HT/Intel 865GBF motherboard. Even gkrellm does not detect any.

Any hints?

Thanks.
Unpredictable

kevinlyfellow 05-16-2005 04:50 PM

the only thing I can think of (I am far far from an expert on this topic) is that maybe acpi hasn't been installed correctly... see if the command acpi -t does anything. If acpi doesn't work, try to use apm. acpi is still fairly new and kinda buggy from what I gather.

_UnPrEdictAbLe_ 05-16-2005 07:06 PM

There is no executable like 'acpi' in my system. There is a service called 'acpid'.

Code:

[root@localhost root]# locate acpi | grep bin
/usr/sbin/acpid
/usr/bin/klaptop_acpi_helper
/usr/src/linux-2.6.5-1.358/drivers/acpi/tables/tbinstal.c
/usr/src/linux-2.6.5-1.358/drivers/acpi/pci_bind.c
/other/usr/bin/acpi
/other/usr/bin/acpi_listen
/other/usr/bin/acpi_available
/other/usr/bin/klaptop_acpi_helper
/other/usr/sbin/acpid

(/other refers to a different distro)

Also, these are the installed packages...
Code:

[root@localhost root]# rpm -q --all | grep acpi
acpid-1.0.2-6

Does acpid not do the same job as acpi ? Should I install acpi also? Won't that conflict with this one?

kevinlyfellow 05-17-2005 09:33 PM

acpid is the daemon for monitoring acpi events. acpi support should have been built into the kernel. Check grub to see if it has acpi turned off (this is necessary sometimes because acpi will often hang while booting). but the best advice I can give is start a thread in a different forum so that more people are likely to view your questions and someone more qualified than me can answer them.


All times are GMT -5. The time now is 12:33 PM.