linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Devin Heitmueller <dheitmueller@kernellabs.com>
To: Peter Brouwer <pb.maillists@googlemail.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Linux Input <linux-input@vger.kernel.org>
Subject: Re: [RFC] Infrared Keycode standardization
Date: Thu, 27 Aug 2009 13:17:57 -0400	[thread overview]
Message-ID: <829197380908271017x4247a550t44155a46c7e23c79@mail.gmail.com> (raw)
In-Reply-To: <4A96BD05.1080205@googlemail.com>

On Thu, Aug 27, 2009 at 1:06 PM, Peter
Brouwer<pb.maillists@googlemail.com> wrote:
> Mauro Carvalho Chehab wrote:
>
> Hi Mauro, All
>
> Would it be an alternative to let lirc do the mapping and just let the
> driver pass the codes of the remote to the event port.
> That way you do not need to patch the kernel for each new card/remote that
> comes out.
> Just release a different map file for lirc for the remote of choice.
>
> Peter

The biggest challenge with that approach is that lirc is still
maintained out-of-kernel, and the inputdev solution does not require
lirc at all (which is good for inexperienced end users who want their
product to "just work").

Keeping the remote definitions in-kernel also helps developers adding
support for new products, since they can be sure that both the device
and its remote will appear in the same kernel version (they are
inherently in-sync compared to cases where the distribution upgrades
the kernel but not necessarily the lircd version they bundle).

The other big issue is that right now remotes get associated
automaticallywith products as part of the device profile.  While this
has the disadvantage that there is not a uniform mechanism to specify
a different remote than the one that ships with the product, it does
have the advantage of the product working "out-of-the-box" with
whatever remote it came with.  It's a usability issue, but what I
would consider a pretty important one.

That said, if we had a way to have some sort of remote control
signature that can be associated with lirc remote control definitions,
which can be referenced in-kernel, that would solve the above
mentioned problem of making the product work by default with the
remote it shipped with.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

  parent reply	other threads:[~2009-08-27 17:17 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27  7:57 [RFC] Infrared Keycode standardization Mauro Carvalho Chehab
2009-08-27 17:06 ` Peter Brouwer
2009-08-27 17:12   ` Jarod Wilson
2009-08-27 17:17   ` Devin Heitmueller [this message]
2009-08-27 18:29     ` Trent Piepho
2009-08-27 18:34       ` Devin Heitmueller
2009-08-27 19:28         ` Mauro Carvalho Chehab
2009-08-27 19:32     ` Mauro Carvalho Chehab
2009-08-27 20:17   ` Dmitry Torokhov
2009-08-27 21:43   ` semiRocket
2009-08-27 18:36 ` Ville Syrjälä
2009-08-27 20:15   ` Dmitry Torokhov
2009-08-27 22:03     ` Mauro Carvalho Chehab
2009-08-27 21:58   ` Mauro Carvalho Chehab
2009-08-27 22:06     ` Devin Heitmueller
2009-08-28  3:46       ` Mauro Carvalho Chehab
2009-08-28  7:14         ` Mauro Carvalho Chehab
2009-08-28 10:13           ` Peter Brouwer
2009-08-28 12:36             ` Mauro Carvalho Chehab
2009-08-28 14:22             ` Alistair Buxton
2009-08-28 10:50           ` Patrick Boettcher
2009-08-28 12:30             ` Mauro Carvalho Chehab
2009-08-29 18:45               ` Mauro Carvalho Chehab
2009-08-31  5:47                 ` Mauro Carvalho Chehab
2009-09-01  1:38                   ` Dmitry Torokhov
2009-08-28  4:00       ` Jarod Wilson
2009-08-28 14:05         ` Mauro Carvalho Chehab
2009-08-28 11:41       ` Andy Walls
2009-08-28 14:02         ` Mauro Carvalho Chehab

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=829197380908271017x4247a550t44155a46c7e23c79@mail.gmail.com \
    --to=dheitmueller@kernellabs.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=pb.maillists@googlemail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).