mythbuntu-lirc-generator generates duplicate keys for iMon PAD

Bug #587654 reported by Nigel Hathaway
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythbuntu-lirc-generator (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mythbuntu-lirc-generator

The symptoms of this are that in mythtv (and the other apps as well most likely) pressing certain keys on the remote cause 2 or more keypresses to be sent to the application. This is most noticeable on Enter and Escape, for example.

The keymaps in ~/.lirc/ are autogenerated by mythbuntu-lirc-generator (or by its cousin mythbuntu-lircrc-generator) and in there are multiple entries for the same button on the remote.

What is happening, is that this script is parsing /usr/share/lirc/remotes/imon/lircd.conf.imon-pad and in there are multiple codes assigned to the same button. There is nothing wrong with that. There are several variants of this remote which transmit different codes for various buttons. For example, there are 3 (or more) possible codes for the Enter key, and one of them will get sent depending on which remote you have. They all need to be there so all variants of the remote are covered.

Unfortunately, the mythbuntu-lirc-generator is not clever enough to handle this situation, and doesn't realise the multiple Enter entries, for example, are all the same key, and so generates 3 (or more) entries for Enter, which results in the Enter button sending 3 (or more) Enter keystrokes to mythtv.

One other minor related buglet:

Towards the end of /usr/share/lirc/remotes/imon/lircd.conf.imon-pad it comments out some alternate DVD and Menu button entries claiming that they are key-up codes. This is not true, and those need to be uncommented. They are keypresses on my remote, which I bought a month or so ago.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mythbuntu-lirc-generator 0.24-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun May 30 21:44:29 2010
InstallationMedia: Mythbuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: mythbuntu-lirc-generator

Revision history for this message
Nigel Hathaway (nhathaway) wrote :
Revision history for this message
Nigel Hathaway (nhathaway) wrote :

BTW: my work-around was to comment out the extra entries in /usr/share/lirc/remotes/imon/lircd.conf.imon-pad so that each key is mentioned only once. That prevents the duplicates for me for the time being (obviously not a permanent solution). That's why Dependencies.txt attached here shows that file modified.

ARULARASU (arularasug)
Changed in mythbuntu-lirc-generator (Ubuntu):
status: New → Fix Released
Revision history for this message
Mario Limonciello (superm1) wrote :

Please don't close unfixed bugs.

Changed in mythbuntu-lirc-generator (Ubuntu):
status: Fix Released → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.