Benches Vintage and obsolete

12

OSX Fan Extension Mod: Applefan.kext does…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I remember using this when tiger came out, then through the later updates of Tiger I could not get it to work.

Tried it with OS X 10.5X and don't notice it working.

Anyone have it working lately?

http://bitsandpieces.info/MDDFanExtensionMod.htm

12 replies

Sign in or join Beachball Help to reply.

  1. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I've tried to lower the fan settings by as much as 20 deg C just to see if it works.

    Nothing changes.

    Anyone know how to adjust the fan settings with the applefan.kext?

  2. 0

    Nadav

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Patrick,

    Be very careful when using those kexts. You don't want to overdo it but yes, your MDD will get cool rather quick. I think it only works for Tiger, but you can try it in Leopard.

  3. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hey Nadav,

    I can't make it work in Leopard?

    I see no use in adding a fan to the rear of the cpu if it will just make the main cpu fan work less.

    Rather make the main cpu fan do a little more work before deciding to add a rear fan.

    Anyways, this is a no go under Leopard so far.

  4. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Actually, the applefan.kext opens with a property list editor that also has a dump feature.

    Do I have to compile this somehow?

    All my changes are there yet it does not work?

    Is there another extension this is tied to?

    In the same folder there is a folder called macos and inside it has a file called applefan

    Message was edited by: Patrick Bagdasarian

  5. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Reference to Leopard applefan.kext:

    http://blogs.ebay.com/macgeniuses/entry/Mac-Geniuses-to-Release-G4-Mirrored-Door-MDD-Fan/W0QQidZ354305017

  6. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Post # 204 has some insight:

    http://forums.macrumors.com/showthre...=238961&page=9

    Someone must know how to do this?

    forums.macrumors.com/showthre...=238961&page=9 wrote:

    PPC observations and request for collaboration+

    I've spent the last week while playing round with this on my iBook G4, as I've always wished it would run a few degrees cooler.

    A few things - the PPC Macs don't have a System Management Controller (SMC) so the smc utility won't work. The reason it won't run at all is that it appears to be built Intel-only. I've built it on PPC and it complains about a missing SMC, funnily-enough .

    Having eliminated that option I went back to the AppleFan and AppleBlower kexts. Reviewing them and the OpenDarwin sources, I've come up with the basic process for fan control on Mac OS

    1. The kernel communicates with the hardware (CPU) thermal sensors via AppleCPUThermo.kext.

    2. The kernel looks up this temperature against the AppleFan.kext speed table. As Rokem found, this is indeed a range of temperatures multiplied by 256, which increase the fan speed by increasing the voltage incrementally (0.5v steps?) until the highest set temperature is reached, at which time the fan runs at maximum.

    3. The kernel sets a new fan speed based on the lookup table.

    4. The fan runs until the CPU temperature reaches the hysteresis-temp defined in AppleFan.kext, at which time the fan shuts down.

    The default temperature range is 57-62 degrees celcius, and the hysteresis temp is 55, ie the fan comes on at increasing speeds up to 62 degrees, then cools the system to 55 and shuts off.

    With this in mind I came up with a modified AppleFan.kext Info.plist with a range of 45-50, and a hysteresis temp of 42. However on regenerating the extension cache and rebooting, I found the same thing as Rokem, namely that these lower values had no effect, and that the fan runs the same as before.

    Re-examining the AppleFan source, I found that the default values are hardcoded into the extension, and that it will use these if it cannot find an external source.+

    My next step would be to rebuild AppleFan.kext with new values encoded, but I'd be interested to know what other peoples experiences have been on PPC, as I won't have a chance to do this for a wee while.

  7. 0

    Nadav

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ok, now for the bad news... It appears that mac_geniuses never replied to me which means I think he is out of Ebay and selling. Even his website where I originally downloaded the Tiger version of applefan.kext is not working.

    I am out of ideas, unless you want to re-program all those numbers in that file you saw on bitsandpieces.com.

  8. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I already changed the values but it won't work anymore under Leopard.

    See my previous post for a link to some info.

  9. 0

    Nadav

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ok. then there must be something else needed to power the kexts in Leopard.

    are you still going to skype me later on? Maybe we both can figure it out together via video..

  10. 0

    Patrick 01

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I did make this work finally by dragging the applefan.kext to the desktop, modifying and then copying it back to the extension folder and authenticating it followed by repairing permissions and restarting.

    Previously I was extracting the plist itself and copying it back to the applefan.kext contents which did not work.

  11. 0

    TOAO

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I did get the apple.kext edit to work on my G4 MDD. They key was to reset the hysteresis value not just the table parameters. This may also work in 10.5, I do not know.

    Be carefull!!

    First take note of the differences in values in the original table and note them. They are not linear.

    The difference between the hysteresis value and the first table value is 512.

    Next calculate difference in values between each table value. The first difference is 330, the last is 44.

    Reproduce the table with these values. I simply plugged the values in an Excel file I programmed and let it produce the table values. (it's that or use a calculator)

    Next step is to reset the pram.

    Make certain to repair permissions.

    Then restart, possibly more than once.

    To see a real difference in fan operation try setting the hysteresis to 30ºC and follow the differences.

    With this edit I was able to make the fan run continuos.

    Please not that I did this with OSX 10.4.6.

  12. 0

    TOAO

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Change the hysteresis set point value, not just the table values.

    The code begins to engage the fan at a point past the hysteresis set point. They compare.

    If you change just the fan table values and not the hysteresis set point very little will happen.