Protocol RC-6 no longer available for soundgraph imon (15c2:ffdc)

Bug #1579760 reported by Jord Swart on 2016-05-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned
v4l-utils (Ubuntu)
Undecided
Unassigned

Bug Description

$ 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.
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: josw 1067 F.... kodi.bin
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=8e04b16f-858f-47e3-a693-18e5f068e95b
InstallationDate: Installed on 2014-08-24 (664 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
IwConfig: Error: [Errno 2] No such file or directory
Package: v4l-utils
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-24-generic root=UUID=5bfca808-2f63-4d92-90f6-724797c6b2dc ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-24-generic N/A
 linux-backports-modules-4.4.0-24-generic N/A
 linux-firmware 1.157
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-24-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-05-07 (41 days ago)
UserGroups: adm audio cdrom dip fuse lpadmin plugdev pulse sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 10/07/2011
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BLH6710H.86A.0132.2011.1007.1505
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DH67GD
dmi.board.vendor: Intel Corporation
dmi.board.version: AAG10206-205
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrBLH6710H.86A.0132.2011.1007.1505:bd10/07/2011:svn:pn:pvr:rvnIntelCorporation:rnDH67GD:rvrAAG10206-205:cvn:ct3:cvr:

Gregor Jasny (gjasny) wrote :

Which kernel version are you using?

You can copy the /lib/udev/rc_keymaps/imon_pad file to /etc/rc_keymaps/imon_pad and edit it as you need. So it won't get overwritten with the next package upgrade.

Jord Swart (kubuntu-s) wrote :

> Which kernel version are you using?

Linux shire 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

> You can copy the /lib/udev/rc_keymaps/imon_pad file to /etc/rc_keymaps/
> imon_pad and edit it as you need. So it won't get overwritten with the next
> package upgrade.

I already have that file in that location and I have made the changes, but they don't seem to be used. At least it is not using the RC-6.

The only thing fixing my double clicks is by forcing it to RC-6 with:
$ sudo echo RC-6 > /sys/class/rc/rc0/protocols

Gregor Jasny (gjasny) wrote :

As I don't vahe a good understanding of the rc subsystem I asked on linux-media what's going on here and according to Mauro the absence of rc6 seems to be a kernel bug:

https://<email address hidden>/msg98286.html

> That's said, from his report:
>
> $ sudo ir-keytable
> Found /sys/class/rc/rc0/ (/dev/input/event4) with:
> Driver imon, table rc-imon-pad
> Supported protocols: other
>
> It should be listing both "other" and "RC6" protocols there.
> It sounds a Kernel regression. I remember one Kernel patch once
> broke the list of protocols. Maybe the fix patch were not applied
> on Ubuntu, or maybe some other regression happened.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1579760

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected xenial
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Jord Swart (kubuntu-s) wrote :

Since this is an old bug: I confirm the issue is still there.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers