Re: [PATCH] Map volume and brightness events on thinkpads

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Henrique de Moraes Holschuh
Date: Tuesday, October 16, 2007 - 1:36 am

On Mon, 15 Oct 2007, Jesse Barnes wrote:

This is not an option on IBM ThinkPads, unless you patch the DSDT on
non-ancient ACPI-based models, and unless you patch the BIOS (and maybe even
the EC control program) itself on the really ancient models.  It is that
simple.

On *new* Lenovo ThinkPad BIOSes (the z60 that Lenovo has given up on act
just like IBM ThinkPads), the firmware reports brightness changes through
the proper ACPI messages, which are processed by the ACPI video module. So I
will repeat myself here: brightness control is to be processed by the ACPI
video module, so brightness hot keys are not to be reported by default in
Lenovo thinkpads.

You want ACPI video to just pass the messages to userspace when X.org is
driving the backlight?  Fine with me.  That *still* doesn't make it right to
get these messages as hot key presses over the input layer through the
thinkpad-acpi driver.  So the NAK stands.  Any changes should be done to the
ACPI video driver in this case.

If the user has any real need to get these messages from thinkpad-acpi for
whichever particular reasons, he can use the standard interface to input
event drivers to remap the scan codes to whatever he wants.


Good luck, and please interface it properly to the backlight class while
at it.  There's no reason to make the waters mudier :-)

-- 
  "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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Map volume and brightness events on thinkpads, Jeremy Katz, (Mon Oct 15, 1:45 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Mon Oct 15, 2:07 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Arjan van de Ven, (Mon Oct 15, 2:43 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 1:36 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 2:12 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 2:18 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 6:00 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 7:11 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 7:21 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 16, 7:27 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 7:31 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 7:40 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 7:54 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 16, 8:54 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 8:59 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 9:56 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 11:46 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 11:53 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Linus Torvalds, (Tue Oct 16, 12:14 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 12:20 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Renato S. Yamane, (Tue Oct 16, 12:23 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 1:02 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 16, 1:12 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 16, 1:15 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 16, 1:19 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Linus Torvalds, (Tue Oct 16, 1:32 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Tue Oct 16, 1:55 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 16, 2:18 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 11:25 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Jesse Barnes, (Tue Oct 16, 11:32 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 16, 11:39 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Wed Oct 17, 8:57 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Matthew Garrett, (Wed Oct 17, 9:28 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Wed Oct 17, 10:35 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Wed Oct 17, 11:59 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Wed Oct 17, 1:42 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Thu Oct 18, 7:37 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Thu Oct 18, 3:39 pm)
Re: [PATCH] Map volume and brightness events on thinkpads, Dmitry Torokhov, (Tue Oct 23, 8:54 am)
Re: [PATCH] Map volume and brightness events on thinkpads, Henrique de Moraes H ..., (Tue Oct 23, 4:34 pm)