All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Same problem, different form factor.
@ 2009-07-26  1:45 Nuzhna Pomoshch
  2009-07-26 18:51 ` Jean Delvare
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Nuzhna Pomoshch @ 2009-07-26  1:45 UTC (permalink / raw)
  To: lm-sensors

I am having a problem that I have researched a bit, and hope that
someone can help me with it.

I have a Compaq Evo D510 USDT that I can't get the kernel to recognize
the SMBus on.

I found this page, which indicates a similar problem (now fixed) on the
same basic machine (but with a different form factor).

http://www.lm-sensors.org/ticket/2304 (and the patch, which shows CMT
and SFF form factors, but not USDT).

My computer behaves exactly the same way (meaning it gives the same
output).

The pci-enable-SMBus-on-Compaq-Evo-D510.patch does not work on this particular form factor.

I have tried various 2.6.28 and 2.6.29 kernels (all with lm_sensors
2.10.7), but still don't see the SMBus.

Any thoughts? Thanks.

Nuzhna


      

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [lm-sensors] Same problem, different form factor.
  2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
@ 2009-07-26 18:51 ` Jean Delvare
  2009-07-27  0:20 ` Nuzhna Pomoshch
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2009-07-26 18:51 UTC (permalink / raw)
  To: lm-sensors

Hi Nuzhna,

On Sat, 25 Jul 2009 18:45:11 -0700 (PDT), Nuzhna Pomoshch wrote:
> I am having a problem that I have researched a bit, and hope that
> someone can help me with it.
> 
> I have a Compaq Evo D510 USDT that I can't get the kernel to recognize
> the SMBus on.
> 
> I found this page, which indicates a similar problem (now fixed) on the
> same basic machine (but with a different form factor).
> 
> http://www.lm-sensors.org/ticket/2304 (and the patch, which shows CMT
> and SFF form factors, but not USDT).
> 
> My computer behaves exactly the same way (meaning it gives the same
> output).
> 
> The pci-enable-SMBus-on-Compaq-Evo-D510.patch does not work on this particular form factor.
> 
> I have tried various 2.6.28 and 2.6.29 kernels (all with lm_sensors
> 2.10.7), but still don't see the SMBus.

It shouldn't be too difficult to extend the PCI quirk to apply to your
machine as well. Please send the output of "lspci -vnn" and acpidump.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [lm-sensors] Same problem, different form factor.
  2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
  2009-07-26 18:51 ` Jean Delvare
@ 2009-07-27  0:20 ` Nuzhna Pomoshch
  2009-07-27 13:34 ` Jean Delvare
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Nuzhna Pomoshch @ 2009-07-27  0:20 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

--- On Sun, 7/26/09, Jean Delvare <khali@linux-fr.org> wrote:

> It shouldn't be too difficult to extend the PCI quirk to
> apply to your machine as well. Please send the output of
> "lspci -vnn" and acpidump.

Thanks. I hope I have these in the right format.

Nuzhna


      

[-- Attachment #2: lspci-vnn.out.bz2 --]
[-- Type: application/octet-stream, Size: 1235 bytes --]

[-- Attachment #3: acpidump.out.bz2 --]
[-- Type: application/octet-stream, Size: 9792 bytes --]

[-- Attachment #4: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [lm-sensors] Same problem, different form factor.
  2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
  2009-07-26 18:51 ` Jean Delvare
  2009-07-27  0:20 ` Nuzhna Pomoshch
@ 2009-07-27 13:34 ` Jean Delvare
  2009-07-28  4:54 ` Nuzhna Pomoshch
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2009-07-27 13:34 UTC (permalink / raw)
  To: lm-sensors

Hi Nuzhna,

On Sun, 26 Jul 2009 17:20:34 -0700 (PDT), Nuzhna Pomoshch wrote:
> --- On Sun, 7/26/09, Jean Delvare <khali@linux-fr.org> wrote:
> 
> > It shouldn't be too difficult to extend the PCI quirk to
> > apply to your machine as well. Please send the output of
> > "lspci -vnn" and acpidump.
> 
> Thanks. I hope I have these in the right format.

Alright (although compressing the lspci output wasn't terribly needed).
Here's a patch to try. If applies on top of the other related patches.
It should apply right away on top of kernel >= 2.6.30. For kernels >2.6.27 you'll need to add the line manually due to changing context.

From: Jean Delvare <khali@linux-fr.org>
Subject: PCI: Unhide the SMBus on the Compaq Evo D510 USDT

One more form factor for Compaq Evo D510, which needs the same quirk
as the other form factors.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
 drivers/pci/quirks.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.31-rc4.orig/drivers/pci/quirks.c	2009-07-14 10:26:41.000000000 +0200
+++ linux-2.6.31-rc4/drivers/pci/quirks.c	2009-07-27 14:47:15.000000000 +0200
@@ -1201,6 +1201,7 @@ static void __init asus_hides_smbus_host
 			switch(dev->subsystem_device) {
 			case 0x00b8: /* Compaq Evo D510 CMT */
 			case 0x00b9: /* Compaq Evo D510 SFF */
+			case 0x00ba: /* Compaq Evo D510 USDT */
 				/* Motherboard doesn't have Host bridge
 				 * subvendor/subdevice IDs and on-board VGA
 				 * controller is disabled if an AGP card is


Then please report if it worked OK or not. If you get lm-sensors to
work, please include the output of "sensors".

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [lm-sensors] Same problem, different form factor.
  2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
                   ` (2 preceding siblings ...)
  2009-07-27 13:34 ` Jean Delvare
@ 2009-07-28  4:54 ` Nuzhna Pomoshch
  2009-07-28  7:34 ` Jean Delvare
  2009-07-29  1:05 ` Nuzhna Pomoshch
  5 siblings, 0 replies; 7+ messages in thread
From: Nuzhna Pomoshch @ 2009-07-28  4:54 UTC (permalink / raw)
  To: lm-sensors

--- On Mon, 7/27/09, Jean Delvare <khali@linux-fr.org> wrote:

> Alright (although compressing the lspci output wasn't
> terribly needed).

I know, but Yahoo has a tendency to truncate long lines (and
the setting to change that seems to have disappeared).

> Here's a patch to try. If applies on top of the other
> related patches.

I don't know anything about "related" patches. Which ones
are those?

> Then please report if it worked OK or not.

I added the line manually and lspci -vnn now does produce
the SMBus:

00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 01)
        Subsystem: Compaq Computer Corporation Device [0e11:00ba]
        Flags: medium devsel, IRQ 5
        I/O ports at fc00 [size2]
        Kernel driver in use: i801_smbus

> If you get lm-sensors to work, please include the output
> of "sensors".

No luck there (which is not a surprise if I need more patches).

# sensors-detect
# sensors-detect revision 5291 (2008-06-23 23:40:46 -0700)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. 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.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801DB ICH4

We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no): n
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may
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.

Next adapter: intelfb CRTDDC_A (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: intelfb DVODDC_D (i2c-1)
Do you want to scan it? (YES/no/selectively): y

Next adapter: intelfb DVOI2C_E (i2c-2)
Do you want to scan it? (YES/no/selectively): y

Next adapter: SMBus I801 adapter at fc00 (i2c-3)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. 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): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found `SMSC LPC47B367-NC Super IO'
    (no hardware monitoring capabilities)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal and voltage sensors...                       No

Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an
I2C or SMBus adapter that is not supported. See doc/FAQ,
doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.

I expected (though it is obviously not guaranteed) to find the
sensors covered by the lm85 chip (as in the other Evo D510s).

Nuzhna


      

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [lm-sensors] Same problem, different form factor.
  2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
                   ` (3 preceding siblings ...)
  2009-07-28  4:54 ` Nuzhna Pomoshch
@ 2009-07-28  7:34 ` Jean Delvare
  2009-07-29  1:05 ` Nuzhna Pomoshch
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2009-07-28  7:34 UTC (permalink / raw)
  To: lm-sensors

Hi Nuzhna,

On Mon, 27 Jul 2009 21:54:19 -0700 (PDT), Nuzhna Pomoshch wrote:
> I added the line manually and lspci -vnn now does produce
> the SMBus:
> 
> 00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 01)
>         Subsystem: Compaq Computer Corporation Device [0e11:00ba]
>         Flags: medium devsel, IRQ 5
>         I/O ports at fc00 [size2]
>         Kernel driver in use: i801_smbus
> 

OK, so it worked fine.

> > If you get lm-sensors to work, please include the output
> > of "sensors".
> 
> No luck there (which is not a surprise if I need more patches).

No, if you see the SMBus now then you have all the patches you need.

> # sensors-detect
> # sensors-detect revision 5291 (2008-06-23 23:40:46 -0700)
> 
> This program will help you determine which kernel modules you need
> to load to use lm_sensors most effectively. 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.
> Do you want to probe now? (YES/no): y
> Probing for PCI bus adapters...
> Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801DB ICH4
> 
> We will now try to load each adapter module in turn.
> Load `i2c-i801' (say NO if built into your kernel)? (YES/no): n
> If you have undetectable or unsupported I2C/SMBus adapters, you can have
> them scanned by manually loading the modules before running this script.
> 
> We are now going to do the I2C/SMBus adapter probings. Some chips may
> 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.
> 
> Next adapter: intelfb CRTDDC_A (i2c-0)
> Do you want to scan it? (YES/no/selectively): y
> Client found at address 0x50
> Probing for `Analog Devices ADM1033'...                     No
> Probing for `Analog Devices ADM1034'...                     No
> Probing for `SPD EEPROM'...                                 No
> Probing for `EDID EEPROM'...                                Yes
>     (confidence 8, not a hardware monitoring chip)
> 
> Next adapter: intelfb DVODDC_D (i2c-1)
> Do you want to scan it? (YES/no/selectively): y
> 
> Next adapter: intelfb DVOI2C_E (i2c-2)
> Do you want to scan it? (YES/no/selectively): y
> 
> Next adapter: SMBus I801 adapter at fc00 (i2c-3)
> Do you want to scan it? (YES/no/selectively): y
> Client found at address 0x50
> Probing for `Analog Devices ADM1033'...                     No
> Probing for `Analog Devices ADM1034'...                     No
> Probing for `SPD EEPROM'...                                 Yes
>     (confidence 8, not a hardware monitoring chip)
> Probing for `EDID EEPROM'...                                No
> Client found at address 0x51
> Probing for `Analog Devices ADM1033'...                     No
> Probing for `Analog Devices ADM1034'...                     No
> Probing for `SPD EEPROM'...                                 Yes
>     (confidence 8, not a hardware monitoring chip)
> Probing for `EDID EEPROM'...                                No

This is where the other D510 have a hardware monitoring chip. Instead,
all you have are the SPD EEPROMs. You can play a bit with the
decode-dimms script, but that's probably not what you want.

> Some chips are also accessible through the ISA I/O ports. We have to
> write to arbitrary I/O ports to probe them. 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): y
> Probing for `National Semiconductor LM78' at 0x290...       No
> Probing for `National Semiconductor LM78-J' at 0x290...     No
> Probing for `National Semiconductor LM79' at 0x290...       No
> Probing for `Winbond W83781D' at 0x290...                   No
> Probing for `Winbond W83782D' at 0x290...                   No
> Probing for `IPMI BMC KCS' at 0xca0...                      No
> Probing for `IPMI BMC SMIC' at 0xca8...                     No
> 
> Some Super I/O chips may also contain sensors. We have to write to
> standard I/O ports to probe them. This is usually safe.
> Do you want to scan for Super I/O sensors? (YES/no): y
> Probing for Super-I/O at 0x2e/0x2f
> Trying family `National Semiconductor'...                   No
> Trying family `SMSC'...                                     Yes
> Found `SMSC LPC47B367-NC Super IO'
>     (no hardware monitoring capabilities)
> Probing for Super-I/O at 0x4e/0x4f
> Trying family `National Semiconductor'...                   No
> Trying family `SMSC'...                                     No
> Trying family `VIA/Winbond/Fintek'...                       No
> Trying family `ITE'...                                      No
> 
> Some south bridges, CPUs or memory controllers may also contain
> embedded sensors. Do you want to scan for them? (YES/no): y
> Silicon Integrated Systems SIS5595...                       No
> VIA VT82C686 Integrated Sensors...                          No
> VIA VT8231 Integrated Sensors...                            No
> AMD K8 thermal sensors...                                   No
> AMD K10 thermal sensors...                                  No
> Intel Core family thermal sensor...                         No
> Intel AMB FB-DIMM thermal sensor...                         No
> VIA C7 thermal and voltage sensors...                       No
> 
> Sorry, no sensors were detected.
> Either your sensors are not supported, or they are connected to an
> I2C or SMBus adapter that is not supported. See doc/FAQ,
> doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
> (FAQ #4.24.3) for further information.
> If you find out what chips are on your board, check
> http://www.lm-sensors.org/wiki/Devices for driver status.
> 
> I expected (though it is obviously not guaranteed) to find the
> sensors covered by the lm85 chip (as in the other Evo D510s).

But apparently this isn't the case. What form factor is the USDT? If it
is a small thing, then maybe they had to cut on extra features to make
it fit.

Sorry but this looks like a dead end. I can push the patch upstream for
SPD EEPROM access, but that's about it.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [lm-sensors] Same problem, different form factor.
  2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
                   ` (4 preceding siblings ...)
  2009-07-28  7:34 ` Jean Delvare
@ 2009-07-29  1:05 ` Nuzhna Pomoshch
  5 siblings, 0 replies; 7+ messages in thread
From: Nuzhna Pomoshch @ 2009-07-29  1:05 UTC (permalink / raw)
  To: lm-sensors

--- On Tue, 7/28/09, Jean Delvare <khali@linux-fr.org> wrote:

> > I expected (though it is obviously not guaranteed) to find the
> > sensors covered by the lm85 chip (as in the other Evo D510s).
> 
> But apparently this isn't the case. What form factor is the USDT?
> If it is a small thing, then maybe they had to cut on extra
> features to make it fit.

USDT stands for "Ultra Small DeskTop" (about the size of two fifteen
inch laptops stacked on top of each other). It does have limited
upgrade capabilities (no pci slots, for example), but I hoped that
it would still include hardware monitoring capabilities. :( Nice to
finally have an answer, though.

> Sorry but this looks like a dead end. I can push the patch
> upstream for SPD EEPROM access, but that's about it.

Thanks for that. Glad I could contribute something (however small).

Nuzhna


      

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-29  1:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-26  1:45 [lm-sensors] Same problem, different form factor Nuzhna Pomoshch
2009-07-26 18:51 ` Jean Delvare
2009-07-27  0:20 ` Nuzhna Pomoshch
2009-07-27 13:34 ` Jean Delvare
2009-07-28  4:54 ` Nuzhna Pomoshch
2009-07-28  7:34 ` Jean Delvare
2009-07-29  1:05 ` Nuzhna Pomoshch

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.