Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758847AbZKYQxv (ORCPT ); Wed, 25 Nov 2009 11:53:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758816AbZKYQxs (ORCPT ); Wed, 25 Nov 2009 11:53:48 -0500 Received: from khc.piap.pl ([195.187.100.11]:54141 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758813AbZKYQxq (ORCPT ); Wed, 25 Nov 2009 11:53:46 -0500 From: Krzysztof Halasa To: Jarod Wilson Cc: Andy Walls , Christoph Bartelmus , dmitry.torokhov@gmail.com, j@jannau.net, jarod@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@redhat.com, superm1@ubuntu.com Subject: Re: [RFC] Should we create a raw input interface for IR's ? - Was: Re: [PATCH 1/3 v2] lirc core device driver infrastructure References: <1259024037.3871.36.camel@palomino.walls.org> <6D934408-B713-49B6-A197-46CE663455AC@wilsonet.com> Date: Wed, 25 Nov 2009 17:53:49 +0100 In-Reply-To: <6D934408-B713-49B6-A197-46CE663455AC@wilsonet.com> (Jarod Wilson's message of "Tue, 24 Nov 2009 08:32:40 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1622 Lines: 37 Jarod Wilson writes: > The bulk of breakage in lirc I've personally had to deal with has > mostly come in the form of kernel interface changes, which would > definitely be mitigated by not having to maintain the drivers > out-of-tree any longer. Certainly. > Now, I'm all for "improving" things and integrating better with the > input subsystem, but what I don't really want to do is break > compatibility with the existing setups on thousands (and thousands?) > of MythTV boxes around the globe. The lirc userspace can be pretty > nimble. If we can come up with a shiny new way that raw IR can be > passed out through an input device, I'm pretty sure lirc userspace can > be adapted to handle that. Lirc can already handle input layer. Since both ways require userspace changes, why not do it the right way the first time? Most of the code is already written. > If a new input-layer-based transmit interface is developed, we can > take advantage of that too. But there's already a very mature lirc > interface for doing all of this. So why not start with adding things > more or less as they exist right now and evolve the drivers into an > idealized form? Getting *something* into the kernel in the first place > is a huge step in that direction. What I see as potentially problematic is breaking compatibility multiple times. -- Krzysztof Halasa -- 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/