[ltp] Incorporating Thinkpad Detection into Lm_sensors

Jon Hull linux-thinkpad@www.bm-soft.com
24 Jul 2002 21:19:35 -0400


Hi,
here is a 600x, a 2645-4eu --

sasha jon # lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev
03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev
03)
00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:03.0 Communication controller: Lucent Microelectronics WinModem 56k
(rev 01)
00:06.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
[CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:07.0 Bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 03)
01:00.0 VGA compatible controller: Neomagic Corporation NM2360
[MagicMedia 256ZX]
sasha jon # lspci -n
00:00.0 Class 0600: 8086:7190 (rev 03)
00:01.0 Class 0604: 8086:7191 (rev 03)
00:02.0 Class 0607: 104c:ac1b (rev 03)
00:02.1 Class 0607: 104c:ac1b (rev 03)
00:03.0 Class 0780: 11c1:0449 (rev 01)
00:06.0 Class 0401: 1013:6003 (rev 01)
00:07.0 Class 0680: 8086:7110 (rev 02)
00:07.1 Class 0101: 8086:7111 (rev 01)
00:07.2 Class 0c03: 8086:7112 (rev 01)
00:07.3 Class 0680: 8086:7113 (rev 03)
01:00.0 Class 0300: 10c8:0006



--jon

On Wed, 2002-07-24 at 17:48, 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.
> thanks
> >
> > ThinkPad 770X
> > ThinkPad 600E
> > ThinkPad 770Z
> > ThinkPad 600X
> > ThinkPad 240
> > ThinkPad X20
> > ThinkPad 570E
> >
> 
> Michael Selway wrote:
> > 
> > Charles E Taylor IV writes:
> >  > [Thinkpad detection]
> >  >
> >  > On Mon, 22 Jul 2002 12:43:24 -0500
> >  > Jim Redmond <jim@scrubnugget.com> wrote:
> >  >
> >  > > I'm pretty sure this is based on a .config setting, defined by the user.
> >  >
> >  > On my stock RH 7.3 Thinkpad 600, I notice the following in the startup
> >  > logs:
> >  >
> >  > IBM machine detected. Enabling interrupts during APM calls.
> > 
> > The code I pointed out to the lm_sensors guys is the code which
> > causes this line to be printed.  AFAIK, Linux always overrides the
> > setting of APM_ALLOW_INTS on all IBM machines, both in .config and
> > on the kernel command line: APM_ALLOW_INTS is forcibly set ON.
> > 
> > I've been experimenting with undoing all this so that I have
> > control of APM_ALLOW_INTS again.  I'm persuing my struggle to get
> > 100% reliable suspend/resume on my T21.  Currently I'm running
> > with APM_ALLOW_INTS switched OFF.  It's a "well known fact" that
> > this doesn't work on thinkpads.  Well, it does on my T21.  It's
> > too early to say whether it's helped my suspend problems, as I'm
> > down to one failure every few weeks now, so it takes a long time
> > to test.  So far it's at least as reliable and maybe more
> > reliable.
> > 
> > Michael.
> > 
> > ----- 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
> 



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