Mailing List archive

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

[linux-dvb] Re: [vdr] Lirc and Kernel 2.6.0.test8



Florian Steinel wrote:
Patrick Boettcher wrote:

Hello List,

For all of you who want to use the latest test kernel, at least for all of
you who have to use the latest test kernel (me). Here you can find the
basic kernel patch, which included lirc into the kernel and made it
accessable through make menuconfig (Device Driver -> Char Device - Linux
Infrared Control, if i remember correctly).


...

I use a homebrew ir-recv so lirc_serial is needed.
I compiled it as a module and follow the howto on lirc.org (modprobe ..,
mknod, setserial).
I use Debian so I installed the lirc and liblircclient0 package (not the
kernel modules) and everything works fine for me.


How about porting the av7110 ir input module for 2.6.0 to serial input and get rid of lirc (kernel modules)?
That what i found so far:
http://www.vdrportal.de/board/thread.php?threadid=6791&sid=

@Holger:
How difficult is this?
not too difficuilt, just take one of the serial drivers as base and call hook in the event input calls.

(Can an userspace prog create input events?)
:) this would mean a microkernel-alike architecture, right? It's a bit more complicated than the approach outlined above:

Either use a framework like FUSD or write a dummy-module which registers a hidden device (e.g. a proc- or private device in the /dev directory) and translates everything you write into this device into input events and then calls the appropriate input_XXX() functions. I suppose the latter approach will cause less troubles in the future because you don't have the dependency into an external project...

Holger



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index