Re: PROBLEM: CPU fan shuts down on load of fan.ko in kernel 2.6.18 and later

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

 



Hi,

I am sorry, I am a bit lost.  Should I expect replacing:

+       device->flags.force_power_state = 1;
+       acpi_bus_set_power(device->handle, state);
+       device->flags.force_power_state = 0;

with:

+       if (state == ACPI_STATE_D0)
+               acpi_bus_set_power(fan->handle, ACPI_STATE_D3);
+       else if (state == ACPI_STATE_D3)
+               acpi_bus_set_power(fan->handle, ACPI_STATE_D0);
+       acpi_bus_set_power(fan->handle, state);

in fan.c from 2.6.20-rc3 should solve the problem (replacing
fan->handle with device->handle)?  It does not seem to.

Thanks a lot for the feedback...

Matthew
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux