[PATCH] staging: new asus fan driver

Felipe Contreras felipe.contreras at gmail.com
Tue Nov 5 14:29:40 UTC 2013


On Tue, Nov 5, 2013 at 6:52 AM, Greg Kroah-Hartman
<gregkh at linuxfoundation.org> wrote:
> On Tue, Nov 05, 2013 at 02:59:47AM -0600, Felipe Contreras wrote:
>> Simple driver to enable control of the fan in ASUS laptops. So far this
>> has only been tested in ASUS Zenbook Prime UX31A, but according to some
>> online reference [1], it should work in other models as well.
>>
>> The implementation is very straight-forward, the only caveat is that the
>> fan speed needs to be saved after it has been manually changed because
>> it won't be reported properly until it goes back to 'auto' mode.
>>
>> [1] http://forum.notebookreview.com/asus/705656-fan-control-asus-prime-ux31-ux31a-ux32a-ux32vd.html
>>
>> Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
>> ---
>>
>> Two incarnations of this code exists [1][2], one that used ACPI methods
>> directly, and one through WMI. Unfortunately the WMI version needs us to pass
>> physicall addresses which is not exactly clean, and that's the only reason the
>> code is proposed for staging.
>>
>> Most likely this cannot graduate until acpica gets support to receive virtual
>> addresses.
>
> When is that going to happen?

I don't know. Presumably when I get it done, which might be never, or
a few days from now. Most likely it will take some time.

>>  [1] http://article.gmane.org/gmane.linux.power-management.general/36774
>>  [2] http://article.gmane.org/gmane.linux.kernel/1576463
>>
>>  drivers/staging/Kconfig                     |   2 +
>>  drivers/staging/Makefile                    |   1 +
>>  drivers/staging/asus-thermal/Kconfig        |   7 ++
>>  drivers/staging/asus-thermal/asus_thermal.c | 166 ++++++++++++++++++++++++++++
>
> I need a TODO file for a staging driver listing who is responsible for
> it, and what is needed to be done to it in order to get it out of
> staging.

Done.

-- 
Felipe Contreras


More information about the devel mailing list