lkml.org 
[lkml]   [2008]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 06/18] lirc driver for the ATI USB RF remote receiver
Date
On Wednesday 10 September 2008 09:44:17 Janne Grunau wrote:
> On Wednesday 10 September 2008 15:14:32 Christoph Hellwig wrote:
> > On Wed, Sep 10, 2008 at 09:05:58AM -0400, Jarod Wilson wrote:
> > > True, though I think some users still prefer using them with the
> > > lirc drivers for assorted reasons. Configuring something like
> > > mythtv to work with the ati_remote{,2} driver appears to be a bit
> > > more complex (or at least non- standard vs. several other popular
> > > remotes) and not as functional vs. configuring mythtv
> > > w/lirc_atiusb.
> >
> > Bad idea to have two drivers for the same piece of hardware. And
> > this gets straight back into the why should lirc be different from
> > the input layer point raised earlies. I think we really shouldn't
> > keep lirc as a separate subsystem, but make sure all the drivers are
> > written to the input layer.
>
> Some drivers don't report events but deliver the signal to the lirc
> daemon. The daemon decodes the signal. Decoding of several IR protocols
> and mapping of each possible remote to events are things much easier
> done in userspace.
> Aslo LIRC is not only about IR input but also output.
>
> See following mail from Christoph Bertelmus for more details.
> http://sourceforge.net/mailarchive/message.php?msg_id=AAryKgq9UOB%40bartelm
>us.de

Yeah, I think that pretty well covers the issues.

> > To make the migration easier for exiting
> > users we could add a /dev/lirc driver ontop of the input layer,
>
> This shouldn't be necessary since the lirc daemon can already read from
> input devices.

Okay, so what I'm hearing and thinking is that we should at drop lirc_atiusb
from consideration for inclusion, and instead extend ati_remote{,2} as/if
necessary to be able to let the lirc daemon use it via the provided input
device, so people can get the best of both worlds (it behaves like a keyboard
if so configured, talks to lircd if so configured).

--
Jarod Wilson
jarod@redhat.com



\
 
 \ /
  Last update: 2008-09-10 16:19    [W:0.092 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site