From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Thomas Renninger <trenn@suse.de>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
Andrey Borzenkov <arvidjaar@mail.ru>, Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org
Subject: Re: [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality
Date: Mon, 17 Nov 2008 00:07:54 -0200 [thread overview]
Message-ID: <20081117020754.GC22260@khazad-dum.debian.net> (raw)
In-Reply-To: <200811161544.56367.trenn@suse.de>
On Sun, 16 Nov 2008, Thomas Renninger wrote:
> I would not add such complexity for a problem which isn't a real problem.
Oh, it is very real. It needs to be solved, and yes, it can be solved with
what we have and adding blacklists to ACPI video, instead of intelligent
decisions or hints from the platform driver.
> IMO we should either:
> 1) Just do nothing and use video.ko even for Toshibas which only provide
> 3 brightness states.
I would be quite annoyed at it if I were a Toshiba user and I would report
it as a regression. But I guess we can see if any Toshiba users want to
chime in?
> 2) DMI blacklist for Toshiba in general to use toshiba_laptop for
> brightness switching.
You won't get away with halfway broken measures like that, you will need to
blacklist *some* toshibas, but not all. As you say yourself later on, it is
likely that newer ones might switch to ACPI generic, or have more levels in
ACPI generic backlight handling.
> For the brightness level it's something else. A short documentation into the
> right forum/mailing list and everybody can google the
> acpi_backlight=vendor/video boot param in a second on his already running
> machine and is happy.
I thought we were trying to get things right automatically instead of
forcing users to add such parameters, nowadays? Maybe if this was something
easy to change at runtime, but kernel parameters and Kconfig parameters
*are* supposed to be a last-resort option.
> The question is, are these 3 brightness levels to be considered as broken.
It is a regression, anyway. It delivers reduced functionality.
> IMO it is something 95% of all toshiba users won't care, the brightness level
But we care about the 5% that do. Those are the users that are worth
bothering with, since they're the ones that do bug reports, stay around to
test patches, etc.
> I very much expect that newer Toshibas export more brightness levels via
> video.ko (does someone have a new one and can double check?) and at some time
> the Toshiba specific functions may even vanish. Therefore I would prefer to
> not do an exception here and go for 1(see above).
I don't really care if it is done just by DMI blacklisting on ACPI video,
but I don't expect that to be the better solution for the long term.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2008-11-17 2:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-08 13:37 [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality Andrey Borzenkov
2008-11-11 20:04 ` Len Brown
2008-11-12 23:41 ` Thomas Renninger
2008-11-13 1:32 ` Matthew Garrett
2008-11-13 4:58 ` Andrey Borzenkov
2008-11-13 11:11 ` Matthew Garrett
2008-11-15 16:30 ` Andrey Borzenkov
2008-11-15 16:54 ` Matthew Garrett
2008-11-15 17:05 ` Andrey Borzenkov
2008-11-15 17:11 ` Matthew Garrett
2008-11-15 17:17 ` Andrey Borzenkov
2008-11-15 17:20 ` Matthew Garrett
2008-11-15 18:42 ` Andrey Borzenkov
2008-11-15 18:49 ` Matthew Garrett
2008-11-16 12:51 ` Henrique de Moraes Holschuh
2008-11-16 21:44 ` Thomas Renninger
2008-11-17 2:07 ` Henrique de Moraes Holschuh [this message]
2008-11-27 5:19 ` Len Brown
2008-11-27 11:39 ` Video.ko-vs-toshiba.ko-more-brightness-levels-win Thomas Renninger
2008-11-27 11:39 ` [PATCH 1/2] ACPI: acpi_video_backlight_support return found generic video brightness levels Thomas Renninger
2008-11-27 12:08 ` Thomas Renninger
2008-11-27 11:39 ` [PATCH 2/2] Video.ko vs toshiba.ko - more brightness levels win Thomas Renninger
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=20081117020754.GC22260@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=arvidjaar@mail.ru \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=trenn@suse.de \
/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