All of lore.kernel.org
 help / color / mirror / Atom feed
From: amalysh@web.de (Alexander Malysh)
To: lm-sensors@vger.kernel.org
Subject: Issue getting sis630 i2c smbus driver to work
Date: Thu, 19 May 2005 06:25:05 +0000	[thread overview]
Message-ID: <200407081025.36455.amalysh@web.de> (raw)
In-Reply-To: <14164-38866@sneakemail.com>

Hi Mark,

On Thursday 08 July 2004 07:01, Mark M. Hoffman wrote:
> Hi all:
>
> * Geoffrey Hausheer <c479wy002@sneakemail.com> [2004-07-06 10:49:36 -0500]:
> > On Tue, 6 Jul 2004 10:59:16 +0200, "Alexander Malysh amalysh-at-web.de
> >
> > |lm-sensors/1.0-Allow|" <ii2ui0fae60t@sneakemail.com> said:
> > |
> > > Hi,
> > >
> > > please try attached patch...
>
> (attached patch added SiS 1039:0018 to PCI device list of sis630.c)

yep, that's correct...

>
> > > Thanks!
> >
> > Thanks, this did indeed work, though when running sensors-detect, i get:
> > Next adapter: SMBus SIS630 adapter at 5080 (Algorithm unavailiable)
> > Do you want to scan it? (YES/no/selectively):
> > Client found at address 0x08
> > Client found at address 0x10
>
> <snip>
>
> Well, that's interesting all by itself.  Until now, I thought that
> 1039:0018 were always just mis-identified SiS 96x south bridges.  I've seen
> a SiS735 (single-chip north/south) identify itself as 1039:0735 &
> 1039:0018.  For that system, the sis96x driver works fine.
>
> In your case, Geoffrey, the 2.6 kernel PCI quirks routine still does the
> right thing (or at least, it doesn't break anything I guess).  Trouble is,
> it tries to write a particular bit in the PCI device config space that is
> probably not appropriate... one that for 96x chipsets would enable the
> SMBus device.  I'm not sure what to do about this.

sis630/sis730 LPC has also a ability to change a id, so PCI quirk routine just 
did this and i2c-sis630 should be aware of this possibility.

>
> Furthermore, what happens when the guy with 1039:0735/1039:0018 loads
> sis630? That could be very bad.

nothing bad will happens, as long the guy doesn't force i2c-sis630 to be 
loaded, because i2c-sis630 checks for supported chips (and those are: sis630, 
sis730).

>
> Regards,

-- 
Best regards,
Dipl.-Ing.
Alexander Malysh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040708/522f90e2/attachment.bin

      parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 Issue getting sis630 i2c smbus driver to work Geoffrey Hausheer
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Alexander Malysh
2005-05-19  6:25 ` Geoffrey Hausheer
2005-05-19  6:25 ` Mark M. Hoffman
2005-05-19  6:25 ` Alexander Malysh [this message]

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=200407081025.36455.amalysh@web.de \
    --to=amalysh@web.de \
    --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.