From: Peter Feuerer <peter@piie.net>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: "Stefan Bader" <stefan.bader@canonical.com>,
lenb@kernel.org,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"Borislav Petkov" <petkovbb@gmail.com>
Subject: Re: [PATCH] acerhdf: Limit modalias matching to supported boards
Date: Mon, 05 Oct 2009 18:41:42 +0200 [thread overview]
Message-ID: <cone.1254760902.8356.3072.1000@deskpiie> (raw)
In-Reply-To: 200910051002.26385.bjorn.helgaas@hp.com
Bjorn Helgaas writes:
> On Monday 05 October 2009 09:56:51 am Stefan Bader wrote:
>> Bjorn Helgaas wrote:
>> > On Monday 05 October 2009 06:05:54 am Stefan Bader wrote:
>> >>>>>> <stefan.bader@canonical.com> wrote:
>> >>>>>>>>> I search my acerhdf-inbox for the people who sent me the BIOS
>> >>>>>>>>> versions,
>> >>>>>>>> maybe they still have the netbook and can me send the modalias
>> >>>>>>>> content. I'll
...
>> >
>> > This smells like a maintenance problem. The driver only works on the
>> > specific machines and BIOS versions compiled into it. That means you
>> > have to update the driver every time a new machine comes out. A major
>> > goal of ACPI is to avoid stuff like that.
>> >
>> > Are you sure there's no way to make this driver work in a generic way,
>> > e.g., by claiming an ACPI device?
>>
>> The driver is currently only targeted at a small set of netbooks and even there
>> some registers have changed between sub models or bios versions.
>> The functions are implemented by poking and reading bits from the EC. No acpi
>> interface to which one relate as far as I know. Maybe wmi, but from the
>> experiences with acer-wmi, I doubt anything works. At least acer-wmi now
>> explicitly blacklist these models for uselessness.
>> So the driver performs very strict bios version checks and every unknown
>> version get a big warning printed. Which you do not want to be issued on every
>> hardware of one of these vendors. Which happens with the driver as it is now.
>
> I understand the motivation for the current patch, and I'm not asking
> about it in particular. My concern is about the underlying structure
> of the driver.
>
> I'm just asking why we would want a driver that requires an update
> for every new machine. That sort of ongoing maintenance is a good
> sign that we're doing something wrong.
Hi Bjorn,
as Stefan already mentioned, is the driver only targeting a very small set
of (very popular) netbooks. The vendor supposed to control the fan only by
BIOS. I think it is not ment to be controlled by the OS at all, as there is
no official Windows support neither.
The successor series of the supported netbooks even don't have the
register in EC anymore. So I think there won't be much changes caused by new
devices in the future anymore. Besides that, I don't think there's a way to
detect the right register and the needed values automatically…
kind regards,
--peter
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-10-05 17:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 12:05 [Fwd: Re: [PATCH] acerhdf: Limit modalias matching to supported boards] Stefan Bader
2009-10-05 12:05 ` Stefan Bader
2009-10-05 15:19 ` Bjorn Helgaas
2009-10-05 15:56 ` Stefan Bader
2009-10-05 16:02 ` Bjorn Helgaas
2009-10-05 16:41 ` Peter Feuerer [this message]
2009-10-22 12:12 ` [PATCH][RESEND] acerhdf: Limit modalias matching to supported boards Stefan Bader
2009-10-22 12:23 ` Peter Feuerer
2009-10-22 14:26 ` [PATCH][RESEND] acerhdf: Limit modalias matching to supported Stefan Bader
2009-11-09 8:48 ` Stefan Bader
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=cone.1254760902.8356.3072.1000@deskpiie \
--to=peter@piie.net \
--cc=bjorn.helgaas@hp.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=petkovbb@gmail.com \
--cc=stefan.bader@canonical.com \
/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