Bug 26462

Summary: Fan doesn't work when ACPI is running
Product: ACPI Reporter: sfc_0
Component: Power-FanAssignee: acpi_power-fan
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: high CC: lenb
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 2.6.37 Subsystem:
Regression: No Bisected commit-id:
Attachments: DSDT.dsl, dmesg output, lshw output when using ACPI

Description sfc_0 2011-01-10 05:02:25 UTC
Created attachment 43052 [details]
DSDT.dsl, dmesg output, lshw output when using ACPI

Hello. First of all I apologize for my bad English if I express anything wrong. 

  I'm using a Haier T68D laptop running Ubuntu, but the fan doesn't work when ACPI is running. No related errors can be found in dmesg, and I commented the FOFF() method in DSDT:

Method (FCTL, 0, Serialized)
        {
            Store (" ---- FCTL ----", Debug)
            FindSetRightBit (FSTA, Local1)
            If (LEqual (FSTA, 0x00))
            {
                //FOFF ()
            }

  and fan works, but the kacpid_notify process will eat up one of my CPUs after a while...for 2.6.37, this method also doesn't work...I even commented some code in fan.c:

static int acpi_fan_suspend(struct acpi_device *device, pm_message_t state)
{
	if (!device)
		return -EINVAL;

	//acpi_bus_set_power(device->handle, ACPI_STATE_D0);

	return AE_OK;
}

  but that also doesn't help...Now I have to boot the kernel with "acpi=off noapic". In fact, I tried many kernel parameters and found "pci=noacpi" and "acpi=noirq" made the fan work, but when using them, the keyboard and touchpad will stop responding.

  I don't know when exactly this bug appears... The earliest kernel I tried is 2.6.31, which also has this problem.

  Note: All the other features of ACPI, except for the touchpad disable key in asus_laptop, are functioning well since 2.6.37. The ACPI Battery system zomb has gone, now it knows when the AC wire is unplugged.

DSDT, dmesg and lshw when using acpi is attached. Thanks for your help.
Comment 1 sfc_0 2011-01-30 05:01:18 UTC
Fixed in 2.6.38-rc2.