From: Kast Bernd <kastbernd@gmx.de>
To: corentin.chary@gmail.com
Cc: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, dvhart@infradead.org,
acpi4asus-user@lists.sourceforge.net,
platform-driver-x86@vger.kernel.org
Subject: [RFC 0/2] asus notebook fan control
Date: Wed, 22 Apr 2015 16:12:26 +0200 [thread overview]
Message-ID: <cover.1429653764.git.kastbernd@gmx.de> (raw)
Hello,
This patchset implements a fan control for asus notebooks.
It's based on Felipe Contreras' patch
(https://lkml.org/lkml/2013/10/8/800), that was proposed one and a half
year ago, but never made it to the kernel, because of the use of
"virt_to_phys".
This problem is solved by using the acpi internal function that is
activated by the first patch (ACPI_FUTURE_USAGE is removed).
The second patch implements the actual fan control functions, with a
similar logic than Felipe, but using hwmon instead of the thermal
interface and some bugs removed.
This patchset contains the following 2 patches:
0001-ACPI-activate-export-acpi_os_get_physical_address.patch
0002-asus-wmi-add-fan-control.patch
This is my first kernel patch. I tried to respect all style rules and
implement it properly. I couldn't find any try to fix the old patch in
recent time, thus I wrote this new patch.
I would appreciate any kind of feedback to get this patch upstream.
Kast Bernd (2):
ACPI: activate&export acpi_os_get_physical_address
asus-wmi: add fan control
drivers/acpi/osl.c | 3 +-
drivers/platform/x86/asus-wmi.c | 297 +++++++++++++++++++++++++++++++++++++---
2 files changed, 278 insertions(+), 22 deletions(-)
--
2.3.5
next reply other threads:[~2015-04-22 14:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 14:12 Kast Bernd [this message]
2015-04-22 14:12 ` [RFC 2/2] asus-wmi: add fan control Kast Bernd
2015-04-30 18:42 ` Darren Hart
2015-05-02 12:37 ` Corentin Chary
2015-04-22 14:12 ` [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address Kast Bernd
2015-04-30 18:10 ` Darren Hart
2015-05-01 1:32 ` Rafael J. Wysocki
2015-05-01 1:45 ` Rafael J. Wysocki
2015-05-01 4:56 ` Matthew Garrett
2015-05-03 17:57 ` Darren Hart
2015-04-30 18:00 ` [RFC 0/2] asus notebook fan control Darren Hart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1429653764.git.kastbernd@gmx.de \
--to=kastbernd@gmx.de \
--cc=acpi4asus-user@lists.sourceforge.net \
--cc=corentin.chary@gmail.com \
--cc=dvhart@infradead.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).