From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Subject: Re: [RFC] What are the goals for the architecture of an in-kernel IR system? Date: Sun, 29 Nov 2009 14:16:11 -0500 Message-ID: <9e4733910911291116r66dda6dap591d1b0f322f9663@mail.gmail.com> References: <9e4733910911280937k37551b38g90f4a60b73665853@mail.gmail.com> <1259469121.3125.28.camel@palomino.walls.org> <20091129124011.4d8a6080@lxorguk.ukuu.org.uk> <1259515703.3284.11.camel@maxim-laptop> <2c0942db0911290949p89ae64bjc3c7501c2de6930c@mail.gmail.com> <20091129181316.7850f33c@lxorguk.ukuu.org.uk> <2c0942db0911291052n6e9dd116x943ee636bcf548b9@mail.gmail.com> <20091129190435.6500ac84@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <20091129190435.6500ac84@lxorguk.ukuu.org.uk> Sender: linux-media-owner@vger.kernel.org To: Alan Cox Cc: Ray Lee , Maxim Levitsky , Andy Walls , Krzysztof Halasa , Christoph Bartelmus , dmitry.torokhov@gmail.com, j@jannau.net, jarod@redhat.com, jarod@wilsonet.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@redhat.com, stefanr@s5r6.in-berlin.de, superm1@ubuntu.com List-Id: linux-input@vger.kernel.org On Sun, Nov 29, 2009 at 2:04 PM, Alan Cox wrote: >> Jon is asking for an architecture discussion, y'know, with use cases. >> Maxim seems to be saying it's obvious that what we have today works >> fine. Except it doesn't appear that we have a consensus that >> everything is fine, nor an obvious winner for how to reduce the >> complexity here and keep the kernel in a happy, maintainable state for >> the long haul. > > The important point is that this is not an A or B discussion. There are > lots of ways to tackle it that are neither. If you look at things like > complex video format handling it is done in user space but with an > infrastructure to handle it. > > I don't believe putting it in the kernel is the alternative to the > current setup. Cleaning up the way what we have today is presented to > applications is perfectly possible without a whole new pile of kernel > crap, because evdev was designed sensibly in the first place to allow > userspace added events. So we're just back to the status quo of last year which is to do nothing except some minor clean up. We'll be back here again next year repeating this until IR gets redesigned into something fairly invisible like keyboard and mouse drivers. -- Jon Smirl jonsmirl@gmail.com