[ltp] Incorporating Thinkpad Detection into Lm_sensors
dean gaudet
linux-thinkpad@www.bm-soft.com
Wed, 24 Jul 2002 15:21:53 -0700 (PDT)
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