linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarod Wilson <jarod@wilsonet.com>
To: "David Härdeman" <david@hardeman.nu>
Cc: Jon Smirl <jonsmirl@gmail.com>,
	Mauro Carvalho Chehab <mchehab@redhat.com>,
	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: Wed, 28 Apr 2010 00:32:22 -0400	[thread overview]
Message-ID: <h2hbe3a4a1004272132y46e90a8ak862f20620053b1cc@mail.gmail.com> (raw)
In-Reply-To: <20100424051206.GA3101@hardeman.nu>

On Sat, Apr 24, 2010 at 1:12 AM, David Härdeman <david@hardeman.nu> wrote:
> On Fri, Apr 23, 2010 at 01:40:34PM -0400, Jarod Wilson 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 think it would make sense to start with a mce driver without the TX
> and lirc bits first. Adding lirc rx support can be done as a separate
> "raw" decoder later (so its scope is outside the mce driver anyway) and
> TX support is not implemented in ir-core yet and we haven't had any
> discussion yet on which form it should take.

So after looking at folks feedback, I did settle on starting the
mceusb port first, my logic going more or less like this... Having a
well-supported general-purpose IR receiver functional is a Good Thing
for people wanting to work on protocol support (i.e., so they have a
way to actually test protocol support). Having an
already-ir-core-ified driver to test out an ir-lirc-decoder (lirc_dev
port) would also be rather helpful. So rather than trying to port
lirc_dev before there's anything that can actually make use of it,
give myself something to work with. I'm kind of thinking that
ir-lirc-decoder might actually be ir-lirc-codec, able to do xmit as
well, maintaining full compat with lirc userspace, and then we'd have
a separate input subsystem based xmit method at some point, which
might be the "preferred/blessed" route. This means ripping a bunch of
code out of lirc_mceusb.c only to put it back in later, but that's not
terribly painful. I've already got as far as having an mceusb.c that
has no lirc dependency, which builds, but doesn't actually do anything
useful yet (not wired up to ir-core). Should be able to get something
functional RSN, I hope...

-- 
Jarod Wilson
jarod@wilsonet.com

  reply	other threads:[~2010-04-28  4:32 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
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 [this message]
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=h2hbe3a4a1004272132y46e90a8ak862f20620053b1cc@mail.gmail.com \
    --to=jarod@wilsonet.com \
    --cc=david@hardeman.nu \
    --cc=jonsmirl@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.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).