lm-sensors

lm-sensors

Post by PhoToni » Mon, 14 Apr 2003 03:18:07



Hi

I have been trying to read my cpu-temp on my athlonxp2000+ debian box.
It is wery important for me to be able to to that. I've been trying to make
lm_sensors work, but I haven't been successfull yet. I have activated
i2c in kernel and done alot of kernel config but lm_sensors reports that it
does not find any sensors. Below you will see my lsmod. And some other
aditional info I have also tried sensors-detect. But it still does not work
Anyone here got any deas?

###########    /etc/init.d/modutils #############
Calculating module dependencies... done.
Loading modules: usb-uhci input usbkbd keybdev 8139too i2c-algo-bit i2c-proc
i2c-philips-par i2c-dev i2c-algo-pcf adm1021 modprobe: Can't locate module
adm1021
lm80 modprobe: Can't locate module lm80
lm75 modprobe: Can't locate module lm75
eeprom modprobe: Can't locate module eeprom
ltc1710 modprobe: Can't locate module ltc1710
smbus-arp modprobe: Can't locate module smbus-arp
#########################################

I don't seem to find these modules in modconf or in Kernelconfig. My kernel
is currently apt-get kernel, cause every time I do kernel-config manually
alot of the good stuff in modconf disapears. I have "installed" the i2c
modules  by modconf which have been a wery usefull utill. Is it possible to
compile these modules that I miss manually? Copy these to a location where
modconf can set them up?<

############## lspci ###############
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev
03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1a)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
Controller (rev 50)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev
10)
###################################

############## i2cdetect ##############
Error: No i2c-bus specified!
Syntax: i2cdetect I2CBUS
  I2CBUS is an integer
  Installed I2C busses:
    i2c-0       i2c             Philips Parallel port adapter
Bit-shift algorithm
####################################

############# i2cdetect 0 ################
  WARNING! This program can confuse your I2C bus, cause data loss and worse!
  I will probe file /dev/i2c-0
  You have five seconds to reconsider and press CTRL-C!

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
##########################################

############# ls mod ######################
Module                  Size  Used by    Not tainted
smbfs                  34000   1  (autoclean)
i2c-algo-pcf            4924   0  (unused)
i2c-dev                 3844   0
i2c-philips-par         1920   0
i2c-algo-bit            7112   1  [i2c-philips-par]
i2c-proc                6288   0  (unused)
i2c-core               12868   0  [i2c-algo-pcf i2c-dev i2c-algo-bit
i2c-proc]
nfsd                   68656   8  (autoclean)
lockd                  49008   1  (autoclean) [nfsd]
sunrpc                 60892   1  (autoclean) [nfsd lockd]
apm                     9256   1  (autoclean)
af_packet              12168   2  (autoclean)
parport_pc             21288   1  (autoclean)
parport                23296   1  [i2c-philips-par parport_pc]
8139too                16200   1
mii                     2432   0  [8139too]
keybdev                 1696   0  (unused)
usbkbd                  2940   0  (unused)
input                   3392   0  [keybdev usbkbd]
usb-uhci               21804   0  (unused)
usbcore                56896   0  [usbkbd usb-uhci]
rtc                     5980   0  (autoclean)
ext2                   32192   1  (autoclean)
ext3                   58816   0  (autoclean)
jbd                    37544   0  (autoclean) [ext3]
ide-disk               10176   2  (autoclean)
ide-probe-mod           8880   0  (autoclean)
ide-mod               154184   2  (autoclean) [ide-disk ide-probe-mod]
unix                   14056   6  (autoclean)
#####################################################

############## result from sensors-detect #################
#----cut here----
# I2C adapter drivers
# modprobe unknown adapter Philips Parallel port adapter using Bit-shift
algorithm
# I2C chip drivers
adm1021
lm80
lm75
eeprom
ltc1710
smbus-arp
#----cut here----

Then, run /etc/init.d/modutils

To make the sensors modules behave correctly, add these lines to
/etc/modutils/local and run update-modules:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
options adm1021
ignore=0,0x18,0,0x19,0,0x1a,0,0x29,0,0x2a,0,0x2b,0,0x4c,0,0x4d,0,0x4e
options lm80 ignore=0,0x29,0,0x2a,0,0x2b
options lm75 ignore=0,0x4c,0,0x4d,0,0x4e
#----cut here----
###########################################