Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
- Date: Tue, 08 Dec 2009 12:56:53 -0200
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 6:17 AM, Mauro Carvalho Chehab
<mchehab@xxxxxxxxxx> wrote:
Jon Smirl wrote:
On Mon, Dec 7, 2009 at 6:44 PM, Mauro Carvalho ChehabAFAIK, it is at:
<mchehab@xxxxxxxxxx> wrote:
What is the format of the pulse stream data coming out of the lirc device?Where is the documentation for the protocol?I'm not sure what you're meaning here. I've started a doc about IR at the media
http://www.lirc.org/html/index.html
It would be nice to to add it to DocBook after integrating the API in kernel.
The point of those design review questions was to illustrate that the
existing LIRC system is only partially designed.
Ah, ok.
Subsystems need to be
fully designed before they get merged.
True.
For example 36-40K and 56K IR signals are both in use. It is a simple
matter to design a receiver (or buy two receivers) that would support
both these frequencies. But the current LIRC model only supports a
single IR receiver. Adjusting it to support two receivers is going to
break the ABI.
My choice would be to just tell the person with the 56K remote to just
buy a new 38K remote, but other people are against that choice. That
forces us into designing a system that can handle multiple receivers.
There is a parallel problem with baseband encoded IR signals.
We need to think about all of these use cases before designing the
ABI. Only after we think we have a good ABI design should code start
being merged. Of course we may make mistakes and have to fix the ABI,
but there is nothing to be gained by merging the existing ABI if we
already know it has problems.
I have here machines with 3 or 4 IR receivers (well, in a matter of fact,
I don't use all of them at the same time). Nothing stops someone to
use all IR receivers at the same.
I've seen some interesting applications developed for students, where just
one computer running Linux is splitted into 4 different consoles. Nothing
stops that, on such usages, you may have 4 different IR transceivers working
at the same time.
In order to keep supporting the in-kernel drivers, we should create one lirc
device per each IR transceiver.
Cheers,
Mauro.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Dmitry Torokhov
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Dmitry Torokhov
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Mauro Carvalho Chehab
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Krzysztof Halasa
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Jon Smirl
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Krzysztof Halasa
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Jon Smirl
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Mauro Carvalho Chehab
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Jon Smirl
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Mauro Carvalho Chehab
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- From: Jon Smirl
- Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- Prev by Date: Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- Next by Date: Re: linux-next: net/kbuild trees build failure
- Previous by thread: Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- Next by thread: Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
- Index(es):
Relevant Pages
|