Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754973AbZLHNeZ (ORCPT ); Tue, 8 Dec 2009 08:34:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754877AbZLHNeX (ORCPT ); Tue, 8 Dec 2009 08:34:23 -0500 Received: from mail-pz0-f171.google.com ([209.85.222.171]:46828 "EHLO mail-pz0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754818AbZLHNeW convert rfc822-to-8bit (ORCPT ); Tue, 8 Dec 2009 08:34:22 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=G/J/jncn8gEBa2Z3v1zq+1eLhB9vIKb7p2y9GoqsPvwEGXh51chhuH9dt6Q6Mv76lY FpvP2aU+XGZsBXozByK/WUlKgh6a03KplJQ6YXVFF3JUS0QMVimILl6IBYI7Pf2jaIJT fDJ0QZuHEz+UGYNWJMq/+3/EjBCpZkj/0tmi4= MIME-Version: 1.0 In-Reply-To: <4B1E35D6.6000602@redhat.com> References: <20091204220708.GD25669@core.coreip.homeip.net> <20091206065512.GA14651@core.coreip.homeip.net> <4B1B99A5.2080903@redhat.com> <9e4733910912060952h4aad49dake8e8486acb6566bc@mail.gmail.com> <9e4733910912061323x22c618ccyf6edcee5b021cbe3@mail.gmail.com> <4B1D934E.7030103@redhat.com> <9e4733910912071628x3f3eba82r4c964982f9d8c5a4@mail.gmail.com> <4B1E35D6.6000602@redhat.com> Date: Tue, 8 Dec 2009 08:34:26 -0500 Message-ID: <9e4733910912080534m1fe8c5bakb9219c6a55f0bcaa@mail.gmail.com> Subject: Re: [RFC] What are the goals for the architecture of an in-kernel IR system? From: Jon Smirl To: Mauro Carvalho Chehab Cc: Krzysztof Halasa , Dmitry Torokhov , hermann pitton , Christoph Bartelmus , awalls@radix.net, j@jannau.net, jarod@redhat.com, jarod@wilsonet.com, kraxel@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, superm1@ubuntu.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1890 Lines: 46 On Tue, Dec 8, 2009 at 6:17 AM, Mauro Carvalho Chehab wrote: > Jon Smirl wrote: >> On Mon, Dec 7, 2009 at 6:44 PM, Mauro Carvalho Chehab >> wrote: > >>>> 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 >> >> What is the format of the pulse stream data coming out of the lirc device? > > AFAIK, it is at: > ? ? ? ?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. Subsystems need to be fully designed before they get merged. 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. -- Jon Smirl jonsmirl@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/