jimjamyahauk
Well-known member
Hi All,
I've been delving around in open firmware on my Pismo to see if I can control the internal fan, or at least set a better temp. for it to come on at.
In the device tree I've found the via-pmu, and under this is a node called 'power-mgt'. A property of this is called 'thermal-info'. As far as I know this must be related to the temp sensor in the Pismo because the G4 chip I have in it doesn't have the thermal assist temp diode on the chip enabled.
To check that this was specific to the Pismo I found the same 'power-mgt' property on a Digital Audio G4, which had everything listed the same, apart from the 'thermal-info', which was missing.
I've now hit a problem. There are 4 values of data encoded in open firmware for the 'thermal-info'. I believe they are the limits for the fan, as they do not change from boot up to when the computer is definitely toasty.
I can write one value by using the following command:
However, I need to be able to write all 4 values - and I don't know the open firmware commands to do this... could anyone help?
Thanks (and sorry for the rambling post),
James.
I've been delving around in open firmware on my Pismo to see if I can control the internal fan, or at least set a better temp. for it to come on at.
In the device tree I've found the via-pmu, and under this is a node called 'power-mgt'. A property of this is called 'thermal-info'. As far as I know this must be related to the temp sensor in the Pismo because the G4 chip I have in it doesn't have the thermal assist temp diode on the chip enabled.
To check that this was specific to the Pismo I found the same 'power-mgt' property on a Digital Audio G4, which had everything listed the same, apart from the 'thermal-info', which was missing.
I've now hit a problem. There are 4 values of data encoded in open firmware for the 'thermal-info'. I believe they are the limits for the fan, as they do not change from boot up to when the computer is definitely toasty.
I can write one value by using the following command:
Code:
12345678 encode-int " thermal-info" property
Thanks (and sorry for the rambling post),
James.