will try it, I want to monitor my CPU's temp
Code: Select all
!!! ERROR: sys-apps/lm_sensors-2.9.1 failed.
!!! Function pkg_setup, Line 39, Exitcode 0
!!! CONFIG_I2C_SENSOR not detected
Code: Select all
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.12-gentoo-r6
*
* lm_sensors-2.9.1 requires CONFIG_I2C_SENSOR to be enabled for non-2.4.x kernels.
*
Code: Select all
# I2C support
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=m
# I2C Algorithms
CONFIG_I2C_ALGOBIT=y
# I2C Hardware Bus support
CONFIG_I2C_ISA=m
CONFIG_I2C_SENSOR=m
CONFIG_SENSORS_W83627HF=m

According to the tutorial on the previous page (2), the hardware sensor chip shall be compiled into the kernel after you emerged lmsensors. Well, Lm_Sensors cried out in anger for this so, I had to include the hardware sensor chip before emerging lm_sensors.hi,
I've used this before but now after a reinstall I can't get it to work anymore, I keep getting an error:
Code:
!!! ERROR: sys-apps/lm_sensors-2.9.1 failed.
!!! Function pkg_setup, Line 39, Exitcode 0
!!! CONFIG_I2C_SENSOR not detected
any idea on what I should do?

Code: Select all
Antwerpen Spetsnaz # /usr/bin/sensors -s # recommended
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!
Antwerpen Spetsnaz # lsmod
Module Size Used by
eeprom 6544 0
i2c_dev 8452 0
i2c_i801 8972 0
i2c_core 18432 3 eeprom,i2c_dev,i2c_i801