Many motherboards have electronic chips that control fan speed or measure temperatures. Some are connected via I2C, others via ISA. Most of them can be read out using lm-sensors on Linux computers.
Install the lm-sensors package using:
sudo apt-get install lm-sensors
Try to detect the chips (sensors) connected to your computer:
Query sensor status: