LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lm_sensors (https://www.linuxquestions.org/questions/linux-newbie-8/lm_sensors-552707/)

Pumalite 05-09-2007 05:23 PM

lm_sensors
 
Does it come with Suse 19.2? Is there a better package to monitor CPU temp that I can get? Thanks for you help.

linux-wwtz:~ # sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
linux-wwtz:~ #

linux-wwtz:~ # sensors-detect
# sensors-detect revision 4171 (2006-09-24 03:37:01 -0700)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801EB ICH5

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 0400
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x08
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Probing for `EDID EEPROM'... No
Probing for `Maxim MAX6900'... No
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x69

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `Winbond W83627HF' at 0x290... No
Probing for `Silicon Integrated Systems SIS5595'... No
Probing for `VIA VT82C686 Integrated Sensors'... No
Probing for `VIA VT8231 Integrated Sensors'... No
Probing for `AMD K8 thermal sensors'... No
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'... No
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... Yes
Found `Winbond W83627THF Super IO Sensors' Success!
(address 0x290, driver `w83627hf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `ITE'... No
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 0400'
Busdriver `i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus `SMBus I801 adapter at 0400'
Busdriver `i2c-i801', I2C address 0x52
Chip `SPD EEPROM' (confidence: 8)

EEPROMs are *NOT* sensors! They are data storage chips commonly
found on memory modules (SPD), in monitors (EDID), or in some
laptops, for example.

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

I will now generate the commands needed to load the required modules.
Just press ENTER to continue:

To make the sensors modules behave correctly, add these lines to
/etc/modprobe.conf:

#----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-i801
# Chip drivers
modprobe eeprom
modprobe w83627hf
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

If you have some drivers 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 the needed
modules are loaded.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
linux-wwtz:~ #

I got all this, but Is not what I want. I want CPU temp. And after running all this I still get:

linux-wwtz:~ # sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
linux-wwtz:~ #

Is there a good package for CPU temps.?

http://i158.photobucket.com/albums/t...reenshot-4.png

This is what I found in /etc/modprob.d

And this in /etc/rc.d:

http://i158.photobucket.com/albums/t...reenshot-5.png

And I don't know what to do with either one.

HappyTux 05-09-2007 08:20 PM

So have you checked to make sure that the module(s) are loaded? It won't work without them being loaded use the lsmod command to see and you may need to reboot to make sure everything get initialized properly. If this does not work then post the lsmod output and tell us which motherboard make/model you have.

Pumalite 05-09-2007 09:22 PM

Quote:

Originally Posted by HappyTux
So have you checked to make sure that the module(s) are loaded? It won't work without them being loaded use the lsmod command to see and you may need to reboot to make sure everything get initialized properly. If this does not work then post the lsmod output and tell us which motherboard make/model you have.

Thanks for the reply. I appreciate it. This is lsmod:

macho@linux-wwtz:~> lsmod
Module Size Used by
i2c_dev 12932 0
udf 83588 0
ext2 68104 0
usb_storage 82368 0
joydev 13504 0
sg 38044 0
st 40860 0
sd_mod 24704 0
sr_mod 20132 0
scsi_mod 136712 5 usb_storage,sg,st,sd_mod,sr_mod
vfat 16640 0
fat 55324 1 vfat
snd_seq_dummy 8068 0
xt_pkttype 6016 3
ipt_LOG 10624 9
xt_limit 6912 9
snd_pcm_oss 53376 0
snd_mixer_oss 21248 1 snd_pcm_oss
snd_seq 60272 1 snd_seq_dummy
snd_seq_device 12812 2 snd_seq_dummy,snd_seq
af_packet 29320 2
button 10896 190
battery 14468 0
ac 9476 0
ip6t_REJECT 9344 3
xt_tcpudp 7296 6
ipt_REJECT 9472 3
xt_state 6272 12
iptable_mangle 7040 0
iptable_nat 11524 0
ip_nat 21804 1 iptable_nat
iptable_filter 7168 1
ip6table_mangle 6528 0
ip_conntrack 52960 3 xt_state,iptable_nat,ip_nat
nfnetlink 11032 2 ip_nat,ip_conntrack
ip_tables 17604 3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter 7040 1
ip6_tables 18756 2 ip6table_mangle,ip6table_filter
x_tables 18180 10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tabl es
ipv6 263584 54 ip6t_REJECT
apparmor 55572 0
aamatch_pcre 18304 1 apparmor
nls_utf8 6272 1
ntfs 210580 1
loop 20488 0
dm_mod 60184 0
8139cp 27776 0
8139too 30592 0
mii 9600 2 8139cp,8139too
sk98lin 147680 0
ide_cd 42272 0
ehci_hcd 34696 0
shpchp 40224 0
intel_agp 27804 1
cdrom 38432 153 sr_mod,ide_cd
uhci_hcd 26892 0
pci_hotplug 35136 1 shpchp
agpgart 35528 1 intel_agp
usbcore 115024 3 usb_storage,ehci_hcd,uhci_hcd
snd_intel8x0 36764 1801
snd_ac97_codec 95648 1 snd_intel8x0
snd_ac97_bus 6400 1 snd_ac97_codec
snd_pcm 86916 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 27908 2 snd_seq,snd_pcm
snd 61188 908 snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,s nd_timer
soundcore 13792 1 snd
snd_page_alloc 14472 2 snd_intel8x0,snd_pcm
i8xx_tco 11160 0
i2c_i801 11660 0
i2c_core 25216 2 i2c_dev,i2c_i801
parport_pc 42084 1
lp 15652 0
parport 39752 2 parport_pc,lp
ext3 141192 3
mbcache 12804 2 ext2,ext3
jbd 70324 1 ext3
edd 13892 0
fan 8964 19
piix 14084 0 [permanent]
thermal 18568 232
processor 34664 158 thermal
ide_disk 20480 8
ide_core 130248 4 usb_storage,ide_cd,piix,ide_disk
macho@linux-wwtz:~>

Right now I cannot reboot, but I'll take your advice into consideration. I would like to know your opinion about this output.

HappyTux 05-09-2007 09:33 PM

Hmmm do not see the w83627hf listed but the i2c_dev is so that seems strange it did not load it. I see as well you have the thermal/fan modules loaded is this a laptop? You should be able to use cat /proc/acpi/thermal then hit the TAB key to see what is available in there one of the values in the subdirectories should be telling you the CPU temperature, your fan speeds ... things like that.

Pumalite 05-09-2007 10:21 PM

Quote:

Originally Posted by HappyTux
Hmmm do not see the w83627hf listed but the i2c_dev is so that seems strange it did not load it. I see as well you have the thermal/fan modules loaded is this a laptop? You should be able to use cat /proc/acpi/thermal then hit the TAB key to see what is available in there one of the values in the subdirectories should be telling you the CPU temperature, your fan speeds ... things like that.

It's a desktop. I have /proc/acpi/thermal_zone, but thermal_zone is empty???

macho@linux-wwtz:~> acpi -V
No support for device type: thermal
macho@linux-wwtz:~> acpi -tf
No support for device type: thermal
macho@linux-wwtz:~>

Anyway, I found in another forum KSensors and GKrellm. You can download both with Yast. They are in Guru. I have both of them working. They are pretty fancy, especially GKrellm. Thanks a lot anyway.


All times are GMT -5. The time now is 11:03 AM.