All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Asus P5B Deluxe WiFi AP Sensors
Date: Sat, 26 Aug 2006 21:21:32 +0000	[thread overview]
Message-ID: <20060826232132.2e8b34a3.khali@linux-fr.org> (raw)
In-Reply-To: <20060822145643.GA5632@seahunt.dyndns.org>

Michael,

> I tried with the SVN sensors-detect, and the results were different, but
> apparently not correct.  It looked like this:
> 
> Script started on Sat Aug 26 06:03:29 2006
> seahunt:/usr/local/src # ./sensors-detect 
> # sensors-detect revision $Revision$ ($Date$)
> 
> This program will help you determine which I2C/SMBus modules you need to
> load to use lm_sensors most effectively. You need to have i2c and
> lm_sensors installed before running this program.
> Also, you need to be `root', or at least have access to the /dev/i2c-*
> files, for most things.
> If you have patched your kernel and have some drivers built in, you can
> safely answer NO if asked to load some modules. In this case, things may
> seem a bit confusing, but they will still work.
> 
> 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.
>  You do not need any special privileges for this.
>  Do you want to probe now? (YES/no): 
> Probing for PCI bus adapters...
> Use driver `i2c-i801' for device 00:1f.3: Intel ICH8
> Probe successfully concluded.
> 
> 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.
>  If it is built-in into your kernel, you can safely skip this.
>  i2c-dev is not loaded. Do you want to load it now? (YES/no): 
>  Module loaded successfully.
> 
>  We are now going to do the adapter probings. Some adapters may hang halfway
>  through; we can't really help that. Also, some chips will 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. That often
>  includes address 0x69 (clock chip).
> 
> Next adapter: NVIDIA I2C Device
> Do you want to scan it? (YES/no/selectively): 
> Adapter cannot be probed, skipping.
> 
> Next adapter: NVIDIA I2C Device
> Do you want to scan it? (YES/no/selectively): 
> Adapter cannot be probed, skipping.
> 
> Next adapter: NVIDIA I2C Device
> Do you want to scan it? (YES/no/selectively): 
> Adapter cannot be probed, skipping.
> 
> Next adapter: SMBus I801 adapter at 0400
> Do you want to scan it? (YES/no/selectively): 
> Client found at address 0x08
> Client found at address 0x22
> Probing for `National Semiconductor LM78'... Failed!
> Probing for `National Semiconductor LM78-J'... Failed!
> Probing for `National Semiconductor LM79'... Failed!
> Probing for `Winbond W83781D'... Failed!
> Probing for `Winbond W83782D'... Failed!
> Probing for `Winbond W83627HF'... Failed!
> Client found at address 0x30
> Client found at address 0x32
> Client found at address 0x50
> Probing for `SPD EEPROM'... Success!
>     (confidence 8, driver `eeprom')
> Probing for `EDID EEPROM'... Failed!
> Probing for `Maxim MAX6900'... Failed!
> Client found at address 0x52
> 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. ISA probes are
> typically a bit more dangerous, as we have to write to I/O ports to do
> this. 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): 
> Probing for `National Semiconductor LM78'
>   Trying address 0x0290... Success!
>     (confidence 6, driver `lm78')
> Probing for `National Semiconductor LM78-J'
>   Trying address 0x0290... Failed!
> Probing for `National Semiconductor LM79'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83781D'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83782D'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83627HF'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83627EHF'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83627DHG'
>   Trying address 0x0290... Failed!
> Probing for `Silicon Integrated Systems SIS5595'
>   Trying general detect... Failed!
> Probing for `VIA Technologies VT82C686 Integrated Sensors'
>   Trying general detect... Failed!
> Probing for `VIA Technologies VT8231 Integrated Sensors'
>   Trying general detect... Failed!
> Probing for `AMD K8 thermal sensors'
>   Trying general detect... Failed!
> Probing for `IPMI BMC KCS'
>   Trying address 0x0ca0... Failed!
> Probing for `IPMI BMC SMIC'
>   Trying address 0x0ca8... Failed!
> 
> Some Super I/O chips may also contain sensors. Super I/O probes are
> typically a bit more dangerous, as we have to write to I/O ports to do
> this. This is usually safe though.
> 
> Do you want to scan for Super I/O sensors? (YES/no): 
> Probing for `ITE 8702F Super IO Sensors'
>   Failed! (skipping family)
> Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
>   Failed! (skipping family)
> Probing for `SMSC 47B27x Super IO Fan Sensors'
>   Failed! (skipping family)
> Probing for `VT1211 Super IO Sensors'
>   Failed! (0xa0)
> Probing for `Winbond W83627HF Super IO Sensors'
>   Failed! (0xa0)
> Probing for `Winbond W83627THF Super IO Sensors'
>   Failed! (0xa0)
> Probing for `Winbond W83637HF Super IO Sensors'
>   Failed! (0xa0)
> Probing for `Winbond W83687THF Super IO Sensors'
>   Failed! (0xa0)
> Probing for `Winbond W83697HF Super IO Sensors'
>   Failed! (0xa0)
> Probing for `Winbond W83697SF/UF Super IO PWM'
>   Failed! (0xa0)
> Probing for `Winbond W83L517D Super IO'
>   Failed! (0xa0)
> Probing for `Fintek F71805F/FG Super IO Sensors'
>   Failed! (0xa021)
> Probing for `Fintek F71872F/FG Super IO Sensors'
>   Failed! (0xa021)
> Probing for `Fintek F81218D Super IO'
>   Failed! (0xa021)
> Probing for `Winbond W83627EHF/EHG Super IO Sensors'
>   Failed! (0xa021)
> Probing for `Winbond W83627DHG Super IO Sensors'
>   Success... found at address 0x0290
> 
> Do you want to scan for secondary Super I/O sensors? (YES/no): 
> Probing for `ITE 8702F Super IO Sensors'
>   Failed! (skipping family)
> Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
>   Failed! (skipping family)
> Probing for `SMSC 47B27x Super IO Fan Sensors'
>   Failed! (skipping family)
> Probing for `VT1211 Super IO Sensors'
>   Failed! (skipping family)
> Probing for `Winbond W83627EHF/EHG Super IO Sensors'
>   Failed! (skipping family)
> 
>  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 `lm78' (may not be inserted):
>   Misdetects:
>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>     Chip `National Semiconductor LM78' (confidence: 6)
> 
> Driver `w83627ehf' (should be inserted):
>   Detects correctly:
>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>     Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9)

Looks correct to me, this one is your hardware monitoring chip.

> 
> I will now generate the commands needed to load the required modules.
> 
> To make the sensors modules behave correctly, add these lines to
> /etc/modules.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
> modprobe i2c-isa
> # Chip drivers
> modprobe eeprom
> modprobe w83627ehf
> # sleep 2 # optional
> /usr/local/bin/sensors -s # recommended
> #----cut here----
>
> WARNING! If you have some things 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 it's done.
> 
> Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): 
> Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
> for initialization at boot time.
> 
> 
> However.... running /etc/init.d/lm_sensors start says "FAILED" and if I try
> to:
> 
> modprobe w83627ehf
> FATAL: Error inserting w83627ehf
> (/lib/modules/2.6.16.21-0.13-smp/kernel/drivers/hwmon/w83627ehf.ko): No such
> device

The W83627DHG is a bit different from the W83627EHF/EHG which is
supported by the w83627ehf driver. We need to add support for your
chip, so it's no surprise that it doesn't work yet.

> So, I am back to using LM78 instead, which gives limited and probably bogus
> information:
> 
> lm78-isa-0290
> Adapter: ISA adapter
> VCore 1:   +2.26 V  (min =  +2.85 V, max =  +3.15 V)
> VCore 2:   +3.63 V  (min =  +2.85 V, max =  +3.15 V)
> +3.3V:     +3.28 V  (min =  +3.14 V, max =  +3.47 V)
> +5V:       +5.48 V  (min =  +4.76 V, max =  +5.24 V)
> +12V:      +9.24 V  (min = +11.37 V, max = +12.59 V)
> -12V:     -11.01 V  (min = -12.63 V, max = -11.40 V)
> -5V:       -3.64 V  (min =  -5.25 V, max =  -4.74 V)
> fan1:        0 RPM  (min = 7105 RPM, div = 2)
> fan2:     1928 RPM  (min = 337500 RPM, div = 4)
> fan3:        0 RPM  (min = 20454 RPM, div = 2)
> temp:      +29.0??C  (high =   +26??C, hyst =   +80??C)   ALARM
> vid:       +3.00 V

No, forget about the LM78, your chip is completely different.

I will try to add some code in sensors-detect to prevent this
misdetection, as it might confuse other users.

-- 
Jean Delvare


  parent reply	other threads:[~2006-08-26 21:21 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-22 14:56 [lm-sensors] Asus P5B Deluxe WiFi AP Sensors Michael Nelson
2006-08-22 20:27 ` Rudolf Marek
2006-08-22 21:38 ` Michael Nelson
2006-08-23  1:09 ` Michael Nelson
2006-08-23 15:01 ` Jean Delvare
2006-08-23 16:25 ` Michael Nelson
2006-08-26 13:25 ` Michael Nelson
2006-08-26 21:21 ` Jean Delvare [this message]
2006-08-26 22:22 ` Michael Nelson
2006-09-01 13:12 ` Michael Nelson
2006-09-02  5:54 ` Jean Delvare
2006-09-02  6:24 ` David Hubbard
2006-09-02 11:04 ` Jean Delvare
2006-09-02 12:54 ` Michael Nelson
2006-09-02 16:04 ` David Hubbard
2006-09-05  9:10 ` Jean Delvare
2006-09-05  9:17 ` Yuan Mu
2006-09-05 15:05 ` David Hubbard
2006-09-05 15:09 ` Michael Nelson
2006-09-06  5:31 ` David Hubbard
2006-09-06  5:33 ` David Hubbard
2006-09-06 12:15 ` Michael Nelson
2006-09-06 13:43 ` Michael Nelson
2006-09-06 14:03 ` Jean Delvare
2006-09-06 14:07 ` Michael Nelson
2006-09-06 14:26 ` Michael Nelson
2006-09-06 14:40 ` Jean Delvare
2006-09-06 15:07 ` Michael Nelson
2006-09-06 15:28 ` Michael Nelson
2006-09-06 18:08 ` David Hubbard
2006-09-06 18:19 ` Michael Nelson
2006-09-06 18:38 ` Jean Delvare
2006-09-06 18:59 ` Jean Delvare
2006-09-06 21:42 ` David Hubbard
2006-09-06 23:02 ` Michael Walle
2006-09-07  1:37 ` Michael Nelson
2006-09-07  6:20 ` David Hubbard
2006-09-07  7:46 ` Jean Delvare
2006-09-07  7:59 ` Jean Delvare
2006-09-07 13:23 ` Michael Nelson
2006-09-07 19:34 ` Rudolf Marek
2006-09-07 21:12 ` Michael Walle
2006-09-08  1:12 ` Michael Nelson
2006-09-08  1:43 ` Michael Nelson
2006-09-10 17:52 ` Jean Delvare
2006-09-10 19:46 ` Michael Nelson
2006-09-10 20:13 ` Michael Nelson
2006-09-20 16:16 ` Jean Delvare
2006-09-21 18:22 ` David Hubbard
2006-09-22 13:51 ` Michael Nelson
2006-12-10 23:30 ` David Hubbard
2006-12-11  4:09 ` David Hubbard
2006-12-11 17:41 ` David Holl
2006-12-11 18:59 ` David Hubbard
2006-12-11 22:10 ` David Holl
2006-12-11 22:16 ` David Hubbard
2006-12-15  3:34 ` David Hubbard
2006-12-15  5:05 ` David Holl
2006-12-15  5:14 ` Con Kolivas
2006-12-15  5:48 ` David Hubbard
2006-12-16  5:48 ` David Holl
2006-12-17  9:50 ` Jean Delvare
2006-12-17  9:55 ` Jean Delvare
2006-12-17  9:59 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060826232132.2e8b34a3.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.