Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] clean RC support for rev2.1
- To: linux-dvb@linuxtv.org
- Subject: [linux-dvb] clean RC support for rev2.1
- From: Matthias Hilbig <hilbig@upb.de>
- Date: Mon, 15 Oct 2001 16:01:31 +0200
- Content-Disposition: inline
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii; format=flowed
- Delivered-To: mhonarc@limes.convergence.de
- Sender: linux-dvb-bounce@linuxtv.org
the rc support at the moment is in my opinion a little bit unclean:
dvb.c includes header files from lirc
and you have to insmod lirc_dev.o before you load the dvb-driver
my idea was to put all lirc code in dvb.c into a seperate lirc module and
insert a procedure in dvb.c that registers callback functions that get
called if
ir-events arrive:
f.e:
register_irc_handler(pointer to function)
unregister_irc_handler(pointer to function)
the function would receive ircommand
the IRQ handle function would start a tasklet that will call all registered
functions (or just one...) with the received ircommand
just wanted to ask if it will be accepted in the driver, before i start the
actual work :-)
Matthias
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index