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

Mike Perkins mikep at randomtraveller.org.uk
Sat Sep 5 09:58:43 UTC 2015


On 04/09/15 23:43, Jerome Yuzyk wrote:
> 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.
>
>
I think you have a similar problem to me, although mine was slightly complicated 
by the use of the iguanaIR dongle.

Fortunately, I once used some PVR-250's to capture video and so had a genuine 
Hauppauge remote sitting on the shelf. I changed the lircd.conf to a Hauppauge 
one, restarted lirc and bingo! All the keys come out exactly as they are 
specified in the hauppauge .conf file.

This proved to me that my dongle -> lirc hardware-software chain worked as 
designed. It also proved that the alleged "Vista MCE remote" and dongle I had 
were nothing of the sort.

Testing the "MCE" remote, using the now-proven iguanaIR dongle and the "mceusb" 
.conf file, produced NOTHING, which I'm guessing is what you get. Using 
irrecord, the program verifies that this is, indeed, an RC6 remote but the codes 
are definitely NOT related to those in the mceusb .conf file.

If you can, try and find a known remote and dongle to test your system with. 
Perhaps the one that comes with your TV. Use irrecord to find out what codes it 
uses. Doing this may help eliminate particular parts of the chain so that you 
can concentrate on the rest.

-- 

Mike Perkins



More information about the mythtv-users mailing list