[mythtv-users] MCE remote after 0.21 -> 0.27 upgrade

John P Poet jppoet at gmail.com
Thu Aug 13 20:42:40 UTC 2015


On Thu, Aug 13, 2015 at 1:52 PM, Jerome Yuzyk <jerome at supernet.ab.ca> wrote:

> On Thursday, August 13, 2015 12:44:35 AM Jerome Yuzyk wrote:
> > [0.27-4 on Fedora 22]
> >
> > Well that wasn't so bad... But I am stumped on my MCE USB remote. Only
> the arrow keys seem to work. OK doesn't do anything. The green menu button
> pops up an XFCE error dialog "Failed to launch shortcut 'XF86AudioMedia'".
> >
> > I tried following the MCE_Remote wiki - it seems that I don't need lircd
> anymore, but following the HID_Remotes page doesn't get me any further.
> >
> > XFCE seems to be getting in the way, but I can't figure out how.
>
> ... the morning after, still no love ...
>
> I got XFCE out of the way by removing various XG86 shortcuts it defined,
> but still nothing but up/down/left/right and volume buttons seems to work.
> I've read a pile of instructions and advice, sometimes conflicting but my
> remote seems to work pretty much as before sans the XH86 stuff.
> "ir-keytable -t" shows me the right key events, even for keys MythFrontend
> won't recognize. I have the mceusb driver loaded by the kernel. I've
> enabled and configured and disabled lirc.
>
> Two points that make me think something, perhaps X, is not passing most
> codes through:
>
>   = ir-keytable shows some escape-codes (e.g., "^[[A") before showing the
>     event data.
>
>   = playing back a recording starts at volume level 2 and though the volume
>     keys make the volume meter change, the volume doesn't.
>
> Now I think I've just gotten spun-around by it all and there's a "Duh"
> moment awaiting me. What could I be missing? Do I really need to use lirc
> after all? Disable X (or something else like the kernel driver) from
> getting in the way? Something that XFCE is doing that my old FluxBox setup
> wasn't?
>

I struggled with lirc a bit when I first upgraded to Fedora 22.   I don't
know if my solution is the 'correct' way, but this is what I did to get it
working:

Install lirc:
# dnf install lirc lirc-config

Add the attached 60-lirc.rules file to /etc/udev/rules.d.

Adjust /etc/lirc/lirc_options.conf to look like attached lirc_options.conf
file.

Add the attached devinput.conf to etc/lirc/lircd.conf.d/

Enable the daemon:
$ sudo systemctl enable lircd.service

For me, the biggest trick was getting my remote to show up in a reliable
way in /dev.  In the past I had used the 'name' for the device in the
config (e.g. LIRC_DEVICE="name=Media\ Center\ Ed.\ eHome\ Infrared\ Remote\
Transceiver*"), but that does not seem to work any more, so I went with a
udev rule.

I hope this helps until someone pipes up and tells us the 'correct' way to
do this.


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150813/4bef592d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lirc.conf.tar.gz
Type: application/x-gzip
Size: 4944 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150813/4bef592d/attachment.bin>


More information about the mythtv-users mailing list