Re: Bug on ibm-acpi and hal regarding brightness keys

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

 



On Thu, 05 Jul 2007, Chris Hanson wrote:
> Henrique de Moraes Holschuh wrote:
> > It is also a good idea to read the ACPI specification 3.0b, and check what
> > is the ACPI standard way of dealing with display brightness. If Lenovo is
> > supporting that one, it is best to just switch to it on Lenovo thinkpads.
> 
> According to the spec, the standard way to control this is through the 
> _BCL, _BCM, and _BQC methods on the LCD device.  None of these methods 
> is implemented in my T60.

Look at the SSDTs.

You *really* need to use acpidump, acpixtract, and look over the DSDT and
all SSDTs in the new BIOSes.  Just the DSDT is not that useful anymore.

Later SSDTs override earlier ones and the DSDT nodes of the same name.

> However, there is code present to send the 0x86 and 0x87 notifications 
> to the LCD device when the hotkeys are pressed.  I'm not sure why they 
> bother sending these notifications when the brightness control methods 
> aren't implemented.

Neither do I, but it might save our behinds from polling the NVRAM for
brightness changes later on the game.

I don't know yet how to best go about fixing the brightness support for the
new BIOSes, but I will probably have to leave it for later: bug fixes can
get merged much easier than new stuff after the merge window closes, and the
merge window will open soon enough that I might not have the time to finish
the input work before it closes, if I am not careful.

Truth to be told, if Lenovo switches to a (working) ACPI 3.0b model of
brightness control, the right thing to do is to disable thinkpad-acpi
brightness support on these models:  the ACPI video driver can deal with it,
and it won't be borking thinkpads anymore by 2.6.22.

-- 
  "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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux