Bug 26462 - Fan doesn't work when ACPI is running
Summary: Fan doesn't work when ACPI is running
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Fan (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: acpi_power-fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 05:02 UTC by sfc_0
Modified: 2011-03-03 01:36 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.37
Subsystem:
Regression: No
Bisected commit-id:


Attachments
DSDT.dsl, dmesg output, lshw output when using ACPI (34.66 KB, application/x-bzip)
2011-01-10 05:02 UTC, sfc_0
Details

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.

Note You need to log in before you can comment on or make changes to this bug.