* Issue getting sis630 i2c smbus driver to work
@ 2005-05-19 6:25 Geoffrey Hausheer
2005-05-19 6:25 ` Jean Delvare
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Geoffrey Hausheer @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
I have a laptop with a sis630 chipset
When I modprobe i2c-sis630, nothing happens. The module seems to load
fine, but there are no messages in dmesg (I have all debuggng options
for I2C enabled), and 'i2cdetect -l' returns nothing. Just to check,
I loaded the i2c-isa module, which works ok (i2cdetect -l shows the
isa driver) but there are no isa sensors (not surprising)
sensors-detect (obviously) doesn't detect anything either.
This is a 2.6.7 kernel with lm-sensors 2.8.7
ACPI is enabled if it is important
please let me know if there is anything else I can do to help debug further.
lspci:
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
0000:00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:01.0 ISA bridge: Silicon Integrated Systems [SiS]
SiS85C503/5513 (LPC Bridge)
0000:00:01.1 Ethernet controller: Silicon Integrated Systems [SiS]
SiS900 PCI Fast Ethernet (rev 82)
0000:00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 07)
0000:00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 07)
0000:00:01.4 Multimedia audio controller: Silicon Integrated Systems
[SiS] SiS PCI Audio Accelerator (rev 02)
0000:00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem
Controller (rev a0)
0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual
PCI-to-PCI bridge (AGP)
0000:00:03.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
0000:00:09.0 Network controller: Intersil Corporation Prism 2.5
Wavelan chipset (rev 01)
0000:00:0a.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 04)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems
[SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)
lspci -n
0000:00:00.0 Class 0600: 1039:0630 (rev 31)
0000:00:00.1 Class 0101: 1039:5513 (rev d0)
0000:00:01.0 Class 0601: 1039:0018
0000:00:01.1 Class 0200: 1039:0900 (rev 82)
0000:00:01.2 Class 0c03: 1039:7001 (rev 07)
0000:00:01.3 Class 0c03: 1039:7001 (rev 07)
0000:00:01.4 Class 0401: 1039:7018 (rev 02)
0000:00:01.6 Class 0703: 1039:7013 (rev a0)
0000:00:02.0 Class 0604: 1039:0001
0000:00:03.0 Class 0607: 1217:6972
0000:00:09.0 Class 0280: 1260:3873 (rev 01)
0000:00:0a.0 Class 0c00: 11c1:5811 (rev 04)
0000:01:00.0 Class 0300: 1039:6300 (rev 31)
lsmod:
Module Size Used by
i2c_sis630 8044 0
i2c_core 21652 1 i2c_sis630
sis 54176 2
grep 'I2C.*=' .config
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ISA=m
CONFIG_I2C_SIS630=m
CONFIG_I2C_SENSOR=m
CONFIG_I2C_DEBUG_CORE=y
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
CONFIG_I2C_DEBUG_CHIP=y
(all sensor chips are built as modules)
.Geoff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Issue getting sis630 i2c smbus driver to work
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 ` Geoffrey Hausheer
@ 2005-05-19 6:25 ` Alexander Malysh
2005-05-19 6:25 ` Alexander Malysh
2005-05-19 6:25 ` Mark M. Hoffman
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Malysh @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Skipped content of type multipart/mixed-------------- 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/20040706/f5ffe63d/attachment.bin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Issue getting sis630 i2c smbus driver to work
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 ` Geoffrey Hausheer
2005-05-19 6:25 ` Alexander Malysh
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Geoffrey Hausheer @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
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...
> 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
..
Sorry, no chips were detected.
..
I assume this means that either (a) the laptop has no sensors, or (b)
they aren't supported by linux yet. Is this a reasonable assertion? Is
there anything I can do (short of disassembling my laptop) to help?
Thanks again,
.Geoff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Issue getting sis630 i2c smbus driver to work
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 ` Geoffrey Hausheer
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
> 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
>
> ..
> Sorry, no chips were detected.
> ..
>
> I assume this means that either (a) the laptop has no sensors, or (b)
> they aren't supported by linux yet. Is this a reasonable assertion?
> Is there anything I can do (short of disassembling my laptop) to help?
Most probably (a). 0x08 is a typical address for SMBus 2.0 related stuff
(not a real chip), and 0x10 is certainly not a typical address for
hardware monitoring chips. You can still try dumping their contents
(using i2cdump), but I would say no chance we can do anything with them.
At the very limit they may be battery-related chips.
It's very common that laptop have no hardware monitoring chips, or at
least they are not exposed. You may get some luck with ACPI (thermal
zone & fan) in this case.
Good luck,
--
Jean Delvare
http://khali.linux-fr.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Issue getting sis630 i2c smbus driver to work
2005-05-19 6:25 Issue getting sis630 i2c smbus driver to work Geoffrey Hausheer
` (3 preceding siblings ...)
2005-05-19 6:25 ` Alexander Malysh
@ 2005-05-19 6:25 ` Mark M. Hoffman
4 siblings, 0 replies; 6+ messages in thread
From: Mark M. Hoffman @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
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)
> > 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.
Furthermore, what happens when the guy with 1039:0735/1039:0018 loads sis630?
That could be very bad.
Regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Issue getting sis630 i2c smbus driver to work
2005-05-19 6:25 Issue getting sis630 i2c smbus driver to work Geoffrey Hausheer
` (2 preceding siblings ...)
2005-05-19 6:25 ` Alexander Malysh
@ 2005-05-19 6:25 ` Alexander Malysh
2005-05-19 6:25 ` Mark M. Hoffman
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Malysh @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-19 6:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` Geoffrey Hausheer
2005-05-19 6:25 ` Alexander Malysh
2005-05-19 6:25 ` Alexander Malysh
2005-05-19 6:25 ` Mark M. Hoffman
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.