From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902
Date: Sat, 19 Jan 2008 15:00:12 +0000 [thread overview]
Message-ID: <20080119160012.400fdbd1@hyperion.delvare> (raw)
In-Reply-To: <004e01c856bc$6f975c10$0204a8c0@IT>
Hi Juerg,
On Fri, 18 Jan 2008 16:08:00 +0100, Juerg Haefliger wrote:
> Again, I'll take a look at the datasheets and if the chips are indeed
> compatible, I'll fix the dme1737 driver to support the sch5027. I
> don't have access to a test machine until next week, so it has to wait
> until then.
You may be interested in the following recipe then:
* Have Andrew send you a dump of his chip:
i2cdump 0 0x2e b > sch5027.dump
* Download and run my i2c-stub-from-dump script on it:
http://www.lm-sensors.org/browser/i2c-tools/trunk/stub/i2c-stub-from-dump
Syntax:
i2c-stub-from-dump 0x2e sch5027.dump
You'll need the "i2c-stub" kernel driver and the "i2cset" helper.
Then you have an emulated chip to play with. It should let you test things
like device detection, value register reads, etc.
It's always better to have a real device of course, but I still find
i2c-stub very helpful when I need to touch drivers for SMBus devices I
don't own.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2008-01-19 15:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 14:47 [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 Andrew Voznytsa
2008-01-14 15:19 ` [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: Philip Pokorny
2008-01-14 16:06 ` Juerg Haefliger
2008-01-14 17:01 ` Andrew Voznytsa
2008-01-17 16:37 ` Juerg Haefliger
2008-01-17 16:54 ` Andrew Voznytsa
2008-01-18 12:49 ` Juerg Haefliger
2008-01-18 14:23 ` Andrew Voznytsa
2008-01-18 15:08 ` Juerg Haefliger
2008-01-18 15:25 ` Andrew Voznytsa
2008-01-19 15:00 ` Jean Delvare [this message]
2008-01-19 15:12 ` [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 Andrew Voznytsa
2008-01-20 22:15 ` Juerg Haefliger
2008-01-30 5:22 ` [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: Juerg Haefliger
2008-01-30 13:18 ` Andrew Voznytsa
2008-01-30 16:08 ` Juerg Haefliger
2008-01-30 17:29 ` Andrew Voznytsa
2008-01-30 18:20 ` Juerg Haefliger
2008-01-30 19:08 ` Andrew Voznytsa
2008-02-05 7:31 ` Juerg Haefliger
2008-02-05 12:20 ` Andrew Voznytsa
2008-02-06 14:03 ` Juerg Haefliger
2008-02-06 14:20 ` Andrew Voznytsa
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=20080119160012.400fdbd1@hyperion.delvare \
--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.