From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: linux-kernel@vger.kernel.org, lirc-list@lists.sourceforge.net,
lirc@bartelmus.de
Subject: Re: [RFC PATCH 0/4] Implementation of IR support using the input subsystem
Date: Mon, 29 Sep 2008 23:14:18 +0300 [thread overview]
Message-ID: <48E1371A.7050906@gmail.com> (raw)
In-Reply-To: <20080929155506.14559.35166.stgit@terra>
Jon Smirl wrote:
> Second pass at implementing evdev support for IR. The goal of in-kernel IR is to integrate IR events into the evdev input event queue and maintain ordering of events from all input devices.
>
> Note that user space IR device drivers can use the existing support in evdev to inject events into the input queue.
>
> Send and receive are implemented. Received IR messages are decoded and sent to user space as input messages. Send is done via an IOCTL on the input device.
>
> Two drivers are supplied. mceusb2 implements send and receive support for the Microsoft USB IR dongle.
>
> The GPT driver implements receive only support for a GPT pin - GPT is a GPIO with a timer attached.
>
> Encoders and decoders have not been written for all protocols. Repeat is not handled for any protocol.
> I'm looking for help. There are 15 more existing LIRC drivers.
Hi,
One thing worries me, there are bazillion of different IR protocols,
but in-kernel decode support will mean that only handful of known protocols will work.
Suppose I take an old remote which has some unknown protocol.
I want to be able to teach the system to listen to it.
But how this can be done if protocols are hard coded?
I think that it would be much better to pass raw ir codes to userspace, and
make it deal with bazillion protocols, and you can always make it auto learn too, and save
results in configuration file.
My .02 cents.
Best regards,
Maxim Levitsky
next prev parent reply other threads:[~2008-09-29 20:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-29 16:17 [RFC PATCH 0/4] Implementation of IR support using the input subsystem Jon Smirl
2008-09-29 16:17 ` [RFC PATCH 1/4] Changes to core input subsystem to allow send and receive of IR messages. Encode and decode state machines are provided for common IR porotocols such as Sony, JVC, NEC, Philips, etc Jon Smirl
2008-09-29 16:17 ` [RFC PATCH 2/4] Example of PowerPC device tree support for GPT based IR Jon Smirl
2008-09-29 16:17 ` [RFC PATCH 3/4] GPT driver for in-kernel IR support Jon Smirl
2008-09-29 16:17 ` [RFC PATCH 4/4] Microsoft mceusb2 driver for in-kernel IR subsystem Jon Smirl
2008-09-29 20:14 ` Maxim Levitsky [this message]
2008-09-29 20:52 ` [RFC PATCH 0/4] Implementation of IR support using the input subsystem Jon Smirl
-- strict thread matches above, loose matches on Subject: below --
2008-09-29 22:18 Emmanuel Fusté
2008-09-29 23:02 ` Jon Smirl
2008-09-29 23:17 ` Maxim Levitsky
2008-09-30 0:13 ` Jon Smirl
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=48E1371A.7050906@gmail.com \
--to=maximlevitsky@gmail.com \
--cc=jonsmirl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lirc-list@lists.sourceforge.net \
--cc=lirc@bartelmus.de \
/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