如何使用C ++在Vista中控制我的电脑的风扇速度? [英] How can I control my PC's fan speed using C++ in Vista?

查看:153
本文介绍了如何使用C ++在Vista中控制我的电脑的风扇速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C ++在Windows Vista Ultimate中控制CPU风扇速度?
我想使用ACPI。

解决方案

ACPI: b
$ b

您需要了解并使用WMI - Windows系统管理界面。以下是一些资源,可以为您提供从何处开始的线索:





请注意,某些主板不支持风扇速度更改,即使那些主板也不能将此更改为WMI。在最好的情况下,您可能仍然需要检测主板类型,并直接与风扇管理控制器通话。



没有ACPI: >

如果你不想使用ACPI,那么你必须编写自己的代码访问主板上的SMBUS,然后控制风扇控制器芯片。 / p>

查看程序主板显示器,了解如何开始使用的线索。这是不平凡的,因为每个主板和bios是不同的。


How can I use C++ to control CPU fan speed in Windows Vista Ultimate? I would like to use ACPI.

解决方案

ACPI:

You need to learn about and use the WMI - Windows system management interface. Here are a few resources that will give you clues on where to start:

Note that some motherboards don't support fan speed changes, and even those that do may not expose this to the WMI. In the best case you may still have to detect the motherboard type and talk to the fan management controllers directly.

No ACPI:

If you don't want to use ACPI then you're going to have to write your own code to access the SMBUS on the motherboard, and then control the fan controller chips.

Check out the program motherboard monitor for clues on how to get started. It's nontrivial, since every motherboard and bios is different.

这篇关于如何使用C ++在Vista中控制我的电脑的风扇速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆