Public bug reported: The file /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb contains a section reading:
#seen on HP Pavilion dv3t remote --Tim Mann, 3 Nov 2009 Media 0x00007b7f PlayPause 0x00007b91 I have a Compro VideoMate K300 remote, and I can't find a key corresponding to Media, but it does have a Play/Pause key generating the same code as above (0x7b91). However, using it with Kodi, for example, it does nothing useful, because Kodi does not recognise the "PlayPause" code. I suggest that for Kodi, XMBC & similar programs it's probably more useful to change the code output to KEY_PLAY. (I tried KEY_PLAYPAUSE, which is also mentioned in Kodi's Lircmap.xml, but that did not work in Kodi: nothing happened when I pressed the key.) With KEY_PLAY, the key works as expected: it plays or pauses the music. The change is to change "PlayPause" in the above line to "KEY_PLAY". Arguably, the correct fix is to change the keycode to "KEY_PLAYPAUSE", and then make Kodi correctly respond to "KEY_PLAYPAUSE". I attempted to do this by editing Kodi's Lircmap.xml, but failed. I looked at upstream lirc, but that has completely changed the organisation of remote config files since 0.9.0, so it seems most appropriate to make a fix in Ubuntu (and possibly Debian). ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: lirc 0.9.0-0ubuntu6 ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15 Uname: Linux 4.4.0-34-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: GNOME Date: Wed Sep 14 14:00:37 2016 InstallationDate: Installed on 2014-11-26 (658 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) SourcePackage: lirc UpgradeStatus: Upgraded to xenial on 2016-07-25 (50 days ago) mtime.conffile..etc.lirc.hardware.conf: 2016-09-14T12:27:53.394843 mtime.conffile..etc.lirc.lircd.conf: 2016-09-14T13:55:14.416867 ** Affects: lirc (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1623512 Title: Fix for Play/Pause key on some MCE remotes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1623512/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs