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

Jerome Yuzyk jerome at supernet.ab.ca
Fri Sep 4 22:43:46 UTC 2015


On Thursday, August 13, 2015 01:52:47 PM Jerome Yuzyk 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 ...

A couple weeks later, like but no love...


I have read results from just about every Google search I can think of. 5 years worth of posts that lead down dead-ends, multiple reboots and daemon reloads. Distros and apps that use different config files. lirc maintainers that got too busy and got replaced so things changed more.

Here's the state of things now:

irw has never at any time, when it hasn't returned "Connection refused", anything except a few keys and has never output any of the output it's supposed to.

mode2 returns immediately - does nothing.

ir-keytable works fine when devinput isn't disabled somehow. But I get returns like:

    1441402297.597499: event type EV_KEY(0x01) key_up: KEY_UP(0x0001)

with the same (code) for every key, unlike every other example I've seen.

A udev rule to disable kernel devinput so lirc can get everything doesn't seem to matter.

An X config rule to stop X from seeing the remote as a keyboard makes no remote keypresses seen by ir-keytables, irw, lirc or anything.

The power button doesn't have any response.


I have an rc6 remote from my PVR-500 - what the heck to do? rc6 remotes are so common.

The only thing that seems to work is to make a custom /etc/rc_keymaps/rc6_mce to make sure the scancodes from the remote map (e.g.,0x800f0412) to keycodes that X can see (e.g., KEY_PAGEUP, not KEY_CHANNELUP). Then match some of those to my ~mythtv/.mythtv/lircrc. I've done that for a few keys but there has to be a better way. And, this still leaves keypresses sent to everything that might be listening because they simulate keyboard keys. What a schmoz!

How do I properly disable my remote from acting as a keyboard and do everything with lirc on a per-application basis like ye olden tymes?

I'm sure at this point that it's something simple that's going to make me look like an idiot when it's solved but I've burned a lot of hours and all that seems to work is to edit my rc6_mce keymap to make any difference. Is that the way to go now?

Is there a (recent) Fedora user with an MCE remote that can send me what actually works for them?

The last step on my 0.21->0.27 migration and it's been the most elusive. Even migrating my DB wasn't this much work.


-- 
A little of Jerome's MythTV World: http://mythtv.bss.ab.ca


More information about the mythtv-users mailing list