[mythtv-users] IRKEYTABLE Problems

Jack McGee jack at greendesk.net
Tue Jan 9 03:05:16 UTC 2018


I built a new Frontend, and am now on the hardest part of this, in my 
opinion.  Getting my remote to work with it.

I am using a URC9910 JP1 capable remote.  I used  Windows Media Center 
v2 upgrade to program it.

This has worked with LIRC in the past, and worked with KODI out of the box.

This is on Ubuntu 16.04, and I thought I would give irkeytable a try.

This is my remote:

mythuser at mythfrontend1:~$ sudo ir-keytable
[sudo] password for mythuser:
Found /sys/class/rc/rc0/ (/dev/input/event13) with:
     Driver mceusb, table rc-rc6-mce
     Supported protocols: unknown other lirc rc-5 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: 1784:0008, version: 0x0101
     Repeat delay = 500 ms, repeat period = 125 ms


Then I pressed some buttons on the remote and got this:

mythuser at mythfrontend1:~$ sudo ir-keytable -t -d /dev/input/event13
[sudo] password for mythuser:
Testing events. Please, press CTRL-C to abort.
1515465521.100104: event type EV_MSC(0x04): scancode = 0x800f0422
1515465521.100104: event type EV_KEY(0x01) key_down: KEY_ENTER(0x001c)
1515465521.100104: event type EV_SYN(0x00).
1515465521.236089: event type EV_MSC(0x04): scancode = 0x800f0422
1515465521.236089: event type EV_SYN(0x00).
1515465521.518509: event type EV_KEY(0x01) key_up: KEY_ENTER(0x001c)
1515465521.518509: event type EV_SYN(0x00).
1515465529.420214: event type EV_MSC(0x04): scancode = 0x800f0419
1515465529.420214: event type EV_KEY(0x01) key_down: KEY_STOP(0x0080)
1515465529.420214: event type EV_SYN(0x00).
1515465529.524209: event type EV_MSC(0x04): scancode = 0x800f0419
1515465529.524209: event type EV_SYN(0x00).
1515465529.660159: event type EV_MSC(0x04): scancode = 0x800f0419
1515465529.660159: event type EV_SYN(0x00).
1515465529.934503: event type EV_KEY(0x01) key_up: KEY_STOP(0x0080)
1515465529.934503: event type EV_SYN(0x00).
1515465533.804277: event type EV_MSC(0x04): scancode = 0x800f040a
1515465533.804277: event type EV_KEY(0x01) key_down: KEY_ESC(0x0001)
1515465533.804277: event type EV_SYN(0x00).
1515465533.908261: event type EV_MSC(0x04): scancode = 0x800f040a
1515465533.908261: event type EV_SYN(0x00).
1515465534.044233: event type EV_MSC(0x04): scancode = 0x800f040a
1515465534.044233: event type EV_SYN(0x00).
1515465534.318514: event type EV_KEY(0x01) key_up: KEY_ESC(0x0001)
1515465534.318514: event type EV_SYN(0x00).
1515465536.356309: event type EV_MSC(0x04): scancode = 0x800f0416
1515465536.356309: event type EV_KEY(0x01) key_down: KEY_P(0x0019)
1515465536.356309: event type EV_SYN(0x00).
1515465536.460250: event type EV_MSC(0x04): scancode = 0x800f0416
1515465536.460250: event type EV_SYN(0x00).
1515465536.596285: event type EV_MSC(0x04): scancode = 0x800f0416
1515465536.596285: event type EV_SYN(0x00).
1515465536.878474: event type EV_KEY(0x01) key_up: KEY_P(0x0019)
1515465536.878474: event type EV_SYN(0x00).
1515465539.076198: event type EV_MSC(0x04): scancode = 0x800f0412
1515465539.076198: event type EV_KEY(0x01) key_down: KEY_PAGEUP(0x0068)
1515465539.076198: event type EV_SYN(0x00).
1515465539.212318: event type EV_MSC(0x04): scancode = 0x800f0412
1515465539.212318: event type EV_SYN(0x00).
1515465539.470520: event type EV_KEY(0x01) key_up: KEY_PAGEUP(0x0068)
1515465539.470520: event type EV_SYN(0x00).

Then I put this in a file:

mythuser at mythfrontend1:~$ cat mykeytable
0x800f0422 KEY_ENTER
0x800f0419 KEY_STOP (0x80)
0x800f040a KEY_ESC
0x800f0416 KEY_P (0xcf)
0x800f0412 KEY_PAGEUP (0x192) # CHANNELUP


and

mythuser at mythfrontend1:~$ sudo ir-keytable --write mykeytable -d 
/dev/input/event13
Wrote 5 keycode(s) to driver



The arrow buttons worked from the beginning.  Doing this got the enter 
button to work.  The play, exit, channel up and stop buttons do not work.

Where am I going wrong?








More information about the mythtv-users mailing list