From: Stefan L. <hoi...@gm...> - 2004-03-25 07:52:20
|
Flameeyes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > this mail is intended to all who have news about input layer lirc support. > I can't try a newer kernel at the moment (I need some input experimental code > for my keyboard, and all the -mm crashed in my last tests), so I'm stuck in > 2.6.2 without many patches. > I remember that Gerd Knorr wanted to work on a patch to support tv-card's > remote using linux input layer in 2.6 kernels, but this was a lot of time > ago, before I had the 4 blacked-out months (damned isp.. i'm still without > adsl). > I saw there is a patch bttv driver, but I don't know how it works and if the > output events are customizable as lirc_gpio & co. > Can anyone who tried it tell me more? > I've been using the input-layer ir-kbd-i2c driver for my bt878-based hauppauge card for several months now (since 2.6.0-testsomething), and it works alright for me. Since 2.6.something (2.6.2 I think) this driver is included in the vanilla kernel sources and compiled automatically once you select bttv-support. The driver generates events via the /dev/input/eventX interface, and these can be processed by lircd with lirc's input-layer support. I had to generate a new lircd.conf in order to get it to work, but other than that everything was pretty much straight forward. The whole process is documented by several mails by me and others here in the list's archives. I can't provide you with further info on how the code works internally as I don't have any programming experience, you'd probably be best off if you contact Gerd Knorr directly if you've got any technical questions. Regards, Stefan > I'm asking this because porting the drivers to work both on 2.4 and 2.6 is a > difficult way, at least for some modules like the serial one (that is still > bugged), so I thought that if we can find a way to use the input layer AND > lirc daemon, there's more possibility that the code will be merged on 2.6 and > so we can simplify the development. > > - -- > Flameeyes <dg...@us...> > You can find LIRC for 2.6 kernels at > http://flameeyes.web.ctonet.it/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFAYiWge2h1+2mHVWMRAjuKAKCFKNidonRaVm4FXqseBnnMpNc9wQCgzVnV > boxwVZ3LHJgCSEKgjN2UANs= > =o+1y > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > > |