Temperature Detection
1.
Software package usedLm-Sensors
, Compile and install
Make user
Make user_install
2.
UseSensors-detect
Command
Detects sensor types on the motherboard (Ipx7a ion
Motherboard needs
Linux2.6.32 Kernel
)
Compile the options in the kernel based on the detected Sensor
Hardware Monitoring Support
The corresponding driver module must be selected.
3.
Linux2.6Options for enabling kernel Compilation
Code maturity level options
[*] Prompt for development and/or incomplete code/Drivers
Bus options (PCI, PCMCIA, Eisa, MCA, Isa)
[*] PCI support
Device Drivers
I2C support
<M> I2C support
<M> I2C Device Interface
I2C Algorithms
<M> (configure all of them as modules)
I2C hardware bus support
<M> (configure all of them as modules)
I2C hardware sensors chip support (up to 2.6.12)
<M> (configure all of them as modules)
Hardware Monitoring Support (since 2.6.13)
<M> (configure all of them as modules)
4.
Re-compile the kernel, enter the system, and then useSensors-detect
The command detects the sensor and automatically generates a configuration file.
After 4.5, remember to load the detected module. I am using modprobe f7185822fg.
5.
UseSensors
Command to obtain the temperature information and fan speed information of related devices on the motherboard.
Fan speed control
1.
MotherboardBios
Medium
Fan control
Option
Disable
2.
according to sensors
the fan connection interface is detected and corresponding
PWM
control the input values of the file.
For example:
Echo "100">/sys/class/hwmon/hwmon0/device/pwm1
Fan speed
For example:
Echo "255">/sys/class/hwmon/hwmon0/device/pwm1
Fan speed