From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: ACPI: thinkpad-acpi: react to Lenovo ThinkPad differences in hot key Date: Sun, 15 Jul 2007 21:24:41 +0100 Message-ID: <20070715202441.GA5840@srcf.ucam.org> References: <11844223322928-git-send-email-hmh@hmh.eng.br> <118442233665-git-send-email-hmh@hmh.eng.br> <20070714223932.GD25782@srcf.ucam.org> <20070715175922.GD14134@khazad-dum.debian.net> <20070715183150.GA3235@srcf.ucam.org> <20070715201712.GD19066@khazad-dum.debian.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20070715201712.GD19066-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ibm-acpi-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: ibm-acpi-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Henrique de Moraes Holschuh Cc: ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Sun, Jul 15, 2007 at 05:17:12PM -0300, Henrique de Moraes Holschuh wrote: > Life would be significantly easier if I could convey that information in the > kernel. Since I cannot, I effectively consider these keys to be "defective" > as far as the regular input device events are supposed to mean, and I don't > generate events for them. Any userspace application that can do anything with brightness keys needs to know how to speak to that specific hardware /anyway/ - on some machines that may be calling a userspace application, on others using an interface in /sys/class/backlight, on others calling out to X. There's no way to automatically make that decision, so it's fine to insist that they also take into account whether it's active or passive. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org ------------------------------------------------------------------------- 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/