Jump to content

Simple (?) Assistance


2 posts in this topic

Recommended Posts

Hi!

 

 

I've been driving an iMac G4 until some money comes our way to replace it with,

well maybe an iMac G7 ;)

 

The cooling fan has gone out and all I wanna do is have my iMac shut down

when a certain temperature is reached

 

(that is, until I can replace that fan).

 

I'm starting from square-one in programing

and looking for any assistance anyone might be

able/willing to offer.

 

Seems to me this shouldn't be TOO difficult.

 

any takers out there?

 

 

Reinheimer

Link to comment
Share on other sites

Hey, you can go simple and try going (this should work on G3/G4),

 

ioreg -n IOHWSensor

 

and parse data then (if necessary)

 

shutdown -h now

 

If you don't have the data you need in ioreg then you should verify those applications that monitor the temperatures (and prob have a kext to do it), check if there is an API to access the data or a bash command you can use to dump data or get a specific sensor value.

Link to comment
Share on other sites

 Share

×
×
  • Create New...