From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: I2C crash - ADM1021
Date: Thu, 19 May 2005 06:24:21 +0000 [thread overview]
Message-ID: <20031014222047.37d54212.khali@linux-fr.org> (raw)
In-Reply-To: <1063901946.2937.27.camel@localhost>
> Interesting, Jean.
>
> Now, s-d is recommending I insert pcf8591 but it did not before!
Perfectly normal, that's what I expected.
> What IS it about my system and port 0x4c?
Simply an unknown chip.
> For that matter, can you have
> two drivers trying to access different chips at the same port?
Not at the same time.
> Isn't that what got me into trouble in the first place?
No, it was the adm1021 driver trying to handle an unknown (and obviously
non-adm1021-compatible) chip.
> Driver `pcf8591' (should be inserted but causes problems):
> Detects correctly:
> * Bus `SMBus Via Pro adapter at 5000' (Non-I2C SMBus adapter)
> Busdriver `i2c-viapro', I2C address 0x4e
> Chip `Philips Semiconductors PCF8591' (confidence: 1)
> Misdetects:
> * Bus `SMBus Via Pro adapter at 5000' (Non-I2C SMBus adapter)
> Busdriver `i2c-viapro', I2C address 0x4c
> Chip `Philips Semiconductors PCF8591' (confidence: 1)
The PCF8591 is an 8-bit A/D-D/A converter which cannot be detected (it
has no readable registers), so we simply give it a confidence value of 1
(the lowest possible). This means that any other chip that will be
detected at the same address will discard it (that's the case at 0x4c,
where the lm90 discards the pcf8591) but at 0x4e I've been able to
prevent all misdetections (adm1021, lm75) but the pcf8591, so
sensors-detect now concludes that the chip at 0x4e is a PCF8591. I think
we should consider chips with confidence=1 as misdetected, and not add
them to the list of suggested modules. Unfortunately, this option
requires important changes to the code and I don't really have the time
for that now. Chips like the PCF8591 could also be simply removed from
sensors-detect (after all, we *can't* detect them so what's the point?).
That second option is an easy one and would probably make the users
happier in average.
Thanks a lot for testing my changes :)
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 I2C crash - ADM1021 Peter Hyman
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare [this message]
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Peter Hyman
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` 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=20031014222047.37d54212.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.