Skip to contentSkip to conversation

lm_sensors: output for all sensors?

DISCUSSION Matthias F. Brandstetter 2 participants 9 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

I just started to work with lm_sensors, so I am not 100% sure what I have done wrong: I installed i2c-2.8.4 and lm_sensors-2.8.7 from tarball for a 2.4.22 Linux kernel w/o any problems, even sensors-detect worked like a charm for me.

I have a VIA VT82C686 chip (that was returned by sensors-detect as well), so lsmod gives me this output:

--<snip>--

root@debian:/usr/src/lm_sensors-2.8.7# lsmod
Module                  Size  Used by    Not tainted
eeprom                  3728   0  (unused)
i2c-dev                 3904   0
i2c-viapro              3272   0
i2c-proc                6196   0  [eeprom]
i2c-core               14116   0  [eeprom i2c-dev i2c-viapro i2c-proc]
8139too                15496   1
mii                     2560   0  [8139too]
--</snip>--

I think I have all necessary modules loaded. But when I now use sensors, I only get this output:

--<snip>--

root@debian:/usr/src/lm_sensors-2.8.7# sensors
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 5000
Memory type:            SDR SDRAM DIMM
Memory size (MB):       64

eeprom-i2c-0-51

Adapter: SMBus Via Pro adapter at 5000
Memory type:            SDR SDRAM DIMM
Memory size (MB):       128

--</snip>--

Aren't there any other sensors like temp., voltage and so on? How can I access these?

Greetings and TIA, Matthias

Signature · 4 lines
I wore my extra loose pants for nothing.  Nothing!

       		-- Homer Simpson
		   New Kid on the Block
#1 lore raw

---------- quoting Rudolf Marek ----------

Quoted 6 lines

You have loaded driver for i2c bus (via pro) buy I guess you need one more module for sensors which is as I hope called via686a

Plz try

modprobe via686a

After issuing this cmd, I still get output for my memory only. Do I need any other modules loaded?

Greetings and TIA, Matthias

Signature · 6 lines
Just squeeze your rage into a bitter little ball and release it at an
appropriate time.  Like that day I hit that referee with a whiskey 
bottle.  'Member that?

		-- Homer Simpson
		   Whacking Day
#2 lore raw
In reply to Matthias F. Brandstetter

---------- quoting Rudolf Marek ----------

Quoted 2 lines

Please can you take a look to dmesg or syslog if there is something interresting ? (copy here)

attached.

Quoted 2 lines

Also what does the output of sensors-detect just before it terminates says? There should be "recommneded modules".

This is the output, I added it to rc scripts:

## I2C adapter drivers
#modprobe i2c-viapro
## I2C chip drivers
#modprobe eeprom
#sleep 2
#/usr/local/bin/sensors -s

And this is output from lspci:

root@debian:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 
05)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] 
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus 
Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 
40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 
Audio Controller (rev 50)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 
6a)

Does this help?
Greetings, Matthias

Signature · 158 lines
I know you're mad at me right now, and I'm kinda mad too ... I mean, we
could sit here and try to figure out who forgot to pick up who till the
cows come home.  But let's just say we're both wrong and that'll be that.

		-- Homer Simpson
		   Brother from the Same Planet
-------------- next part --------------
Linux version 2.4.22 (root@debian) (gcc version 3.2.2) #1 Tue Oct 14 11:59:15 CEST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000b7f0000 (usable)
 BIOS-e820: 000000000b7f0000 - 000000000b7f3000 (ACPI NVS)
 BIOS-e820: 000000000b7f3000 - 000000000b800000 (ACPI data)
 BIOS-e820: 000000000b800000 - 000000000c000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
183MB LOWMEM available.
On node 0 totalpages: 47088
zone(0): 4096 pages.
zone(1): 42992 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root�0
Initializing CPU#0
Detected 1130.483 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2254.43 BogoMIPS
Memory: 183564k/188352k available (1498k kernel code, 4404k reserved, 530k data, 96k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) III CPU             1133MHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb370, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST380011A, ATA DISK drive
blk: queue c033ba80, I/O limit 4095Mb (mask 0xffffffff)
hdc: QSI CD-ROM SCR-242, ATAPI CD/DVD-ROM drive
hdd: ST380011A, ATA DISK drive
blk: queue c033c010, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS—29/255/63, UDMA(100)
hdd: attached ide-disk driver.
hdd: host protected area => 1
hdd: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS—29/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2
 hdd: hdd1 hdd2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  2084.000 MB/sec
   32regs    :  1052.800 MB/sec
   pIII_sse  :  2668.800 MB/sec
   pII_mmx   :  2517.200 MB/sec
   p5_mmx    :  2667.200 MB/sec
raid5: using function: pIII_sse (2668.800 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.0 MAX_MD_DEVS%6, MD_SB_DISKS'
md: Autodetecting RAID arrays.
 [events: 00000064]
 [events: 00000064]
md: autorun ...
md: considering hdd1 ...
md:  adding hdd1 ...
md:  adding hda1 ...
md: created md0
md: bind<hda1,1>
md: bind<hdd1,2>
md: running: <hdd1><hda1>
md: hdd1's event counter: 00000064
md: hda1's event counter: 00000064
md: md0: raid array is not clean -- starting background reconstruction
md: RAID level 1 does not need chunksize! Continuing anyway.
md0: max total readahead window set to 124k
md0: 1 data-disks, max readahead per data-disk: 124k
raid1: device hdd1 operational as mirror 0
raid1: device hda1 operational as mirror 1
raid1: raid set md0 not clean; reconstructing mirrors
raid1: raid set md0 active with 2 out of 2 mirrors
md: updating md0 RAID superblock on device
md: hdd1 [events: 00000065]<6>(write) hdd1's sb offset: 77915136
md: syncing RAID array md0
md: minimum _guaranteed_ reconstruction speed: 100 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 100000 KB/sec) for reconstruction.
md: using 124k window, over a total of 77915136 blocks.
md: hda1 [events: 00000065]<6>(write) hda1's sb offset: 77915136
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 96k freed
Adding Swap: 232932k swap-space (priority -1)
Adding Swap: 232932k swap-space (priority -2)
EXT3 FS 2.4-0.9.19, 19 August 2002 on md(9,0), internal journal
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 00:0d.0
eth0: RealTek RTL8139 Fast Ethernet at 0xe800, 00:20:ed:35:49:14, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
md: md0: sync done.
i2c-core.o: i2c core module version 2.8.7 (20040611)
i2c-proc.o version 2.8.7 (20040611)
i2c-viapro.o version 2.8.7 (20040611)
i2c-dev.o: i2c /dev entries driver module version 2.8.7 (20040611)
i2c-dev.o: Registered 'SMBus Via Pro adapter at 5000' as minor 0
eeprom.o version 2.8.7 (20040611)
via686a.o version 2.8.7 (20040611)
#3 lore raw
In reply to Matthias F. Brandstetter

Hello

Quoted 3 lines

Aren't there any other sensors like temp., voltage and so on? How can I access these?

You have loaded driver for i2c bus (via pro) buy I guess you need one more module for sensors which is as I hope called via686a

Plz try

modprobe via686a

And let me know. Please CC to list too.

Thanks

Rudolf

#4 lore raw
In reply to Matthias F. Brandstetter

Hello,

Please can you take a look to dmesg or syslog if there is something interresting ? (copy here)

Also what does the output of sensors-detect just before it terminates says? There should be "recommneded modules".

Thanks
Regards

Rudolf

Quoted 21 lines · Matthias F. Brandstetter

---------- quoting Rudolf Marek ----------

Quoted 6 lines

You have loaded driver for i2c bus (via pro) buy I guess you need one more module for sensors which is as I hope called via686a

Plz try

modprobe via686a

After issuing this cmd, I still get output for my memory only. Do I need any other modules loaded?

Greetings and TIA, Matthias

--
Just squeeze your rage into a bitter little ball and release it at an appropriate time. Like that day I hit that referee with a whiskey bottle. 'Member that?

-- Homer Simpson
Whacking Day

#5 lore raw
In reply to Matthias F. Brandstetter

Hello

Quoted 1 line

attached.

Thanks

I finally found some time to reply to you.

Do you have Asus A7V board? If not please which ?

I think you can try:

modprobe i2c-isa
modprobe via686a
then try

sensors

If you see something just follow the configuration in /etc/sensors.conf (don't forget to run sensors -s) and you aree done.

If you still have nothing related to sensors, please check dmesg or syslog to see if there is something like the driver is complaining about not initialized address. You can try this:

modprobe via686a force_addr=0x290

I hope this helps.

Regards

Rudolf

#6 lore raw
In reply to Matthias F. Brandstetter

---------- quoting Rudolf Marek ----------

Quoted 1 line

modprobe i2c-isa

Hi Rudolf, after loading this module, I now can see voltage and temp. statistics, thanks for your support. But now I can see a somewhat strange entry:

SYS Temp:  +51.3 C  (high =   +83 C, hyst =   +82 C)
CPU Temp:  +39.8 C  (high =  +146 C, hyst =   -71 C)

Are these entries correct? Is it possible, that my CPU has such a low temp.?

Greetings, Matthias

PS: I have one entry with "ALARM". What must happen, that such an "ALARM" gets displayed?

Signature · 5 lines
Aw, Dad, you've done a lot of great things, but you're a very old man, and
old people are useless.

		-- Homer Simpson
		   Homer the Vigilante
#7 lore raw
In reply to Matthias F. Brandstetter

---------- quoting Rudolf Marek ----------

Quoted 1 line

I think just labels are swapped. Please edit /etc/sensors.conf file.

thx, I will play with this settings...
Greetings, Matthias

Signature · 6 lines
Woman:	Your son was trespassing on my property and destroyed a very
	valuable stone gargoyle, and -- Are you wearing a grocery bag?

Homer:	I have misplaced my pants.

		   Bart After Dark
#8 lore raw
In reply to Matthias F. Brandstetter
Quoted 9 lines

Hi Rudolf, after loading this module, I now can see voltage and temp. statistics, thanks for your support. But now I can see a somewhat strange entry:

SYS Temp:  +51.3 C  (high =   +83 C, hyst =   +82 C)
CPU Temp:  +39.8 C  (high =  +146 C, hyst =   -71 C)

I think just labels are swapped. Please edit /etc/sensors.conf file.

1) find your chip (its name is in sensors output)
2) label tempX "Temp2/CPU"
just switch labels or labels definitions(swap temp1 with temp2) 2.5) adjust other options as limits etc
3) run sensors -s to apply changes (needs to be pernement)
4) check if it works :)

Quoted 3 lines

PS: I have one entry with "ALARM". What must happen, that such an "ALARM" gets displayed?

Not to fit in limits I think after sensors -s they will be programmed.

I hope this helps

regards

Rudolf