Mac Classic

The PowerBook G3 (Pismo) has a small cooling fan on it's left side next to the PCMCIA assembly. Most users who have a stock CPU will have never heard, or seen this fan functioning.
The temperature limits for this machine appear to be set incredibly high, and some of the only users who have ever noticed this fan functioning are the ones who have upgraded CPUs. When the CPU reaches the machine's temperature limit the fan kicks in.
 
If you're worried about always running your Pismo at high temperatures the Open Firmware commands may be of use.
 
You can set the fan to run on boot by modifying the thermal-info property.
I haven't figured out how to vary speeds or set multiple temperature points, so if you can improve on this please let me know.
 

Storing values in the NVRAM

 
  1. Boot into Open Firmware by holding Command + Option/alt + O + F when booting your Pismo.
     
  2. Run the following to edit the contents of the NVRAM:
    nvedit
     
  3. Run the command below which tells the NVRAM to open the power management device:
    dev mac-io/via-pmu/power-mgt
     
  4. Enter the following to encode new thermal properties. Be careful to note spaces.
    01010200 encode-int 00000000 encode-int encode+ 01010200 encode-int encode+ 00000000 encode-int encode+ " thermal-info" property

    You can use encode-int to encode a single value, but adding encode+ allows you to build up properties. In this case there are four values so we need to use encode-int and encode+.
     
  5. Press Control + C on your keyboard to exit the NVRAM editor.
     
  6. To ensure these values persist for consecutive boots, you need to store these values in the NVRAM.

    Run the following commands:
    nvstore
    setenv use-nvramrc? true
    reset-all
    

    Note: Any data stored in the NVRAM only persists while the machine is connected to a power source. You can turn your machine off but when it’s unplugged, and it has a flat battery you will need to perform these tasks again. It may be easier to run an Open Firmware script on boot if this is something you wish to run long-term.
     

  7. Your machine will now reboot

You should hear the fans running several seconds into the boot process. If you wish to check the thermal-info properties, boot into Open Firmware and run the following commands:

  1. dev mac-io/via-pmu/power-mgt
     
  2. .properties
     

If you have any improvements to contribute please get in touch.

 
Sources
James Little - lists.apple.com

Comments

bamdad

bamdad

08 October 2024

umm.. i was wondering.. is there any way to tweak this profile? i mean this makes the fan blow even on a fresh boot while the processor temp (according to the XLR8 control panel) is below 25 degrees celsius. just askin' :)

Permalink
Greystash

Greystash - Admin

09 October 2024

Hey bamdad,

I haven't played around with the Pismo for a while, and I believe these settings put the fan into full speed. You should be able to adjust the speed by adjusting the hex values, or figuring out how they apply to the fan speeds.
See this post at MacOS9Lives, it might be helpful :)

Permalink
bamdad

bamdad

30 September 2023

hi again, for some reason my pismo started to freeze randomly, especially on hot days when used in clamshell mode. i'm guessing this is connected to heat.. so my question is: is there a way to make these fan thresholds even more aggressive? thanks, bamdad

Permalink
Greystash

Greystash - Admin

08 October 2023

Hi bamdad,

It does sound related to heat. I haven't looked into this much further after I wasn't able to improve the thresholds.
If you're running Mac OS X there's a range of fan utilities available, one of them might recognise the fan.
Otherwise It's worth applying new (and good quality) thermal paste to the CPU if you haven't done so already. Also make sure the case is dust free inside.

I've also noticed in a lot of the early PowerBooks there are some design considerations for the keyboard to be used for airflow/thermal regulation. It might be worth opening it on hot days until you can find another way to keep it cool. Keeping it closed may be trapping a lot of heat inside.

Permalink
Rick

Rick

13 August 2023

It’s been a long time since I’ve used Open Firmware. Is the correct way to do this is to boot into Open Firmware, set the parameters for the fan, then make the script witty w text you provided, because the script itself will read the parameters, save them, and reapply them on each reboot? Or do I need to make a script with all the variables, and skip booting in Open Firmware?

Permalink
Greystash

Greystash - Admin

13 August 2023

The script is a way to automate booting into Open Firmware and typing these parameters each time you boot. You can add all of this to a script without doing anything in Open Firmware (apart from telling Open Firmware to read the script) and you will get the same results.

As an example, your script may look like this:

\ comment
cr

dev mac-io/via-pmu/power-mgt

01010200 encode-int 00000000 encode-int encode+ 01010200 encode-int encode+ 00000000 encode-int encode+ " thermal-info" property

boot hd:,\\:tbxi

You would then save this script with SimpleText with a name such as bootscript and place it at the root of your HD.

Next you will need to restart, boot into Open firmware and tell it to load the script for every future boot:

  1.  Run the nvedit command
  2. Type the following to set the script as the boot device.
    setenv boot-device hd:\bootscript
  3. Press the key combination Ctrl + C to exit the NVRAM editor
  4. Type the following to save your changes to the NVRAM:
    nvstore
    setenv use-nvramrc? true
    reset-all

This makes Open Firmware load the script for every boot. If your computer loses power and all internal batteries are depleted you will need repeat the previous four steps again to set the script as the boot device.

Note:
I would normally test any changes by manually typing the commands before making a script in case I get something wrong.

Hopefully this makes sense!

 

Permalink
bamdad

bamdad

03 April 2021

hey man, i've upgraded my pismo to firmware 4.1.8 in hopes of getting rid of the sleep of death bug (without success), but now there's no brightness control in os 9.0.4 (only in higher versions). the firmware readme says that to install it one must have 9.1 or higher, but i didn't think this would break some stuff in 9.0.4. i need the older os for compatibility. do you know of any way to.. downgrade the firmware? thanks in advance.

Permalink
Greystash

Greystash - Admin

11 April 2021

Hi there! Sorry for the delayed response. Have you tried following the steps mentioned in this article? Please note that I have only done a successful downgrade on the Power Mac G4 MDD model. It may work but do this at your own risk, there's a chance the downgrade could brick it.

Also, have you replaced the PMU battery? There's a good chance this could be causing the sleep issues.

Permalink

Post a Comment