← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 779835] [NEW] mythbuntu-lircrc-generator generates duplicate keys for devinput

 

Public bug reported:

Binary package hint: mythbuntu-lirc-generator

In Natty 11.04 (possibly other versions affected as well), when
configuring lirc to use "Linux input layer (/dev/input/eventX)" it
updates /etc/lirc/hardware.conf to read the devinput/lircd.conf.devinput
file, which contains two remote setups, one normal, and one "legacy
32-bit".

Because there are two remote setups in there, when running mythbuntu-
lircrc-generator it parses the file and generates two duplicate sets of
controls in the lircrc output files. Every button press on the remote
control is then entered twice.

In the short term, can be manually resolved by editing either
lircd.conf.devinput or the generated lircrc files to remove duplicates.

Fix could be to have mythbuntu-lircrc-generator check that each key
hasn't already been defined when generating the lircrc output files.

** Affects: mythbuntu-lirc-generator (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythbuntu-lirc-generator in Ubuntu.
https://bugs.launchpad.net/bugs/779835

Title:
  mythbuntu-lircrc-generator generates duplicate keys for devinput

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

Bug description:
  Binary package hint: mythbuntu-lirc-generator

  In Natty 11.04 (possibly other versions affected as well), when
  configuring lirc to use "Linux input layer (/dev/input/eventX)" it
  updates /etc/lirc/hardware.conf to read the
  devinput/lircd.conf.devinput file, which contains two remote setups,
  one normal, and one "legacy 32-bit".

  Because there are two remote setups in there, when running mythbuntu-
  lircrc-generator it parses the file and generates two duplicate sets
  of controls in the lircrc output files. Every button press on the
  remote control is then entered twice.

  In the short term, can be manually resolved by editing either
  lircd.conf.devinput or the generated lircrc files to remove
  duplicates.

  Fix could be to have mythbuntu-lircrc-generator check that each key
  hasn't already been defined when generating the lircrc output files.


Follow ups

References