Incorporating Thinkpad Detection into Lm_sensors]
Here's a response to a plea for help on the linux-thinkpad list:
----- Forwarded message from Rob Mayoff <[email protected]> -----
Delivered-To: [email protected]
Delivered-To: [email protected]
Date: 20 Jul 2002 20:17:26 -0500
From: "Rob Mayoff" <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [ltp] Incorporating Thinkpad Detection into Lm_sensors
In-Reply-To: <[email protected]>
Precedence: bulk
Reply-To: [email protected]
X-SpamBouncer: 1.6 beta (6/22/02)
X-SBNote: FROM_DAEMON/Listserv
X-SBClass: Bulk
+---------- On Jul 20, [email protected] said: > So, I need your help! How can we detect a Thinkpad? Does the PCI bus > (lspci) give some obvious determination? Or, is there some other > means of detection we could use? If we could detect for a Thinkpad,
Quoted 2 lines
we could safely disable choice drivers to prevent any chance of Flash ROM corruption on those Thinkpads which are vulnerable.
Perhaps you could detect the "SMAPI BIOS", which many (possibly all) Thinkpads appear to use. See Appendix B of the Technical Reference Manual for the Thinkpad 600 or Thinkpad 770. If you search for "thinkpad technical reference" on Google, those documents will be the top two links.
Here's a quote:
Systems that support SMAPI BIOS must provide the following header image in the F000 segment system ROM area at the 16-byte boundary. The client needs to search and find this SMAPI BIOS header image to get the entry point for the service.
Field Offset (in Hex) Length Value
Signature 00 4 bytes '$SMB' (ASCII)
[etc...]
You might find the loadable modules in the tpctl package useful; they use SMAPI. See <http://tpctl.sourceforge.net/tpctlhome.htm>.
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html
----- End forwarded message -----
Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR [email protected] -- http://www.netroedge.com/~phil PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A