All pastes #353876 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-02-13 17:11 UTC
rendered paste body
sudo /usr/sbin/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): yes
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.

To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): yes
Module loaded successfully.

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 eda0
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x08
Client found at address 0x30
Client found at address 0x32
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): yes
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): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'...                                      Yes
Found unknown chip with ID 0x1404
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found `SMSC LPC47M172 Super IO Fan Sensors'                 Success!
    (address 0xc00, driver `to-be-written')
Trying family `VIA/Winbond/Fintek'...                       No
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 eda0'
    Busdriver `i2c-i801', I2C address 0x50
    Chip `SPD EEPROM' (confidence: 8)
  * Bus `SMBus I801 adapter at eda0'
    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 `to-be-written' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0c00 (Busdriver `i2c-isa')
    Chip `SMSC LPC47M172 Super IO Fan Sensors' (confidence: 9)

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


If you want to load the modules at startup, generate a config file
below and make sure lm_sensors gets started at boot time; e.g
$ rc-update add lm_sensors default
To make the sensors modules behave correctly, add these lines to
/etc/modules.d/lm_sensors and run modules-update:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----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.

To load everything that is needed, execute the commands below...

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe eeprom
# no driver for SMSC LPC47M172 Super IO Fan Sensors yet
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----end cut here----

Do you want to generate /etc/conf.d/lm_sensors? Enter s to specify other file name?
  (YES/no/s): yes
Done.
biz@computer ~ $ lsmod
Module                  Size  Used by
i2c_dev                 5284  0 
ipv6                  188672  10 
parport_pc             28100  0 
parport                24296  1 parport_pc
floppy                 45380  0 
pcspkr                  1920  0 
snd_intel8x0           23260  0 
snd_ac97_codec         72800  1 snd_intel8x0
snd_ac97_bus            1280  1 snd_ac97_codec
snd_pcm                45956  2 snd_intel8x0,snd_ac97_codec
snd_timer              14852  1 snd_pcm
snd                    31716  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          6504  2 snd_intel8x0,snd_pcm
i2c_i801                5836  0 
i2c_core               11872  2 i2c_dev,i2c_i801
rtc                     9172  0 
radeon                103264  3 
drm                    53396  4 radeon
intel_agp              17852  1 
agpgart                19092  2 drm,intel_agp
e100                   25352  0 
mii                     3360  1 e100
tg3                    92484  0 
e1000                  95264  0 
nfs                    96380  0 
lockd                  46472  1 nfs
sunrpc                110940  2 nfs,lockd
jfs                   152524  0 
raid10                 19264  0 
raid1                  18720  0 
raid0                   6528  0 
dm_mirror              15632  0 
dm_mod                 38584  1 dm_mirror
sbp2                   17732  0 
ohci1394               27760  0 
ieee1394               58232  2 sbp2,ohci1394
sl811_hcd               9248  0 
usbhid                 33120  0 
ohci_hcd               15172  0 
uhci_hcd               17608  0 
usb_storage            60480  0 
ehci_hcd               22312  0 
usbcore                88388  7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
bizz@computer ~ $ sensors 
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.