Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] clean RC support for rev2.1



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