Is there a Windows standard that "Start Fan", "Reduce speed" or eg, C / C ++ ?
I doubt it can be ACPI, but I am a weak mortal and can not read such documents.
Edit: e.g. With the help of Windows 7, you can make "active cooling" versus "passive cooling" (only when things get hot) in your power plan options (to keep the CPU continuously cool?). It appears that the OS has a way of controlling fans normally.
I am currently working on a project, which controls computer fans among other things. is. Basically, fans are controlled by your computer's superio chip. We use the port-mapped IO directly to the chip, and from there we can reach the logical fan device. To use port-mapped IOs, code is needed to run in kernel mode, but windows generic port does not supply any drivers for IO (with good reason, because it is a very powerful Tool), so we wrote our driver, and used it
If you want to get this route down, then you need basic knowledge in two areas: drive Development and how to use Suprio chip information when we started this project, we had none of these do not know anything in the area, so it browsing, reading and learning to last. To gain knowledge, we especially help by looking at these links:
- Which is a Windows Driver Kit, you need to compile any driver for this For example, for example, there are a lot of source code for the driver, in which it is called Portio, with a driver for normal portmap IO.
- Driver in C installs a DLL programmer in C and loads that driver, and some C # code for GUI, which loads DLL and writes / writes ports . The driver is similar to the one in Porto.
- A Linux project, that, besides the other things, detects your superio chip / pragmatic / address / sensor-detective pearl program, which detects, and we have code for some time Let's go through to see how to interfere with the Superio chip.
- When we got the LM sensor code, it was very good like equipment and, because they allowed us to check the sensor - to find out. The latter is more powerful, and the IO is very helpful in viewing the space, while in the past it provides easy access to some tasks, which makes a better map for people in the sensor (ports byte to read / write)
- Finally, you need to find the datasheet of your Superior chip. For example, I have seen that the environmental controllers of each chip provide the same functionality (read R / W fan speed, read temperature, read the chip voltage), but to get this functionality you have to write the registers. There are all the datasheets in place, we need so far.
Comments
Post a Comment