[PATCH] DMI patch for broken Dell laptop

Stephen Rothwell (sfr@canb.auug.org.au)
Tue, 12 Mar 2002 10:02:25 +1100


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 <mgc8@totalnet.ro>.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
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"), - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/