All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Jeremy Katz <katzj@redhat.com>,
	linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
	davej@redhat.com, Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: Re: [PATCH] Map volume and brightness events on thinkpads
Date: Tue, 16 Oct 2007 15:21:21 +0100	[thread overview]
Message-ID: <20071016142121.GA21431@srcf.ucam.org> (raw)
In-Reply-To: <20071016141153.GA3237@khazad-dum.debian.net>

On Tue, Oct 16, 2007 at 12:11:53PM -0200, Henrique de Moraes Holschuh wrote:
> On Tue, 16 Oct 2007, Matthew Garrett wrote:
> > are sent via the keyboard controller, such as the wireless and touchpad 
> > disable keys on my HP. There are Dells that do the same for brightness 
> 
> It is not clear to me if they are notifications or not.  Does the firmware
> act on the keys by itself? If it does, then they are notifications.  If it
> does not, then they are regular hot keys and there is no controversy whether
> they belong on the input layer or not (they do).

Yes, the firmware acts upon it.

> 2. I am against sending notification events through input **that look
> exactly the same as regular events**.  That is not a wise design choice IMO,
> it is a very dirty hack.

Userspace is going to have to deal with this case anyway. Some vendors 
simply don't let us distinguish.

> 3. We have a backlight class, a LED class, a rf-kill class and ALSA mixers.
> Is there a real reason to pester Dmitry about the issue, if we can use these
> alternate paths (that are indeed more generic and more suited for the job)?

It's not always going to be possible to tie notifications into a class 
device - in the Dell case, for instance, interacting with the backlight 
requires you to use a 200Kb library so has to be done in userspace.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2007-10-16 14:21 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 20:45 [PATCH] Map volume and brightness events on thinkpads Jeremy Katz
2007-10-15 21:07 ` Henrique de Moraes Holschuh
2007-10-15 21:27   ` Jeremy Katz
2007-10-16  9:12     ` Henrique de Moraes Holschuh
2007-10-15 21:43   ` Arjan van de Ven
2007-10-16  3:38   ` Jesse Barnes
2007-10-16  8:36     ` Henrique de Moraes Holschuh
2007-10-16  8:49       ` Jesse Barnes
2007-10-16  9:18         ` Henrique de Moraes Holschuh
2007-10-17  2:40           ` Jesse Barnes
2007-10-17  6:25             ` Henrique de Moraes Holschuh
2007-10-17  6:32               ` Jesse Barnes
2007-10-17  6:39                 ` Henrique de Moraes Holschuh
2007-10-16 13:00   ` Matthew Garrett
2007-10-16 14:11     ` Henrique de Moraes Holschuh
2007-10-16 14:21       ` Matthew Garrett [this message]
2007-10-16 14:31         ` Henrique de Moraes Holschuh
2007-10-16 14:40           ` Matthew Garrett
2007-10-16 16:56             ` Henrique de Moraes Holschuh
2007-10-16 18:46               ` Matthew Garrett
2007-10-16 19:14                 ` Linus Torvalds
2007-10-16 19:20                   ` Matthew Garrett
2007-10-16 20:02                     ` Henrique de Moraes Holschuh
2007-10-16 20:15                       ` Dmitry Torokhov
2007-10-16 20:12                   ` Dmitry Torokhov
2007-10-16 20:11                     ` Jeremy Katz
2007-10-16 20:19                       ` Dmitry Torokhov
2007-10-16 20:32                     ` Linus Torvalds
2007-10-17 15:57                       ` Dmitry Torokhov
2007-10-17 16:28                         ` Matthew Garrett
2007-10-17 17:35                           ` Henrique de Moraes Holschuh
2007-10-17 18:59                             ` Dmitry Torokhov
2007-10-17 20:42                               ` Henrique de Moraes Holschuh
2007-10-18 14:37                                 ` Dmitry Torokhov
2007-10-18 22:39                                   ` Henrique de Moraes Holschuh
2007-10-23 15:54                                     ` Dmitry Torokhov
2007-10-23 23:34                                       ` Henrique de Moraes Holschuh
2007-10-16 20:48                     ` Kok, Auke
2007-10-16 20:55                       ` Matthew Garrett
2007-10-16 21:18                         ` Dmitry Torokhov
2007-10-16 20:32                   ` Dave Airlie
2007-10-16 14:27       ` Dmitry Torokhov
2007-10-16 14:54         ` Matthew Garrett
2007-10-16 15:54           ` Dmitry Torokhov
2007-10-16 15:59             ` Matthew Garrett
2007-10-16 18:53 ` Matthew Garrett
2007-10-16 19:23   ` Renato S. Yamane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071016142121.GA21431@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=davej@redhat.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=katzj@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.