[mythtv-users] MCE remote after 0.21 -> 0.27 upgrade

Alec Leamas leamas.alec at gmail.com
Thu Sep 10 09:22:08 UTC 2015


Sorry, lost your reply in the LKML madness where I have to exist in for 
some time... pasting answer from archive, possibly out-of-thread.

On Monday, September 07, 2015 09:29:04 PM Alec Leamas wrote:
 >
 > You have read the guide, this is "Getting the key symbols using an LIRC
 > driver." First step is disabling the devinput decoding, because in this
 > context it's a problem:'
 >
 >     sudo echo lirc > /sys/class/rc/rc0/protocols
 >
 > Check: If you push buttons on your remote, nothing should happen.
 > Nothing at all, for any button.

Did this, correct. It's also possible to do this as

     ir-keytable -p LIRC

 > Assuming this is OK, try to use mode2:
 >
 >    sudo mode2 --driver default --device /dev/lirc0
 >
 > (there is a single /dev/lirc0 device, right?). If you push buttons, what
 > happens?

Ah, I get the expected pulse/space codes now.


I have gone back to the config guide, from the top, and I fail at

     $ irdb-get download devinput/devinput.lircd.conf
     $ sudo cp devinput/devinput.lircd.conf  /etc/lirc/lircd.conf.d
     $ lircd --device /dev/input/event13 --driver devinput
     $ irw

Here, you mess things up (poorly written guide?). The path we have 
entered when using mode2 and pulse/space durations does *not* involve 
devinput. It's about "Getting the key symbols using an LIRC driver", 
which uses another config file.

But since you *do* have a working setup giving pulse/space durations, 
you should actually be fine. The first step is to try one or two 
existing config files, found using 'irdb-get find mceusb' (skip the imon 
ones). If these does not work, you need to use irrecord(1) to record a 
new config file. It is some work, but usually not that hard.

Cheers!

--alec


More information about the mythtv-users mailing list