[ltp] Incorporating Thinkpad Detection into Lm_sensors

Mark D. Studebaker linux-thinkpad@www.bm-soft.com
Thu, 25 Jul 2002 21:25:09 -0400


Our plan is to put the DMI detection in two places -
1) sensors-detect, our userspace detection script;
2) i2c-piix4, our SMBus driver for the Intel PIIX4 (82371AB and 82443MX)
   SMBus master.

#2) is based on our assumption that the AT24RF08 is on the PIIX4's SMBus
   (that's the only way our package could access it) and that
   all the suspect Thinkpads have a 82371AB or a 82443MX chip.
   These are identified by PCI ID 8086:7113 and 8086:719B for the SMBus
(ACPI) device.

I would like to know if these assumptions are valid. All the lspci
output
I've seen has indicated one of these chips, or else no SMBus device at
all.
Do we know of any thinkpads not using an Intel chipset?



"Mark D. Studebaker" wrote:
> 
> I was holding out hope that there were PCI parts with IBM ID's in
> every one of the laptops reported bad on
> http://www.linux-thinkpad.org
> which I of course don't know to be the absolute complete list.
> 
> Your lspci output is a counterexample.
> So are everyone elses'. So much for hope.
> Guess I don't need any more listings.
> We'll get to work on DMI.
> thanks
> mds
> 
> dean gaudet wrote:
> >
> > On Wed, 24 Jul 2002, Mark Studebaker wrote:
> >
> > > Hi, I'm on the lm_sensors project too.
> > > I would like to investigate using PCI ID's to identify a thinkpad.
> > > This would be simpler than using DMI.
> > > Would folks please post the output of 'lspci' and 'lspci -n'
> > > for each of the following laptops reported to be a problem.
> > > Obviously we only need one posting for each model.
> >
> > unfortunately, you need many listings.  IBM will call someting "600E" and
> > ship many variations of the hardware.  this actually may make your
> > hypothesis not feasible... there's nothing in the data below which says
> > "hey this is an IBM 600E!"
> >
> > DMI really is a better choice.
> >
> > and in general it's probably better to whitelist sensors data:  include
> > a database of all known to work configurations.
> >
> > -dean
> >
> > here's the data you requested from a 600E:
> >
> > # lspci
> > 00:00.0 Host bridge: Intel Corporation 430MX - 82437MX MTSC [430MX PCIset - 82437MX Mobile System Controller (MTSC) and 82438MX Mobile Data Path (MT (rev 02)
> > 00:01.0 Bridge: Intel Corporation 430MX - 82371MX MPIIX [430MX PCIset - 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX)] (rev 02)
> > 00:03.0 VGA compatible controller: Trident Microsystems TGUI 9660/968x/968x (rev d3)
> > 00:13.0 PCMCIA bridge: Cirrus Logic CL 6729 (rev e2)
> > # lspci -n
> > 00:00.0 Class 0600: 8086:1235 (rev 02)
> > 00:01.0 Class 0680: 8086:1234 (rev 02)
> > 00:03.0 Class 0300: 1023:9660 (rev d3)
> > 00:13.0 Class 0605: 1013:1100 (rev e2)
> 
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html