Control USB Power based on temperature monitoring in Mac OS X
October 16, 2007 11:17 AM
Subscribe
I have a laptop cooling fan which runs on USB power. It works well but it's a fairly monotonous drone. The internal fans are linked to the cooling unit and the temperature monitor, so they operate based on the current temperature. Is there any way I can control the USB fan based on temperature as well?
MacBook Pro 2.16GHz 2GB RAM C2D running Mac OS X 10.4.10
I am really looking for an easy way to control power to the USB port based on temperature monitoring. At the most fundamental level, I'd like to do is write the following (in AppleScript, Cocoa Objective-C, Java, etc.):
temperature = TempMonitor.temp();
if (someUSBIdentifier == FAN) {
if (temperature <> someUpperLimit) {
USB.port(2).power = on;
}
}
>
I'd like to find some way to identify the fan through the port, so that I don't end up powering off an external laptop just because the machine heats up. I've looked through the System Profiler and can't find any identifying information for it, so I was wondering if there is some other profile or fingerprint I can pick up.
I've installed the Mac OS X USB SDK 1.8.7 for XCode and I will play around with that, but I was just looking to see if anyone had any ideas. Thanks.
posted by Mr. Banana Grabber to computers & internet (3 comments total)
Basically the underside/back end of the machine typically simply needs to be lifted to get more airflow to it's in-built fan/intake(s).
(I have 3 Targus CoolPads - I swear by them)
posted by jkaczor at 11:24 AM on October 16, 2007