Comment 0 for bug 1579760

Revision history for this message
Jord Swart (kubuntu-s) wrote :

$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04

$ apt-cache policy ir-keytable
ir-keytable:
  Installed: 1.10.0-1
  Candidate: 1.10.0-1
  Version table:
 *** 1.10.0-1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

== What used to happen in older releases:
In older versions of ir-keytable I was able to set my soundgraph imon (15c2:ffdc) to use protocol RC-6.

The way I did it was by changing the file:
/lib/udev/rc_keymaps/imon_pad

and make the first line look like:
# table imon_pad, type: RC-6

== What actually happens in the current release:
In the 16.04 release of Ubuntu this is no longer possible. The output of ir-keytable also doesn't list the RC-6 protocol as available.

$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event4) with:
 Driver imon, table rc-imon-pad
 Supported protocols: other
 Enabled protocols:
 Name: iMON Remote (15c2:ffdc)
 bus: 3, vendor/product: 15c2:ffdc, version: 0x0000
 Repeat delay = 500 ms, repeat period = 125 ms

With the "other" protocol enabled my arrow keys deliver double key clicks, so clicking up once actually moves the cursor two lines up (in kodi that is).

Forcing the device to RC-6 with:
$ sudo echo RC-6 > /sys/class/rc/rc0/protocols

fixes the double clicks.

== What should happen in the current release:
IMHO ir-keytable should actually list RC-6 as a protocol for this (specific) device and it should be relatively easy to assign this protocol. Either by using ir-keytable, or updating the imon_pad file.