You are not logged in.

#1 2007-11-19 04:17:44

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

control fan speed/cpu temp with out lm-sensors???

Does anyone know if it is possible to adjust cpu fan speed, or even just how to turn the cpu fan on or off without installing lm-sensors.  I ask because i want to put together a script that will keep my laptop cool by running the fan fairly regularly so it is comfortable to keep on my lap. 

OR

Is there a way to tell my cpu fan to turn on at a lower temperature and cool the processor to a lower temperature?

unfortunately i can't use lm-sensors for either of these becaue it currently doesn't seem to recognise my cpu temp sensors

Offline

#2 2007-11-19 04:25:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: control fan speed/cpu temp with out lm-sensors???

Well that depends... What type of laptop is it?

Offline

#3 2007-11-19 05:51:16

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: control fan speed/cpu temp with out lm-sensors???

It is a Toshiba Tecra A2 with a intel centrino 1.5 Ghz processor (single core) the motherboard is possibly an intel 855GME

I don't know if this is relevant, but I can currently check the temperature of the CPU ( I assume) in the file /proc/acpi/termal_zone/THRM/temperature but this is only updated when the fan is turned on or off

Last edited by stevesutt89 (2007-11-19 06:06:27)

Offline

#4 2007-11-19 06:01:17

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: control fan speed/cpu temp with out lm-sensors???

Offline

#5 2007-11-19 09:14:52

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: control fan speed/cpu temp with out lm-sensors???

erm ...i'm having troubles compiling it...
at least it seems to compile ok but then it when i type toshset in the command line nothing happens

Offline

#6 2007-11-19 09:34:24

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: control fan speed/cpu temp with out lm-sensors???

wait, I found a binary of the toshset on the toshset home page ( http://www.schwieters.org/toshset/ )  and i got that working. However when execute
toshset -fan on
i just get the error message:

 HCI error setting fan
        HciFunction returned: NOTREADY

any ideas

EDIT: i discovered that i think that i need to patch the  toshiba_acpi module in my kernel with the experimental version and then remove the toshiba module as it causes conflicts.  This means i have a bit of a catch 22 situation where I need to load the toshiba module to get toshset working, but this stops it from being able to access the hardware....

Last edited by stevesutt89 (2007-11-19 10:14:21)

Offline

#7 2007-11-19 12:52:35

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: control fan speed/cpu temp with out lm-sensors???

I'm assuming the silence means that i have to compile the kernel with the experimental toshiba_acpi support.....cause i really don't want to do that.....

Offline

#8 2007-11-19 13:08:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: control fan speed/cpu temp with out lm-sensors???

stevesutt89 wrote:

I'm assuming the silence means that.....

Or it means that the rest of the world is not in the Australian timezone and is just emerging from bed.  big_smile  (I'm in Brisbane)

Did you have a good read through the notes in the source code.  typically there is a file called "README" and "INSTALL" in the source that give a good explanation about how to get things running.  You might just be missing a dependency and don't need to recompile things.

Offline

#9 2007-11-19 21:56:16

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: control fan speed/cpu temp with out lm-sensors???

Allan wrote:

Or it means that the rest of the world is not in the Australian timezone and is just emerging from bed.  big_smile  (I'm in Brisbane)

no worries.....i was just checking if anyone knew if a kernel compile was avoidable, becasue once you do it once you have to keep on comiling the kernel if you want a new one.....oh well it doesn't seem that i'll have this problem as it doesn;t look like the patches are updaed very often

hang on what am i talking about, this is why i'm using arch linux.....to be a nerd and do everything by hand....;)

Oh and i did have a proper read through the README file and no mention of any dependancies is made (is was quite a short readme file whose only useful information was "do ./configure , make , make install"

Last edited by stevesutt89 (2007-11-19 22:09:31)

Offline

Board footer

Powered by FluxBB