Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752952AbZKZFtj (ORCPT ); Thu, 26 Nov 2009 00:49:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752338AbZKZFti (ORCPT ); Thu, 26 Nov 2009 00:49:38 -0500 Received: from mail-pz0-f171.google.com ([209.85.222.171]:64925 "EHLO mail-pz0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081AbZKZFtg (ORCPT ); Thu, 26 Nov 2009 00:49:36 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=L/PZGOhf8Jdye60sYmzxxUufzAWOkQBs6KJpHqYFhcGNtPIdjOR1TP1OSdAKMpooDh +hxehBjgBbo5hS+byVgeAvi9wO3hk50oI6x3Kcg39c0nQmHBENd20+HVaRGanWxrDaQU fQbvSCd+f5y1/tG4+ptqwxI733DqrIjawC8AM= Date: Wed, 25 Nov 2009 21:49:38 -0800 From: Dmitry Torokhov To: Andy Walls Cc: Christoph Bartelmus , khc@pm.waw.pl, 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 Message-ID: <20091126054938.GH23244@core.coreip.homeip.net> References: <1259024037.3871.36.camel@palomino.walls.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1259024037.3871.36.camel@palomino.walls.org> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2417 Lines: 53 On Mon, Nov 23, 2009 at 07:53:57PM -0500, Andy Walls wrote: > On Mon, 2009-11-23 at 22:11 +0100, Christoph Bartelmus wrote: > > Czesc Krzysztof, > > > > on 23 Nov 09 at 15:14, Krzysztof Halasa wrote: > > [...] > > > I think we shouldn't at this time worry about IR transmitters. > > > > Sorry, but I have to disagree strongly. > > Any interface without transmitter support would be absolutely unacceptable > > for many LIRC users, including myself. > > I agree with Christoph. > > Is it that the input subsystem is better developed and seen as a > leverage point for development and thus an "easier" place to get results > earlier? If so, then one should definitely deal with transmitters early > in the design, as that is where the most unknowns lie. > > With the end of analog TV, people will have STBs feeding analog only > video cards. Being able to change the channel on the STB with an IR > transmitter controlled by applications like MythTV is essential. > > > And on some different notes: > > I generally don't understand the LIRC aversion I perceive in this thread > (maybe I just have a skewed perception). Aside for a video card's > default remote setup, the suggestions so far don't strike me as any > simpler for the end user than LIRC -- maybe I'm just used to LIRC. LIRC > already works for both transmit and receive and has existing support in > applications such as MythTV and mplayer. Is it that LIRC supports MythTV and mplayer or MythTV and mplayer are forced to support lirc because the remores are not available through other means? I believe it is the latter and applications writers would be happy to reduce number of ways they get button data. I don't think there is LIRC aversion per se. We are just trying to decide whether multiple interfaces for the same data is needed. And I don't think that we will completely reject userspace components. Just as input subsystem allows for userspace drivers I do not think why we can't have the same for the LIRC. But I do think that the primary interface for regular userspace consumers (read mplayer and MythTV and the likes) should be input event interface (EV_KEY/KEY_*). -- Dmitry -- 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/