Messages in this thread |  | | | From | Peter Feuerer <> | | Subject | Re: Acer Aspire One fan control | | Date | Fri, 13 Feb 2009 19:59:16 +0100 |
| |
Matthew Garrett writes:
> That depends on how you're doing it. Is the code available somewhere?
Just cleaned up the code and released it on my homepage, you can download it from: http://piie.net/files/acerhdf_kmod-0.2.tar.gz
> 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?
> If there aren't any > then it's not safe to have a driver to do this.
I think there should not be a problem when calling ec_write and ec_read from my kernel module, as those functions are atomic. Or am I wrong?
--peter
|  |