← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 587654] Re: mythbuntu-lirc-generator generates duplicate keys for iMon PAD

 

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.

-- 
mythbuntu-lirc-generator generates duplicate keys for iMon PAD
https://bugs.launchpad.net/bugs/587654
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythbuntu-lirc-generator in ubuntu.

Status in “mythbuntu-lirc-generator” package in Ubuntu: New

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





References