using dvb stick IR receiver with recycled remote?

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

 



Hi all,

I've been taking a look at how IR receiver is managed (dib0700
receivers, file dib0700_devices.c), because I'm willing to recycle an
"old" DVD Remote in order to use it with mythtv; Actually, I was using
it with a home brew ir receiver based on an Arduino board which died
yesterday :-( The question is that, as far as I've seen, IR codes for
"known" remotes are hardcoded into dib0700_devices.c, so it looks that
are two options here:

a) Add this remote as a "known" device:
       - Do some research to get the list of codes for each of the
keys on this remote (looks doable, since these codes appear in dmesg
as "Unknown remote controller key : XX XX"
       - Add them to dib0700_devices, mapped to the most similar
linux/input.h KEY_xxx values
       - Google around to find how to map these events to Lirc->Mythtv

       This looks ok, but presents a problem which is obvius: I would
have to manually update the dib0700_devices.c for each upgrade of the
devices sources, that's why I'm asking
       about (b)

b) Add support inside dib0700_devices to manage "Unknown remote
controller key" events as -if configured- "customizable" events, in
order to make use of the IR receiver in those sticks with generic IR
controllers. I'm not sure about this option, but it looks like the
"cleanest", despite the fact that (a) can be done for me to work on my
system and (b) could result -potentially- in a benefit for everyone
willing to use a recycled remote with its dvb stick

What do you think about the different options? Specifically about (a)
-the one that I'll implement meanwhile-, do you think there's
something missing?

Best,
Jose

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux