Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-03 Thread Gerfried Fuchs
On Mon, Jul 02, 2007 at 06:19:04PM +0200, booster wrote:
 Matthew Polashek wrote:
 OK so after snooping around and with everyone's help I've come to 
 understand that my powerbook G4 17 has 2 sensors.  I believe there is on 
 on top of the processor and one below, but that could be wrong.
 
 One should be the CPU temperature sensor (sensor1) and the other one the 
 GPU temperature sensor (sensor2).

 Yes.

 I know that the HD could also deliver temperature data (there are
 applications in MacOS X that can read it) but I did not yet find a
 suitable solution for Linux (didn't try hard tough).

 The GNOME Sensors Applet for the panel displays them all three to me,
including the fan speed.
 
 So long,
Rhonda


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-03 Thread Matthew Polashek
Gotcha.  Yes, GPU, CPU, and fan speed are displayed.  There is also a  
Hard drive temp sensor, and a battery temp sensor on my machine.



Matthew Polashek




On Jul 3, 2007, at 2:00 AM, Gerfried Fuchs wrote:


On Mon, Jul 02, 2007 at 06:19:04PM +0200, booster wrote:

Matthew Polashek wrote:

OK so after snooping around and with everyone's help I've come to
understand that my powerbook G4 17 has 2 sensors.  I believe  
there is on

on top of the processor and one below, but that could be wrong.


One should be the CPU temperature sensor (sensor1) and the other  
one the

GPU temperature sensor (sensor2).


 Yes.


I know that the HD could also deliver temperature data (there are
applications in MacOS X that can read it) but I did not yet find a
suitable solution for Linux (didn't try hard tough).


 The GNOME Sensors Applet for the panel displays them all three to me,
including the fan speed.

 So long,
Rhonda


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact  
[EMAIL PROTECTED]






Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-02 Thread Gaudenz Steinlin
On Sun, Jul 01, 2007 at 10:14:14PM +0200, Andreas Schreiner wrote:
 
 
 Gerfried Fuchs wrote:
 On Sat, Jun 30, 2007 at 02:28:45PM -0400, Matthew Polashek wrote:
 I am running Ubuntu Feistey on a G4 Powerbook 17 1.5 and the processor
 fan doesn't seem to kick on.  Any suggestions?
  I am running Debian lenny on a G4 Powerbook 15 1.6 and the processor
 fan kicks quite well.  Propably you would either want to ask on an
 Ubuntu list (no idea at all what kernel Feistey is using, for a
 start...) or switch over to Debian if you want to stay on this list.
 You can download the images from http://www.debian.org/CD/netinst/.
 
 Try to unload the therm_adt746x Kernel module!
 
 I run Debian Etch on a 1.5 Ghz PowerBook (although it is a 12 model)
 and made the experience that the hardware manages its thermal conditions
 better than the mentioned Linux Kernel module.
 
 Run modprobe -r therm_adt746x with root permissions from a Terminal
 and see if the fan kicks in earlier. (You may have to uncomment the
 according line from the /etc/modules file to prevent the module from
 loading at the next boot.

By default the therm_adt746x module lowers the maximum temparatures. But
you can control this with the module parameter limit_adjust. 

That said I'm not sure if it's wise to increase the maximum
temparatures, because it could damage your hardware on the long run. The
fan on my pb 15 (pb5,8 1,67GHz) does not run (or very low speed) most
of the time. I'm not sure why yours should run significantly hotter.

Gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-02 Thread booster


By default the therm_adt746x module lowers the maximum temparatures. But
you can control this with the module parameter limit_adjust. 


That said I'm not sure if it's wise to increase the maximum
temparatures, because it could damage your hardware on the long run. The
fan on my pb 15 (pb5,8 1,67GHz) does not run (or very low speed) most
of the time. I'm not sure why yours should run significantly hotter.



This is correct but unfortunately the standard values seem to suit the 
last (1.3 Ghz and above) PowerBook models as far as I experienced.


This means the fan kicks in relatively late if you use the standard 
settings (limit_adjust=0) and the PowerBook gets pretty hot (at least 
the 12 models).


You can lower the temperature where the module starts the fan by using 
the limit_adjust value (setting it to -5 for example) but this causes 
another big problem. The therm_adt746x module shuts down the Powerbook 
intantly if the temperature reaches a maximum value for some time (not 
sure how long but some 10 seconds at least is my guess). The default 
shutdown temperature is 70 degrees C at the processor thermal sensor 
which will be reached in very processing intense tasks (compiling a 
kernel will shut down the PowerBook hard - not a good thing)


The upper temperature limit is also effectet by the limit_adjust value 
and setting it to -5 will lead to a heat related shutdown at only 65 
degrees C. This temperature can be reached easily in more or less normal 
working conditions and renders the limit_adjust option pretty unusable.


Just as a clarification - my experiences are limited to 12 PowerBook 
models and maybe bigger models will deal with the heat in a better way. 
But one observation I made is that the hardware, without the 
therm_adt746x module) can manage its fans by itself - seemingly very 
much similar to the OS X thermal management. So unloading the module and 
letting the hardware taking care of itself might be a good idea and 
should be possible on all of the latest PowerBook generations as well.


If anyone would like to improve the therm_adt746x model I would also not 
complain. I looked into the source already but my very limited programin 
abilities (no C at all yet) mean that it will be some time before I dare 
to change the Kernel myself.


good luck
Andreas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-02 Thread Matthew Polashek
OK so after snooping around and with everyone's help I've come to  
understand that my powerbook G4 17 has 2 sensors.  I believe there is  
on on top of the processor and one below, but that could be wrong.   
The have limits set to work at different times.  Apparently I'm a  
nervous nelly because the fan seems to be kicking on just fine, just  
at a higher temperature than I though they would.  ANyway, there are  
parameters that one can set to change when the fan kicks on.  I'm not  
going to mess with it.  Thanks for the help!



Matt



On Jul 2, 2007, at 8:00 AM, booster wrote:

By default the therm_adt746x module lowers the maximum  
temparatures. But
you can control this with the module parameter limit_adjust.  
That said I'm not sure if it's wise to increase the maximum
temparatures, because it could damage your hardware on the long  
run. The
fan on my pb 15 (pb5,8 1,67GHz) does not run (or very low speed)  
most

of the time. I'm not sure why yours should run significantly hotter.



This is correct but unfortunately the standard values seem to suit  
the last (1.3 Ghz and above) PowerBook models as far as I experienced.


This means the fan kicks in relatively late if you use the standard  
settings (limit_adjust=0) and the PowerBook gets pretty hot (at  
least the 12 models).


You can lower the temperature where the module starts the fan by  
using the limit_adjust value (setting it to -5 for example) but  
this causes another big problem. The therm_adt746x module shuts  
down the Powerbook intantly if the temperature reaches a maximum  
value for some time (not sure how long but some 10 seconds at least  
is my guess). The default shutdown temperature is 70 degrees C at  
the processor thermal sensor which will be reached in very  
processing intense tasks (compiling a kernel will shut down the  
PowerBook hard - not a good thing)


The upper temperature limit is also effectet by the limit_adjust  
value and setting it to -5 will lead to a heat related shutdown at  
only 65 degrees C. This temperature can be reached easily in more  
or less normal working conditions and renders the limit_adjust  
option pretty unusable.


Just as a clarification - my experiences are limited to 12  
PowerBook models and maybe bigger models will deal with the heat in  
a better way. But one observation I made is that the hardware,  
without the therm_adt746x module) can manage its fans by itself -  
seemingly very much similar to the OS X thermal management. So  
unloading the module and letting the hardware taking care of itself  
might be a good idea and should be possible on all of the latest  
PowerBook generations as well.


If anyone would like to improve the therm_adt746x model I would  
also not complain. I looked into the source already but my very  
limited programin abilities (no C at all yet) mean that it will be  
some time before I dare to change the Kernel myself.


good luck
Andreas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact  
[EMAIL PROTECTED]






Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-02 Thread booster



Matthew Polashek wrote:
OK so after snooping around and with everyone's help I've come to 
understand that my powerbook G4 17 has 2 sensors.  I believe there is on 
on top of the processor and one below, but that could be wrong.


One should be the CPU temperature sensor (sensor1) and the other one the 
GPU temperature sensor (sensor2). I know that the HD could also deliver 
temperature data (there are applications in MacOS X that can read it) 
but I did not yet find a suitable solution for Linux (didn't try hard 
tough).


Andreas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-02 Thread Elimar Riesebieter
On Mon, 02 Jul 2007 the mental interface of
Matthew Polashek told:

 OK so after snooping around and with everyone's help I've come to 
 understand that my powerbook G4 17 has 2 sensors.  I believe there is on on 
 top of the processor and one below, but that could be wrong.  The have 
 limits set to work at different times.  Apparently I'm a nervous nelly 
 because the fan seems to be kicking on just fine, just at a higher 
 temperature than I though they would.  ANyway, there are parameters that 
 one can set to change when the fan kicks on.  I'm not going to mess with 
 it.  Thanks for the help!

A small script to check temps of (g|c)pu and hdd:

--
#! /bin/sh

FANSPEEDCPU=`LC_ALL=de_DE_DE cat /sys/devices/temperatures/sensor1_fan_speed | 
sed -e s#rpm#U\/min#`

dialog --title  Temperatures of my AlBook G4  \
   --backtitle  `cat /proc/version` at `hostname -f`  \
   --infobox \
  cpu fan speed:   $FANSPEEDCPU \n \
 cpu limit:   `LC_ALL=de_DE cat 
/sys/devices/temperatures/sensor1_limit` °C\n \
 cpu temperature: `LC_ALL=de_DE cat 
/sys/devices/temperatures/sensor1_temperature` °C\n \
 gpu limit;   `LC_ALL=de_DE cat 
/sys/devices/temperatures/sensor2_limit` °C \n \
 gpu temperature: `LC_ALL=de_DE cat 
/sys/devices/temperatures/sensor2_temperature` °C\n \
 limit adjust:`LC_ALL=de_DE cat /sys/devices/temperatures/limit_adjust` 
\n \
 specified fan speed: `LC_ALL=de_DE cat 
/sys/devices/temperatures/specified_fan_speed` \n \
 hdd temp:`LC_ALL=de_DE hddtemp /dev/hda | awk '{print $4}'| sed -e 
s/°/\ °/` 12 45

# vim:tw=120
---

Elimar



-- 
  It's a good thing we don't get all 
  the government we pay for.



Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-01 Thread Gerfried Fuchs
On Sat, Jun 30, 2007 at 02:28:45PM -0400, Matthew Polashek wrote:
 I am running Ubuntu Feistey on a G4 Powerbook 17 1.5 and the processor
 fan doesn't seem to kick on.  Any suggestions?

 I am running Debian lenny on a G4 Powerbook 15 1.6 and the processor
fan kicks quite well.  Propably you would either want to ask on an
Ubuntu list (no idea at all what kernel Feistey is using, for a
start...) or switch over to Debian if you want to stay on this list.
You can download the images from http://www.debian.org/CD/netinst/.

 So long,
Rhonda


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G4 Powerbook System Fan UBUNTU Feisty

2007-07-01 Thread Andreas Schreiner



Gerfried Fuchs wrote:

On Sat, Jun 30, 2007 at 02:28:45PM -0400, Matthew Polashek wrote:

I am running Ubuntu Feistey on a G4 Powerbook 17 1.5 and the processor
fan doesn't seem to kick on.  Any suggestions?


 I am running Debian lenny on a G4 Powerbook 15 1.6 and the processor
fan kicks quite well.  Propably you would either want to ask on an
Ubuntu list (no idea at all what kernel Feistey is using, for a
start...) or switch over to Debian if you want to stay on this list.
You can download the images from http://www.debian.org/CD/netinst/.


Try to unload the therm_adt746x Kernel module!

I run Debian Etch on a 1.5 Ghz PowerBook (although it is a 12 model)
and made the experience that the hardware manages its thermal conditions
better than the mentioned Linux Kernel module.

Run modprobe -r therm_adt746x with root permissions from a Terminal
and see if the fan kicks in earlier. (You may have to uncomment the
according line from the /etc/modules file to prevent the module from
loading at the next boot.

good luck,
Andreas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]