2002-03-11 23:05:25

by Stephen Rothwell

[permalink] [raw]
Subject: [PATCH] DMI patch for broken Dell laptop

Hi Marcelo, Linus,

This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS
version A12 on the Insiron 2500).

Patch against 2.4.19-pre2, but applies also to 2.5.6 (with offset).

Reported by Mihnea-Costin Grigore <[email protected]>.
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.4.19-pre2/arch/i386/kernel/dmi_scan.c 2.4.19-pre2-Dell/arch/i386/kernel/dmi_scan.c
--- 2.4.19-pre2/arch/i386/kernel/dmi_scan.c Wed Mar 6 16:13:35 2002
+++ 2.4.19-pre2-Dell/arch/i386/kernel/dmi_scan.c Mon Mar 11 11:26:38 2002
@@ -452,6 +452,11 @@
MATCH(DMI_BIOS_VERSION, "A04"),
MATCH(DMI_BIOS_DATE, "08/24/2000"), NO_MATCH
} },
+ { broken_apm_power, "Dell Inspiron 2500", { /* Handle problems with APM on Inspiron 2500 */
+ MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
+ MATCH(DMI_BIOS_VERSION, "A12"),
+ MATCH(DMI_BIOS_DATE, "02/04/2002"), NO_MATCH
+ } },
{ set_realmode_power_off, "Award Software v4.60 PGMA", { /* broken PM poweroff bios */
MATCH(DMI_BIOS_VENDOR, "Award Software International, Inc."),
MATCH(DMI_BIOS_VERSION, "4.60 PGMA"),


2002-03-12 20:10:06

by Joseph Fannin

[permalink] [raw]
Subject: Re: [PATCH] DMI patch for broken Dell laptop

On Tue, Mar 12, 2002 at 10:02:25AM +1100, Stephen Rothwell wrote:
> Hi Marcelo, Linus,
>
> This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS
> version A12 on the Insiron 2500).
>

I think this problem exists for all i2500 BIOS versions > A06. (I
have such a machine, and access to the BIOS versions back to A08 if
there is something specific I can test for -- that APM power status
worked with revision A06 is just heresay.)

--
Joseph Fannin
[email protected]

"I think I said something eloquent, like 'Fuck.'" -- Rusty Russell.

2002-03-12 22:35:42

by Stephen Rothwell

[permalink] [raw]
Subject: Re: [PATCH] DMI patch for broken Dell laptop

Hi Joseph,

On Tue, 12 Mar 2002 15:09:48 -0500 [email protected] (Joseph Fannin) wrote:
>
> On Tue, Mar 12, 2002 at 10:02:25AM +1100, Stephen Rothwell wrote:
> > Hi Marcelo, Linus,
> >
> > This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS
> > version A12 on the Insiron 2500).
>
> I think this problem exists for all i2500 BIOS versions > A06. (I
> have such a machine, and access to the BIOS versions back to A08 if
> there is something specific I can test for -- that APM power status
> worked with revision A06 is just heresay.)

Thanks for the offer. The way to test this is to install each BIOS version,
boot into Linux (preferably in single user mode :-)) and then cat /proc/apm.
If you get an OOPS with then it probably has this problem. The send
the BIOS versions to us and we will add them to the black list.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/