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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to