Fan control for new PowerMac G5 2.7GHz machines?

Geoff Levand geoffrey.levand at am.sony.com
Thu Aug 4 08:19:47 EST 2005


Benjamin Herrenschmidt wrote:
> On Wed, 2005-08-03 at 09:09 -0700, Geoff Levand wrote:
> 
>>Benjamin Herrenschmidt wrote:
>>
>>>>Can anyone shed some light on the fan support for these new
> 
> machines?
> 
>>>>Am I just doing something simple wrong or missing something obvious?
>>>
>>>
>>>I though it was "just working" but maybe I'm wrong ... Have you
> 
> tried a
> 
>>>2.6.12 upstream kernel ?
>>>
>>>Ben.
>>
>>It doesn't work for me with 2.6.12.3.  Any clue as to what's wrong?
> 
> 
> Not really. It's a PowerMac7,2 model ? (in /proc/cpuinfo) ? Can you
> maybe add some printk's around in the driver to see what's wrong ?
> 

Here's what it says...

[geoff at g5 ~]$ cat /proc/cpuinfo
processor       : 0
cpu             : PPC970FX, altivec supported
clock           : 2000.000000MHz
revision        : 3.0

processor       : 1
cpu             : PPC970FX, altivec supported
clock           : 2000.000000MHz
revision        : 3.0

timebase        : 33333333
machine         : PowerMac7,3
motherboard     : PowerMac7,3 MacRISC4 Power Macintosh
detected as     : 336 (PowerMac G5)
pmac flags      : 00000000
pmac-generation : NewWorld


This might be the problem, not sure how to fix though:

i2c /dev entries driver
/u3 at 0,f8000000/i2c at f8001000: Missing interrupt or address !

In therm_pm72_attach() it hits 'Found K2', but u3_0 and u3_1 
are never set, so start_control_loops() is never called.

I'll look at it more when I have some time.

-Geoff









More information about the Linuxppc64-dev mailing list