site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com James, You can build up properties with encode+. The following code: Josh On Oct 1, 2008, at 4:16 AM, James Little wrote: Hi, I hope this is not too off-topic: I can write one value by using the following command: [code]12345678 encode-int " thermal-info" property[/code] Thanks (and sorry for the rambling post), James. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/decesare%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 0 encode-int 1 encode-int encode+ 2 encode-int encode+ 3 encode-int encode+ should leave on the stack the length 4*4 and address of 16 bytes containing the long words 0, 1, 2, and 3. 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 o when the computer is definitely toasty. 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? This email sent to decesare@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Josh de Cesare