Messages from Lirc have to be longer than 21 chars, why?

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

 



Hi,

during my tests with eventlircd I noticed that the up key of my remote
didn't work with vdr, but with xbmc. I debugged vdr and stumbled above
the line lirc.c:89 (not vanilla sources):

         if (ready && ret > 21) {

Lirc sends this to vdr: 

	"67 0 KEY_UP devinput"

So this key gets ignored, all other key have longer names and are
working. Solution seems to be easy. Instead of 21 I could use 19, but
with inputlircd I get this string for the same key: 

	"67 0 KEY_UP event7"

It would get ignored again.

What is the intention for this condition: 

	ret > 21? 

Is it to make sure to not get garbage from lirc? But why 21 chars? What
would be a better length, or a better check?

Gerald

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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux