[mythtv-users] IR control via evdev

Don Brett dlbrett at zoominternet.net
Wed Aug 8 15:19:39 UTC 2018


I'm building a new box with Ubuntu 18.04 and trying to get the remote 
working, but ran into a snag.  I'm following the instructions here:

https://www.mythtv.org/wiki/User_Manual:IR_control_via_evdev

This worked:

don at andy:~$ sudo ir-keytable -t
Testing events. Please, press CTRL-C to abort.
182.735877: event type EV_MSC(0x04): scancode = 0x800f0401
182.735877: event type EV_KEY(0x01) key_down: KEY_NUMERIC_1(0x0201)
182.735877: event type EV_SYN(0x00).
182.869726: event type EV_MSC(0x04): scancode = 0x800f0401
182.869726: event type EV_SYN(0x00).
183.132071: event type EV_KEY(0x01) key_up: KEY_NUMERIC_1(0x0201)
183.132071: event type EV_SYN(0x00).

, but this did not:

don at andy:~$ sudo ir-keytable -t -d /dev/event/input3
/dev/event/input3: No such file or directory

don at andy:~$ sudo ir-keytable -t -d /dev/event/input4
/dev/event/input4: No such file or directory

My box has /dev/input/event*, but does not have /dev/event.  Trying the 
next command:

don at andy:~$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event10) with:
         Name: Media Center Ed. eHome Infrared Remote Transceiver 
(0471:0815)
         Driver: mceusb, table: rc-rc6-mce
         lirc device: /dev/lirc0
         Supported protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo 
mce_kbd rc-6 sharp xmp
         Enabled protocols: lirc rc-6
         bus: 3, vendor/product: 0471:0815, version: 0x0000
         Repeat delay = 500 ms, repeat period = 125 ms

I have /dev/input/event10, so tried:

don at andy:~$ sudo ir-keytable -t -d /dev/input/event10
Can't open lirc device: No such file or directory

, so purged lirc, and tried it again; got the same results:

don at andy:~$ sudo apt-get remove *lirc* --purge
don at andy:~$ sudo ir-keytable -t -d /dev/input/event10
Can't open lirc device: No such file or directory


Any suggestions?

Don


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the mythtv-users mailing list