From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] Input: add appleir USB driver Date: Thu, 15 May 2008 19:32:36 -0700 Message-ID: <20080516023236.GB17375@kroah.com> References: <20080514221519.GA6575@kroah.com> <20080515132108.GA9327@dose.home.local> <20080515094212.ZZRA012@mailhub.coreip.homeip.net> <20080515184034.GB15231@kroah.com> <20080515205959.GA11683@dose.home.local> <20080515211117.GA32573@kroah.com> <20080515232733.GA16655@dose.home.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:36294 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbYEPCdZ (ORCPT ); Thu, 15 May 2008 22:33:25 -0400 Content-Disposition: inline In-Reply-To: <20080515232733.GA16655@dose.home.local> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov , jkosina@suse.cz, linux-input@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, May 16, 2008 at 01:27:33AM +0200, Tino Keitel wrote: > On Thu, May 15, 2008 at 14:11:17 -0700, Greg KH wrote: > > On Thu, May 15, 2008 at 10:59:59PM +0200, Tino Keitel wrote: > > [...] > > > > The macmini LIRC driver is a pure userspace driver, so nothing > > > needs to > > > be ever included in the kernel. > > > > So does this driver work with the macmini USB ir device today > > somehow? > > Yes, I'm using it for months. > > > From what I can tell, this driver is still necessary for things to > > work > > properly for this hardware, right? > > When the appleir kernel driver is used, the IR device acts as in input > device, not as a HID device. LIRC has to be configured to use its > dev/input driver in this case. This is a generic driver to use any > input device as lirc device. The dev/input driver relies on the key > events that are generated by the kernel. Hm, I just got a private email (for some odd reason) saying this driver isn't needed at all, they just add a hid quirk line. Now why that hid quirk line hadn't been added for the year or so that the person knew about it, sure is odd to me... I'll test it out and probably reduce this whole thing to a one-line hid-quirk patch... ugh, why do people not send stuff upstream, it just wastes everyone's time in the end :( greg k-h