[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400488: ACPI blacklisting of select HP laptop models



So here's the score on these bugs:

- there are several problems in 2.6.18 with ACPI handling which render fan
  support more or less inoperable on specific HP laptop models.
- these issues are believed to be resolved in 2.6.19, and backport patches
  are available, but the impact of these backports on unrelated hardware is
  unknown and therefore backporting of ACPI fixes has been rejected as a
  solution for etch.
- that leaves the option of adding these laptops to the kernel's ACPI
  blacklist, so that fans are left under control of the BIOS; this has the
  disadvantage of breaking all ACPI support, including battery monitoring
  and S3 suspend, but given the problems caused -- a memory leak, plus an
  inability to control the machine temperature which, while not /supposed/
  to be fatal, could still potentially cause some heat damage -- this still
  appears to be the lesser of two evils.

Bug #404143 includes acpidump output for the HP nx6325 and the HP nc6120,
which I've used to prepare the attached patch.  I would appreciate it if
folks with these models could test that this gives the intended results
(i.e., ACPI disabled on these laptops).

According to bug #404143, the nx6125 model is also affected, but I don't
have acpidump information for this model, so haven't yet attempted to add it
to the blacklist.  It would be helpful if someone could provide such output;
I don't think these bugs should be considered resolved until we have
something in place for all of the models known to be affected.

Once we do, though, I think we should close these bugs with the upload in
question; they're as fixed as they're going to be for 2.6.18 in etch, and
for 2.6.19 and above they're fixed upstream.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
Index: debian/patches/bugfix/hp-laptop-acpi-blacklist.patch
===================================================================
--- debian/patches/bugfix/hp-laptop-acpi-blacklist.patch	(revision 0)
+++ debian/patches/bugfix/hp-laptop-acpi-blacklist.patch	(revision 0)
@@ -0,0 +1,15 @@
+--- linux-2.6.orig/drivers/acpi/blacklist.c	2007-02-17 22:02:12.000000000 -0800
++++ linux-2.6/drivers/acpi/blacklist.c	2007-02-18 20:26:21.000000000 -0800
+@@ -69,6 +69,12 @@
+ 	 "Incorrect _ADR", 1},
+ 	{"ASUS\0\0", "P2B-S   ", 0, ACPI_DSDT, all_versions,
+ 	 "Bogus PCI routing", 1},
++	/* HP nx6325 */
++	{"HP    ", "SB400\0\0\0", 0x10000, ACPI_DSDT, all_versions,
++	 "Bogus fan support", 1},
++	/* HP nc6120 */
++	{"HP    ", "DAU00 \0\0", 0x10000, ACPI_DSDT, all_versions,
++	 "Bogus fan support", 1},
+ 
+ 	{""}
+ };
Index: debian/patches/series/11
===================================================================
--- debian/patches/series/11	(revision 8311)
+++ debian/patches/series/11	(working copy)
@@ -3,3 +3,5 @@
 + bugfix/net-ipv6-mcast.patch
 + bugfix/uml-compilation.patch
 + bugfix/net-ipx-annotation-checksum.patch
++ bugfix/hp-laptop-acpi-blacklist.patch
++ bugfix/alpha/increase-percpu_enough_room.patch

Reply to: