All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Emmanuel Fust <emmanuel.fuste@laposte.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: In-kernel IR remote control support
Date: Fri, 14 Nov 2008 19:37:55 +0200	[thread overview]
Message-ID: <491DB773.5070708@gmail.com> (raw)
In-Reply-To: <13134331.2018681226657305244.JavaMail.www@wwinf8303>

Emmanuel Fust wrote:
> Hi,
> 
>  >Christoph Bartelmus wrote:
>  >> Hi,
>  >>
>  >> on 12 Nov 08 at 14:39, J.R. Mauro wrote:
>  >> [...]
>  >>> On Wed, Nov 5, 2008 at 3:07 PM, Jon Smirl wrote:
>  >>>> On Wed, Nov 5, 2008 at 2:59 PM, J.R. Mauro wrote:
>  >>>>> On Wed, Nov 5, 2008 at 2:47 PM, Jon Smirl wrote:
>  >>>>>> New release of in-kernel IR support implementing evdev support. 
> 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. Still
>  >>>>>> looking for help with this project.
>  >>
>  >>>>> (Forgive me if this has already been asked or dealt with)
>  >>
>  >>>>> Have you contacted the LIRC developers? Is there any overlap between
>  >>>>> your projects?
>  >>
>  >>>> The LIRC people know about this. Pieces of the code are coming from
>  >>>> the LIRC source base and being reworked for kernel inclusion.
>  >>
>  >>> Great, it's nice to see there's cooperation.
>  >>
>  >> LOL. There's just a small omission from Jon's side...
>  >> Yes, LIRC people know about this. And Jon has a no-go from me.
>  >>
>  >> Decoding IR protocols in-kernel is the wrong way IMHO and this will 
> not be
>  >> supported by LIRC as long as I maintain LIRC.
>  >> It's simply not possible to decode all existing IR protocols and 
> LIRC just
>  >> stores the timing data for these protocols as-is without trying to 
> decode
>  >> them. With the in-kernel decoding approach these remotes cannot be
>  >> supported. I'm not willing to sacrifice the support for these even 
> though
>  >> they only consist of a very small fraction of remotes in use.
>  >+1
>  >
>  >I agree completely.
>  >This way we can make lirc to recognize any remote.
>  >
>  >Don't yet have a general receiver, but when I have one, I would like 
> to use my remotes,
>  >and who knows what protocols they use...
>  >
>  >
>  >Best solution is to make new input layer message, a raw PCM data.
> No, raw PCM data has nothing to do as an input layer message. Is is not 
> an input event.
> 
>  >or, you can even keep the daemon, but make it inject input events back 
> to input system.
>  >
> Exactly as Jon designed it. Use the raw sysfs interface to get raw data 
> and inject input events back to input system.
> 
>  >The only think I don't like at all about lirc is that you need special 
> library to talk
>  > to it while I want remotes to be used as a keyboards.
>  >
>  >Btw, one can write a lirc client that does the above, but this is hackish.
>  >
>  >Some standard ir protocols can be decoded in kernel, but there should 
> be standard
>  > (not debug) way to do so in userspace.
> 
> Call it raw instead of debug and you're done. Lircd will be the main if 
> not the only regular user of this raw interface.
I was under impression that sysfs interface isn't fit for everyday use.
Is it at least possible to receive a continuous stream of data?
Then lets rename it to regular not debug interface.


> 
> Jon did a wonderful jobs, it's thin, simple, clean and fit perfectly 
> with the input system. No more specialized libs. With a little work, 
> existing decoders could cover more than 70% the IR remotes. With more 
> engines, we could rapidly cover more than 95% of know IR protocols. A 
> simplified lircd could at any time cover the rest.
Best regards,
	Maxim Levitsky

> 
> Bests regards,
> Emmanuel.
> ---
> 
> 
> 
> /Créez votre adresse <http://www.laposte.net> électronique 
> prenom.nom@laposte.net
> 1 Go d'espace de stockage, anti-spam et anti-virus intégrés./


       reply	other threads:[~2008-11-14 17:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <13134331.2018681226657305244.JavaMail.www@wwinf8303>
2008-11-14 17:37 ` Maxim Levitsky [this message]
     [not found] <7f0c6fc9-556c-41a1-9750-ffb3455589ab@35g2000pry.googlegroups.com>
2008-11-12 23:09 ` In-kernel IR remote control support Christoph Bartelmus
2008-11-13 18:20   ` Maxim Levitsky
2008-11-15 11:58   ` Pavel Machek
2008-11-15 16:10     ` J.R. Mauro
2008-11-23  9:14     ` Christoph Bartelmus
2008-11-23 18:01       ` Pavel Machek
2008-12-02 18:00         ` Christoph Bartelmus
2008-12-03  8:25           ` Pavel Machek
2008-11-23 20:33       ` Jiri Kosina
2008-11-23 22:28         ` Christoph Bartelmus
2008-11-23 22:58           ` Jon Smirl
2008-12-02 22:00       ` Gerd Hoffmann
2008-12-03  0:59         ` J.R. Mauro
2008-12-03  9:30           ` Gerd Hoffmann

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=491DB773.5070708@gmail.com \
    --to=maximlevitsky@gmail.com \
    --cc=emmanuel.fuste@laposte.net \
    --cc=linux-kernel@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 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.