[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B104971.4020800@s5r6.in-berlin.de>
Date: Fri, 27 Nov 2009 22:49:37 +0100
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Jon Smirl <jonsmirl@...il.com>
CC: Christoph Bartelmus <christoph@...telmus.de>, jarod@...sonet.com,
awalls@...ix.net, dmitry.torokhov@...il.com, j@...nau.net,
jarod@...hat.com, khc@...waw.pl, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
mchehab@...hat.com, superm1@...ntu.com
Subject: Re: [RFC] What are the goals for the architecture of an in-kernel
IR system?
Jon Smirl wrote:
> 3) No special tools - use mkdir, echo, cat, shell scripts to build maps
>From the POV of a distributor, there is always a special tool required.
Whether it is implemented in bash, Python, or C doesn't make a
difference to him.
For an enduser whose distributor doesn't package that tool, it also
doesn't matter whether it is bash or Python. (C is awkward because it
needs to be run through gcc first.) A Pyton tool can operate the
existing EVIOCSKEYCODE interface just as well as a C tool.
Your mkdir/ echo/ cat programs would still just this: Programs. Sure,
these programs would be interpreted by an interpreter which is installed
everywhere, and the data they operate on is in a clear text format. The
downside is that these programs do not exist yet.
> 5) Direct multi-app support - no daemon
Think of lircd (when it feeds into uinput) as of a userspace driver
rather than a daemon. The huge benefit of a userspace driver is that it
can load configuration files.
Multi-app support is provided by evdev of course.
> What are other goals for this subsystem?
- Minimal development cost; reduced maintenance cost relative
the to status quo.
- No regressions would be best.
--
Stefan Richter
-=====-==--= =-== ==-==
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists