---
title: ArchLinux, nForce4: настройка сенсоров 
tags: archlinux, hardware
---

- Делаем раз: ``pacman -Sy lm_sensors``
- Редактируем `/etc/rc.conf`, в загружаемые модули добавляем (MODULES): ``i2c-nforce2 i2c-isa eeprom it87``
- В `/etc/rc.local` добавляем строчку ``sensors -s``
- Открываем `/etc/modprobe.conf`, добавляем:

    # I2C module options
    alias char-major-89 i2c-dev

---

Сохраняем патч ниже в файл `nforce4-sensors.diff`

    --- sensors.conf.orig 2005-10-03 03:38:49.000000000 +1100
    +++ sensors.conf 2006-06-18 23:13:52.000000000 +1100
    @@ -1504,7 +1504,7 @@
    # Voltage monitors as advised in the It8705 data sheet
    - label in0 "VCore 1"
    + label in0 "VCore"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    @@ -1517,6 +1517,11 @@
    # vid is not monitored by IT8705F
    # comment out if you have IT8712
    ignore vid
    + ignore in1
    + ignore in5
    + ignore in6
    + ignore in7
    + ignore in8
    # Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
    # to report the VCORE voltage approximately 0.05V higher than the board's
    @@ -1524,10 +1529,11 @@
    # the next line should bring the readings in line with the BIOS' ones in
    # this case.
    # compute in0 -0.05+@ , @+0.05
    +compute in0 0.03+@ , @-0.03
    # If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
    # comment out following line.
    - compute in2 2*@ , @/2
    + #compute in2 2*@ , @/2
    #
    compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
    compute in4 ((30/10) +1)*@ , @/((30/10) +1)
    @@ -1560,6 +1566,8 @@
    set in0_min 1.5 * 0.95
    set in0_max 1.5 * 1.05
    + #set in0_min 1.2
    + #set in0_max 1.8
    set in1_min 2.4
    set in1_max 2.6
    set in2_min 3.3 * 0.95
    @@ -1591,12 +1599,14 @@
    # (see ignore statement right below).
    label temp1 "M/B Temp"
    - set temp1_over 40
    + #set temp1_over 40
    + set temp1_over 45
    set temp1_low 15
    label temp2 "CPU Temp"
    - set temp2_over 45
    + #set temp2_over 45
    + set temp2_over 50
    set temp2_low 15
    -# ignore temp3
    + ignore temp3
    label temp3 "Temp3"
    set temp3_over 45
    set temp3_low 15
    @@ -1618,6 +1628,9 @@
    set fan2_min 3000
    # ignore fan3
    set fan3_min 3000
    + label fan1 "CPU fan"
    + label fan2 "CHA fan"
    + label fan3 "CHIP fan"
    # The following is for the Inside Technologies 786LCD which uses either a
    # IT8705F or a SIS950 for monitoring with the SIS630.

Помещаем его в каталог `/etc` и делаем ``patch -p0``

Вызываем sensors и любуемся.

(c) Hatred, 2006