[PATCH] ugly hack to make therm_pm72 work on XServe G5
From: Harald Welte <laforge@gnumonks.org>
Date: 2004-08-05 11:43:48
Hi! I've now figured out most of the details on the Apple FCU setup on my Dual G5 XServe ClusterNode. In case anybody is interested, attached is a ugly hack to add support for RackMac3,1 to therm_pm72.c and make the machine a bit less noisy. I'm now working on a completely new FCU driver that just exports the fan RPM / PWM, voltage/current/... to userspace. I think some userspace process can then take care about the policy when and how to blow what amount of air through the individual fans. My main problem is that the machine will be installed in some rack 500km away, so I can't really make sure that any further driver development will actually work as expected. ;) Just in case anybody else wants to dive into this issue, please contact me before, I already discovered quite a lot more about the FCU/i2c/... setup in the RackMac3,1 than what is visible in this patch. (attached also a small userspace program to hard-code the fans to some rpm/pwm) -- - Harald Welte [off-list ref] http://www.gnumonks.org/ ============================================================================ Programming is like sex: One mistake and you have to support it your lifetime