linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: "Jarod Wilson" <jarod@wilsonet.com>,
	"David Härdeman" <david@hardeman.nu>,
	linux-input@vger.kernel.org,
	"Linux Media Mailing List" <linux-media@vger.kernel.org>
Subject: Re: [PATCH 00/15] ir-core: Several improvements to allow adding LIRC and decoder plugins
Date: Fri, 23 Apr 2010 15:29:49 -0300	[thread overview]
Message-ID: <4BD1E71D.5070102@redhat.com> (raw)
In-Reply-To: <o2l9e4733911004231106te8b727e9nfa75bfd9c73e9506@mail.gmail.com>

Jon Smirl wrote:
>> So now that I'm more or less done with porting the imon driver, I
>> think I'm ready to start tackling the mceusb driver. But I'm debating
>> on what approach to take with respect to lirc support. It sort of
>> feels like we should have lirc_dev ported as an ir "decoder"
>> driver/plugin before starting to port mceusb to ir-core, so that we
>> can maintain lirc compat and transmit support. Alternatively, I could
>> port mceusb without lirc support for now, leaving it to only use
>> in-kernel decoding and have no transmit support for the moment, then
>> re-add lirc support. I'm thinking that porting lirc_dev as, say,
>> ir-lirc-decoder first is probably the way to go though. Anyone else
>> want to share their thoughts on this?
> 
> I'd take whatever you think is the simplest path. It is more likely
> that initial testers will want to work with the new in-kernel system
> than the compatibility layer to LIRC. Existing users that are happy
> with the current LIRC should just keep on using it.

Agreed. You may start by adding either lirc "decoder" or mce. Both ways
will end on having the same result ;)

>> (Actually, while sharing thoughts... Should drivers/media/IR become
>> drivers/media/RC, ir-core.h become rc-core.h, ir-keytable.c become
>> rc-keytable.c and so on?)
> 
> Why aren't these files going into drivers/input/rc? My embedded system
> has a remote control and it has nothing to do with media.

Historical reasons. It were simpler to start from drivers/media, as we've
started with some already existing code there.

My intention is to write one or two big patches at the end, moving everything
to drivers/rc or drivers/input/rc and renaming the structures. The point is
that a patch like that will force people that are working on the code to rebase
to the newer names, so I prefer to postpone it to happen after we finish with
the big changes. A change like that won't affect just the new RC code, but also
several V4L/DVB drivers.

Maybe the right moment would be during the next merge window, as all pending 
work for 2.6.35 will be already finished, and people likely didn't start 
working for 2.6.36. So, my intention is to write such patch during the merge
week, just after sending the pending stuff.

-- 

Cheers,
Mauro

  reply	other threads:[~2010-04-23 18:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 17:56 [PATCH 00/15] ir-core: Several improvements to allow adding LIRC and decoder plugins Mauro Carvalho Chehab
2010-04-02  1:44 ` Jon Smirl
2010-04-02 10:20   ` David Härdeman
2010-04-05 20:49     ` Jarod Wilson
2010-04-07  9:32       ` David Härdeman
2010-04-23 17:40         ` Jarod Wilson
2010-04-23 18:06           ` Jon Smirl
2010-04-23 18:29             ` Mauro Carvalho Chehab [this message]
2010-04-23 22:20             ` Andy Walls
2010-04-24  5:22               ` David Härdeman
2010-04-24 12:35                 ` Jon Smirl
2010-04-24 14:15                   ` David Härdeman
2010-04-24 15:07                     ` Jon Smirl
2010-04-24 21:23                       ` David Härdeman
2010-04-24 21:59                         ` Jon Smirl
2010-04-24  5:12           ` David Härdeman
2010-04-28  4:32             ` Jarod Wilson
2010-05-25 21:05               ` Jarod Wilson
2010-05-26 18:28                 ` Jarod Wilson

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=4BD1E71D.5070102@redhat.com \
    --to=mchehab@redhat.com \
    --cc=david@hardeman.nu \
    --cc=jarod@wilsonet.com \
    --cc=jonsmirl@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.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 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).