>Hi,
>My laptop (Dell Inspiron 4100) makes high pitched noise when Linux (RedHat 8)
>is running. It doesn't make that noise when Windows is running. I did some
>search on internet and found that it might be related to the APM idle CPU call.
>Does anyone know how to disable APM idle CPU call?
>Thanks.
>SP
You should be able to *en*able it if you build your own kernel
from source. This shouldn't be too hard; basically you'd
install the kernel-source-2.4.18-NN.i386.rpm RPM
(whatever version number NN is)
cd /usr/src/linux-2.4.18
cp configs/kernel-2.4.18-i686.config ./.config
make xconfig
Under "General Setup", look for Advanced Power Management BIOS support,
and click the "Make CPU Idle calls when idle" button.
I haven't looked at Red Hat 8, but it's been disabled
on earlier Red Hat kernels.
On the main panel, Save the changed configuration.
make dep
make bzImage modules (this will take quite a while)
make modules_install
make install
mkinitrd /boot/initrd-2.4.18-NNcustom.img 2.4.18-NNcustom
check GRUB documentation ("man grub") to add the new kernel
to the list of kernels it knows how to boot. (I use lilo,
so don't know how, but "man grub" should help.)
BUT... the above change may well not help you --
read the stuff below first.
Can you tell whether the whine comes from the laptop fans
or from somewhere else, e.g. the power supply or something?
On my Dell Latitude C600 (running RH 7.3 kernels, and also 2.4.20-pre11,
using APM) the fans go into high gear after I suspend (Fn-Esc) and resume.
The fans run fast even though the machine is obviously still cool.
Rebooting from power-down state, the fans behave well -- initially off,
then going on low speed if the CPU grinds for a while.
Windows presumably uses the ACPI facility. I've tried building
2.4.20-pre11 plus the Linux ACPI code patch --
http://www.sourceforge.net/projects/acpi/ using the 20021022
patch against 2.4.20-pre11. The fans may be controllable,
but suspend-to-ram (echo "1" > /proc/acpi/sleep) doesn't work at
all -- the system shuts down but won't resume -- so I haven't
kept using it.
You may get some joy from the Dell-specific "i8k" kernel module
plus user utilities at
http://www.debian.org/~dz/i8k/
For me, forcing the fan state to "off" (i8kctl fan 0 0)
several times per second keeps them mostly quiet, with some
annoying pulsing as the BIOS tries to switch them back on.
NCSA, University of Illinois Urbana-Champaign