[mythtv-users] MythTV Raspberry Pi2 - GPIO IR - Multiple Key-presses from remote control

Kingsley Turner krt at krt.com.au
Wed Jan 6 23:22:20 UTC 2016


Greetings,

So I have my Raspberry PI GPIO Infra-Red remote mostly working fine.

I can see messages debugging with 'irw', all the codes are correct, etc.

However in mythfrontend (and irw) I quite clearly get multiple keypresses; 
99% double, sometimes single, sometimes triple.
e.g.:
pi at raspberrypi:~ $ irw
00000000807f9867 00 KEY_ENTER noontec_a6
00000000807f9867 01 KEY_ENTER noontec_a6

Reading many of the various posts for MythTV (and XBMC, etc.) the proposed 
solutions are not applicable to RPi.

One thing I have tried, is creating an /etc/lirc/lircrc file which specifies 
button handling:

begin
     button = KEY_ENTER
     delay  = 5
     repeat = 3
     #prog   = irexec
     #config = echo KEY_ENTER
end

I added a clause like this for every key.

If I run 'irexec' with those two commented-out lines back in, and press 
keys, the remote does behave as-if the lircrc file has made a difference.  
Indeed, changing the delay & repeat allowed me to tune button pushing so 
there was no unwanted repeats - but only for irexec.

Should I expect 'irw' and MytvTV to respect this lircrc file ?

Is there something I'm missing?

thanks,
-kt





More information about the mythtv-users mailing list