CPU fan control

I've installed etch on my laptop. During the time I used Windows, I
feel the CPU temperature is lower. And now the CPU fan works when the
CPU temperature is higher than 70C and stops (or runs at a lower
speed) when it's 55C or lower. I'd like to know if it's possible to
adjust the threshold temperature like making it run faster well below
70C. Thanks!

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

CPU fan control

Hi,

On Son, 28 Jän 2007, Manu Hack wrote:

> I've installed etch on my laptop. During the time I used Windows, I
> feel the CPU temperature is lower. And now the CPU fan works when the
> CPU temperature is higher than 70C and stops (or runs at a lower
> speed) when it's 55C or lower. I'd like to know if it's possible to
> adjust the threshold temperature like making it run faster well below
> 70C. Thanks!

welcome to the world of laptops..
take a look at your /proc/acpi/thermal_zone/ direcory.

--
Florian Reitmeir

CPU fan control

Thanks all, will definitely have a look at cpufreqd. But I ran cat
/proc/acpi/fan/FAN/state, then it showed status:
off. When I echo 0 > /proc/acpi/fan/FAN/state, and checked the status
again, it showed status: on but it still didn't run at high speed
until the temperature went about 70C. Any idea?

--

CPU fan control

On Mon, 29 Jän 2007, Manu Hack wrote:

> Thanks all, will definitely have a look at cpufreqd. But I ran cat
> /proc/acpi/fan/FAN/state, then it showed status:
> off. When I echo 0 > /proc/acpi/fan/FAN/state, and checked the status
> again, it showed status: on but it still didn't run at high speed
> until the temperature went about 70C. Any idea?

very often the FAN is acpi buisness only, and there is no way of changing
that.

here some docs about ACPI
http://acpi.sourceforge.net/documentation/index.html

and for other answers .. i think the people here need some infos about the
laptop it self.

- name
- brand
- output of 'lspci'
- output of 'uname -a'
- distribution

--
Florian Reitmeir

CPU fan control

Manu,

there's a slight chance you can adjust something in the BIOS.

--

CPU fan control

Manu Hack napisał(a):
> I've installed etch on my laptop. During the time I used Windows, I
> feel the CPU temperature is lower. And now the CPU fan works when the
> CPU temperature is higher than 70C and stops (or runs at a lower
> speed) when it's 55C or lower. I'd like to know if it's possible to
> adjust the threshold temperature like making it run faster well below
> 70C. Thanks!
>
>

On HP/Compaq (nx 6310):

echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points
echo 10 > /proc/acpi/thermal_zone/TZ0/polling_frequency

cat /proc/acpi/thermal_zone/TZ0/trip_points
critical (S5): 105 C
active[0]: 78 C: devices=0xcf7aea40
active[1]: 70 C: devices=0xcf7ae9dc
active[2]: 60 C: devices=0xcf7ae98c
active[3]: 50 C: devices=0xcf7ae93c

cat /proc/acpi/thermal_zone/TZ0/polling_frequency
polling frequency: 10 seconds

--
Maciej Rutecki
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

CPU fan control

Here is some info of my laptop

Toshiba Satellite A55 s306,
uname -a:
Linux debian 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 GNU/Linux

lspci:
0000:00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)
0000:00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O
Control Registers (rev 02)
0000:00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH
Configuration Process Registers (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM
Integrated Graphics Device (rev 02)
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated
Graphics Device (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB
2.0 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA
Storage Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
AC'97 Modem Controller (rev 03)
0000:01:05.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
0000:01:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
IEEE-1394a-2000 Controller (PHY/Link)
0000:01:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (MOB)
Ethernet Controller (rev 83)
0000:01:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI
to Cardbus Bridge with ZV Support (rev 33)

--

CPU fan control

Manu Hack napisał(a):
> Here is some info of my laptop
>
> Toshiba Satellite A55 s306,

I dont' have toshiba laptop, maybe this helps:

http://tosh3k.sourceforge.net/faq.html

?

--
Maciej Rutecki
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

CPU fan control

2007/1/29, Maciej Rutecki :
> Manu Hack napisał(a):
> On HP/Compaq (nx 6310):
>
> echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points
> echo 10 > /proc/acpi/thermal_zone/TZ0/polling_frequency
>

Welcome to the world of HP :)!

I bought an nx6110 last year. After an update some time ago my fans
stopped working at all and the thermal protection kicked in at 90
degrees C.

I searched the HP support forums and found a lot of people with
similar problems - erratic fan behavior. What I gathered from there
is that the reason is buggy acpi implementation in the BIOS, even the
newest version.

There are two entries in the kernel bugzilla you might find useful,
with patches attached:

http://bugzilla.kernel.org/show_bug.cgi?id=7122
http://bugzilla.kernel.org/show_bug.cgi?id=5534

Best regards,
Rado

CPU fan control

Hi,
I have the same laptop (nx6310) but i can't achieve your command :

sudo echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points<br />
bash: /proc/acpi/thermal_zone/TZ0/trip_points: Permission non accordée

How did you do ?
I have Ubuntu 7.04
Thanks

CPU fan control

On Sat, Jul 07, 2007 at 07:35:55PM +0200, bebertii wrote:
>
> Hi,
> I have the same laptop (nx6310) but i can't achieve your command :
> [code]sudo echo "105:100:100:78:70:60:50"
> /proc/acpi/thermal_zone/TZ0/trip_points
> bash: /proc/acpi/thermal_zone/TZ0/trip_points: Permission non

perhaps you'r just missing the redirect operator '>':

# sudo echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points
^^^

assuming, of course, that you're running as a user who has permisson to run
sudo

--
paolo

--

CPU fan control

Paolo wrote:
> perhaps you'r just missing the redirect operator '>':
>
> # sudo echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points

That won't work.

> assuming, of course, that you're running as a user who has permisson to run
> sudo

sudo is only running the "echo stuff" part. Your shell is doing the
redirection as the current user, so if the current user doesn't have
write access to the destination file, it won't work. Try it.

What you want is something more like this:

sudo sh -c "echo '105:100:100:78:70:60:50' > /proc/acpi/thermal_zone/TZ0/trip_points"

Be careful of the quoting.
--
Sam Couter | mailto:sam@couter.id.au
| jabber:sam@teknohaus.dyndns.org
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C

CPU fan control

On Sun, Jul 08, 2007 at 09:24:34AM +1000, Sam Couter wrote:
> What you want is something more like this:
>
> sudo sh -c "echo '105:100:100:78:70:60:50' > /proc/acpi/thermal_zone/TZ0/trip_points"

yep, correct.
--
paolo

--

CPU fan control

I have modified this file with the correct command.
I'm not very familiar with bash "subtleties" :)
It seems to work, temperature is around 50°C for now
thanks

CPU fan control

I tested this
dd if=/dev/urandom of=/dev/null
twice to see if temperature is better regulated.
But /proc/acpi/thermal_zone/TZ0/trip_points are always modified by the default values, so new values are not used.

CPU fan control

bebertii wrote:
> I tested this
> dd if=/dev/urandom of=/dev/null
> twice to see if temperature is better regulated.

I think you are trying to run a high cpu load with that command. But
using (pseudo)random bits from the kernels entropy pool can degrade
the randomness for other programs that need use of those bits.
Fortunately it is easy to generate a high cpu load by running other
cpu intensive tasks. Here are a couple of suggestions.

$ yes | sha1sum

$ perl -e '$t=1; while (1) { $t = sqrt $t }'

Bob

--

CPU fan control

> $ yes | sha1sum

That's a nice one. It's really fascinating to run it with a loadmonitor open, like
taskset 01 yes | sha1sum
taskset 03 yes | sha1sum
to see a dualcore's different affinities. (Where 03 should be equal to the defult)

CPU fan control

On Sun, 2007-01-28 at 23:38 -0500, Manu Hack wrote:
> I've installed etch on my laptop. During the time I used Windows, I
> feel the CPU temperature is lower. And now the CPU fan works when the
> CPU temperature is higher than 70C and stops (or runs at a lower
> speed) when it's 55C or lower. I'd like to know if it's possible to
> adjust the threshold temperature like making it run faster well below
> 70C. Thanks!
>
>
try to load some additional modules like

cpufreq-userspace
speedstep-centrino || powernow-k7 (for amd's) || powernow-k8 (for amd64)

write them in /etc/modules on my acer laptop works fine on an hp and on
a vaio too

--
|_|O|_| Andrea Ferraresi
|_|_|O| GnuPG key ID = 0x3817D93A
|O|O|O| Key FP = CFE7 223E EB7A E729 9675 BA93 5152 C043 3817 D93A
web log = http://spawn.noblogs.org

Syndicate content