Comment 16 for bug 463940

Revision history for this message
irwjager (jager49) wrote : Re: No fans, thermalzone on HP Envy 15

Ok, I downloaded HPIOS00_1.0.0.6 from the DeviceVM website. Apparently it's based on 2.6.20.11. There's a few patches there that may influence things, but I'm too inexperienced to tell whether they would make a difference. There may also be something in the kernel configuration file. The following 2 patches seem to be the most promising?

diff -Naurp linux-2.6.20.11/drivers/acpi/ec.c linux-2.6.20.11-mod/drivers/acpi/ec.c
--- linux-2.6.20.11/drivers/acpi/ec.c 2007-05-02 08:34:12.000000000 +0800
+++ linux-2.6.20.11-mod/drivers/acpi/ec.c 2008-06-18 11:13:41.000000000 +0800
@@ -418,6 +418,7 @@ static void acpi_ec_gpe_query(void *ec_c
  struct acpi_ec *ec = (struct acpi_ec *)ec_cxt;
  u8 value = 0;
  char object_name[8];
+ acpi_handle h_dummy;

  if (!ec || acpi_ec_query(ec, &value))
   return;
@@ -426,7 +427,10 @@ static void acpi_ec_gpe_query(void *ec_c

  ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Evaluating %s", object_name));

- acpi_evaluate_object(ec->handle, object_name, NULL, NULL);
+ if (ACPI_SUCCESS(acpi_get_handle(ec->handle, object_name, &h_dummy)))
+ acpi_evaluate_object(ec->handle, object_name, NULL, NULL);
+ else
+ acpi_bus_generate_event(first_ec, value, 0);
 }

 static u32 acpi_ec_gpe_handler(void *data)

diff -Narup linux-2.6.20.11/drivers/usb/host/pci-quirks.c linux-2.6.20.11-mod/drivers/usb/host/pci-quirks.c
--- linux-2.6.20.11/drivers/usb/host/pci-quirks.c 2007-05-02 08:34:12.000000000 +0800
+++ linux-2.6.20.11-mod/drivers/usb/host/pci-quirks.c 2007-10-29 17:20:04.000000000 +0800
@@ -349,4 +349,4 @@ static void __devinit quirk_usb_early_ha
  else if (pdev->class == PCI_CLASS_SERIAL_USB_EHCI)
   quirk_usb_disable_ehci(pdev);
 }
-DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, quirk_usb_early_handoff);
+//DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, quirk_usb_early_handoff);