Lm-sensorss settings

Source: Internet
Author: User

 

 

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

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.