I have a recent copy of Debian 9 installed off the release ISO on physical hardware (Core 2 duo). It's updated to 9.7.
I got MythTV from github, and made the packages, which are mostly identified with this string in their name:
I had to apply a couple of hacks to get the packages made:29.1+fixes.20190209.af5d819671-stretch
- install pwgen first (otherwise the database gets borked).
- modify a changelog by adding a "-stretch" to the end of the myth version (I'd like to post the URL, but that appears to be prohibited, so search this forum for "Error in trying to build MythTV v 0.29 in Debian 9.6").
Code: Select all
[myth9.825] $ lsusb | grep Infrared
Bus 001 Device 002: ID 0609:0334 SMK Manufacturing, Inc. eHome Infrared Receiver
[myth9.827] $ ir-keytable
Found /sys/class/rc/rc1/ (/dev/input/event7) with:
Driver dvb_usb_af9035, table rc-empty
Supported protocols: nec
Enabled protocols:
Name: Leadtek WinFast DTV Dongle Dual
bus: 3, vendor/product: 0413:6a05, version: 0x0200
Repeat delay = 500 ms, repeat period = 125 ms
Found /sys/class/rc/rc2/ (/dev/input/event8) with:
Driver dvb_usb_af9035, table rc-empty
Supported protocols: nec
Enabled protocols:
Name: Leadtek WinFast DTV Dongle Dual
bus: 3, vendor/product: 0413:6a05, version: 0x0200
Repeat delay = 500 ms, repeat period = 125 ms
Found /sys/class/rc/rc0/ (/dev/input/event5) with:
Driver mceusb, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Enabled protocols: lirc rc-6
Name: Media Center Ed. eHome Infrared
bus: 3, vendor/product: 0609:0334, version: 0x0100
Repeat delay = 500 ms, repeat period = 250 ms
Code: Select all
[myth9.133] # cat /sys/class/rc/rc0/protocols
other unknown rc-5 nec [rc-6] jvc sony rc-5-sz sanyo sharp mce_kbd xmp cec [lirc]
Which is, essentially:
Code: Select all
echo lirc > /sys/class/rc/rc0/protocols
Code: Select all
[myth9.134] # cat /sys/class/rc/rc0/protocols
other unknown rc-5 nec rc-6 jvc sony rc-5-sz sanyo sharp mce_kbd xmp cec [lirc]
So I purged lirc, and tried ir-keytable.
Following several guides on the Internet, I manually created /etc/rc_keymaps/myrc6_mce, and then changed the rc-rc6-mce entry in /etc/rc_maps.cfg:
Code: Select all
#driver table file
* rc-rc6-mce myrc6_mce
Code: Select all
[myth9.851] # ir-keytable --test
Testing events. Please, press CTRL-C to abort.
1549952529.765649: event type EV_MSC(0x04): scancode = 0x800f0400
1549952529.765649: event type EV_KEY(0x01) key_down: KEY_0(0x000b)
1549952529.765649: event type EV_SYN(0x00).
1549952530.032719: event type EV_KEY(0x01) key_up: KEY_0(0x000b)
1549952530.032719: event type EV_SYN(0x00).
I noticed that Wayland is now a default in Debian 9, so I switched back to Xorg. No change.
Dr Google says it should "just work". But it feels to me that the frontend needs to be told not to use lirc which is not running:
Code: Select all
[myth9.854] # grep lirc /var/log/mythtv/mythfrontend.log
Feb 12 16:32:47 myth9 mythfrontend.real: mythfrontend[1561]: E CoreContext lirc.cpp:210 (Init) LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'#012#011#011#011eno: No such file or directory (2)