All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] ACPI video: cleanups and fixes for the recent buggy _BQC/_BCL/_BCM BIOSes
@ 2009-03-10  8:03 Zhang Rui
  2009-03-11 14:08 ` Thomas Renninger
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Rui @ 2009-03-10  8:03 UTC (permalink / raw)
  To: linux-acpi; +Cc: Len Brown, Thomas Renninger, Matthew Garrett, Zhang, Rui

Hi, all,

here is the patch set I made recently, including some cleanups and fixes
for the Thinkpad/Asus laptops with buggy _BQC/_BCL/_BCM implementation.

The first two patches checks if ACPI video driver fails to set/get the
current brightness level, which is not done before.

patch 3/4/5 are used to fix three different problems.

1. the brightness levels when machine is on AC/Battery are not exported
   by _BCL.
2. The supported brightness levels are reversed in the _BCL method.
3. Index values are used in _BQC/_BCL/_BCM method.

The patches have not been tested yet.
I send them here to see if someone has better ideas about these issues.
Any comments are welcome. :)

thanks,
rui
   



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC PATCH 0/5] ACPI video: cleanups and fixes for the recent buggy _BQC/_BCL/_BCM BIOSes
  2009-03-10  8:03 [RFC PATCH 0/5] ACPI video: cleanups and fixes for the recent buggy _BQC/_BCL/_BCM BIOSes Zhang Rui
@ 2009-03-11 14:08 ` Thomas Renninger
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Renninger @ 2009-03-11 14:08 UTC (permalink / raw)
  To: Zhang Rui; +Cc: linux-acpi, Len Brown, Matthew Garrett

On Tuesday 10 March 2009 09:03:23 Zhang Rui wrote:
> Hi, all,
> 
> here is the patch set I made recently, including some cleanups and fixes
> for the Thinkpad/Asus laptops with buggy _BQC/_BCL/_BCM implementation.
Nice!
Beside the one point that BIOSes without _BQC might end up with a
random brightness at start-up (I think it's that) and Matthew's comments,
I couldn't find anything bad.
Theoretically on BIOSes without _BQC we need to evaluate current AC/battery
state at start-up and take/set the corresponding brightness level.
This should be the only downside people see on such BIOSes, it was always 
initialized to max state booted on battery or AC.

    Thomas

> The first two patches checks if ACPI video driver fails to set/get the
> current brightness level, which is not done before.
> 
> patch 3/4/5 are used to fix three different problems.
> 
> 1. the brightness levels when machine is on AC/Battery are not exported
>    by _BCL.
> 2. The supported brightness levels are reversed in the _BCL method.
> 3. Index values are used in _BQC/_BCL/_BCM method.
> 
> The patches have not been tested yet.
> I send them here to see if someone has better ideas about these issues.
> Any comments are welcome. :)
> 
> thanks,
> rui
>    
> 
> 
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-11 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-10  8:03 [RFC PATCH 0/5] ACPI video: cleanups and fixes for the recent buggy _BQC/_BCL/_BCM BIOSes Zhang Rui
2009-03-11 14:08 ` Thomas Renninger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.