Configuring MCE remote with Debian buster using lirc 0.10.
General configuration from http://lirc.sourceforge.net/lirc.org/html/index.html.
Install and enable lirc
apt-get install lirc
systemctl enable lirc
/etc/lirc/lirc_options.conf
should have
driver = default
Copy the mse remote control definition over
cp /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb /etc/lirc/lircd.conf.d/mceusb.lircd.conf
restart lirc
systemctl restart lirc
$ mode2 --driver default --device /dev/lirc0
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
And test with remove keypresses to see if anything is output.
Run irw and test (pressing OK should give):
$ irw
000000037ff07bdd 00 KEY_OK mceusb
Then create mythtv file for keymappings as in http://git.netscum.org.uk/stefan/mythtv_remote/src/master/mythtv in ~/.lircrc
Pressing OK on the remote while running ircat should now give:
$ ircat mythtv
Space
And it should work with mythtv