Re: Acer Aspire One fan control

From: Matthew Garrett
Date: Fri Feb 13 2009 - 14:18:26 EST


On Fri, Feb 13, 2009 at 07:59:16PM +0100, Peter Feuerer wrote:
> Matthew Garrett writes:
> >If
> >these io ports are also used by the firmware then you'll need to find
> >ACPI methods to call to perform the fan control.
>
> I get the temperature by calling ec_read(0x58) and can read/write the state
> of the fan by ec_write to / ec_read from 0x55. Actually I don't know if
> those embedded controller registers are used by the firmware. How can I
> find it out?

Ok, yup, that should be safe. It might be nice to implement this as an
hwmon driver, potentially tying it into the thermal layer.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/