lkml.org 
[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Acer Aspire One fan control
Date
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


\
 
 \ /
  Last update: 2009-02-13 20:01    [from the cache]
©2003-2011 Jasper Spaans