[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3iqcrvkyp.fsf@intrepid.localdomain>
Date: Mon, 30 Nov 2009 21:03:42 +0100
From: Krzysztof Halasa <khc@...waw.pl>
To: Andy Walls <awalls@...ix.net>
Cc: Mauro Carvalho Chehab <mchehab@...hat.com>,
Ray Lee <ray-lk@...rabbit.org>,
Maxim Levitsky <maximlevitsky@...il.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Jon Smirl <jonsmirl@...il.com>,
Christoph Bartelmus <lirc@...telmus.de>,
dmitry.torokhov@...il.com, j@...nau.net, jarod@...hat.com,
jarod@...sonet.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
stefanr@...6.in-berlin.de, superm1@...ntu.com
Subject: Re: [RFC] What are the goals for the architecture of an in-kernel IR system?
Andy Walls <awalls@...ix.net> writes:
> Nonetheless I'd still rather debug a problem with a dead process in
> userspace than an oops or panic (not that an end user cares) and avoid
> the risk of filesystem corruption.
I'll concentrate on IRQ-driven space/mark drivers/devices since it's
what I've been using. They are: very simple hardware (as simple as a
TSOP1836 3-pin receiver "chip" + a resistor), very simple driver (the
hardware signals change in input state with IRQ). Something like maybe
50 lines of code + the (default) key mapping table.
Anyway, you can't move the whole driver to userspace, as it has to
handle IRQs with timestamps.
It doesn't have to sleep.
It's about the last thing I'd worry about WRT the stability.
> So are we optimizing for the embedded/STB and HTPC with no keyboard use
> case, or the desktop or HTPC with a keyboard for maintencance?
IOW the question is: do we want to continue supporting keyboard-less
machines?
--
Krzysztof Halasa
--
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