Sensors detection

The detection of sensor consists of several steps. All you need is to run.


Using first command you will become a root, second command will fire the sensors-detect utility which will guide you through the detection process.

At the end, sensors-detect should output following:

Driver `w83627ehf' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `Winbond W83627EHF/EHG Super IO Sensors' (confidence: 9)

I will now generate the commands needed to load the I2C modules.

To make the sensors modules behave correctly, add these lines to

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

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe w83627ehf
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.

In this example, you may see that there has been a Winbond W83627EHF/EHG chip detected and two modules needs to be loaded to get it working w83627ehf and i2c-isa. You need to load them using modprobe command (or add the suggested commands to rc* file).

If the sensors-detect ends with:

Do you want to scan it? (YES/no/selectively): y
Can't open /dev/i2c-0

Then you need to make sure that:

  • you are using latest sensors-detect, older had some issues with udev
  • you have some files named "i2c" in dev directory
ls -l /dev/i2c*

If not, please create them with mknod or use the MKDEV

cd  /dev
./MKDEV i2c