Re: [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux