# Kernel driver nct7904

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chip:

<a id="rst-kernel-driver-nct7904"></a>

Supported chip:

> - Nuvoton NCT7904D
>
>   Prefix: nct7904
>
>   Addresses: I2C 0x2d, 0x2e
>
>   Datasheet: Publicly available at Nuvoton website
>
>   > [http://www.nuvoton.com/](<http://www.nuvoton.com/>)

Author: Vadim V. Vlasov &lt;[vvlasov@dev.rtsoft.ru](<mailto:vvlasov@dev.rtsoft.ru>)&gt;

<a id="rst-description"></a>

## Description

The NCT7904D is a hardware monitor supporting up to 20 voltage sensors, internal temperature sensor, Intel PECI and AMD SB-TSI CPU temperature interface, up to 12 fan tachometer inputs, up to 4 fan control channels with SmartFan.

<a id="rst-sysfs-entries"></a>

## Sysfs entries

Currently, the driver supports only the following features:


<table>
<tbody>
<tr>
<td>


in\[1-20\]\_input

</td>
<td>


Input voltage measurements (mV)

</td>
</tr>
<tr>
<td>


fan\[1-12\]\_input

</td>
<td>


Fan tachometer measurements (rpm)

</td>
</tr>
<tr>
<td>


temp1_input

</td>
<td>


Local temperature (1/1000 degree, 0.125 degree resolution)

</td>
</tr>
<tr>
<td>


temp\[2-9\]\_input

</td>
<td>


CPU temperatures (1/1000 degree, 0.125 degree resolution)

</td>
</tr>
<tr>
<td>


pwm\[1-4\]\_enable

</td>
<td>


R/W, 1/2 for manual or SmartFan mode Setting SmartFan mode is supported only if it has been previously configured by BIOS (or configuration EEPROM)

</td>
</tr>
<tr>
<td>


pwm\[1-4\]

</td>
<td>


R/O in SmartFan mode, R/W in manual control mode

</td>
</tr>
</tbody>
</table>

The driver checks sensor control registers and does not export the sensors that are not enabled. Anyway, a sensor that is enabled may actually be not connected and thus provide zero readings.

<a id="rst-limitations"></a>

## Limitations

The following features are not supported in current version:

> - SmartFan control
>
> - Watchdog
>
> - GPIO
>
> - external temperature sensors
>
> - SMI
>
> - min/max values
>
> - many other...
