[mythtv-users] mceusb as an input device

Jarod Wilson jarod at wilsonet.com
Fri Mar 11 18:00:24 UTC 2011


On Mar 10, 2011, at 11:00 PM, Harry Orenstein wrote:

> On Wednesday, March 09, 2011 01:50:52 pm Jarod Wilson wrote:
>>>> 
>>>> The remote seems to really be a TiVo remote.  It even has the key with
>>>> the little TiVo guy and the thumb keys.
>>> 
>>> Okay, good to know. Where did you get that kit from? I might be
>>> interested in picking one up myself (or just getting a TiVo
>>> remote somewhere) so we can have that bundle Just Work(tm) out of
>>> the box too.
>> 
> Sorry, somehow I overlooked your email from yesterday, or I would have 
> responded sooner.
> 
>> Never mind, found it via Amazon for $50 for the entire bundle,
>> including the remote, transceiver, a Hauppauge HVR-950Q and the
>> TiVo software. I have no actual *use* for any of it, beyond the
>> fun of making it work, but I went ahead and ordered it. Not a
>> bad deal for everything you get. Looks like its just a modified
>> NEC protocol (probably doing something similar to what Apple
>> does with their modified NEC proto), so adding proper support
>> shouldn't be terribly hard.
> 
> I had the same idea and did some research.  It IS a modified NEC protocol and I 
> used the existing NEC decoder to get two keys working (Page Down and 8) using 
> the dib0700_nec keymap, I think.  I actually paid a bit less for mine, but 
> thanks for going the extra mile (parsec, really).

What can I say, I'm a sucker for new toys... Sadly, I forgot that I was
going to be working from home today when I placed the order, and its being
delivered to the office (probably sitting on my desk by now), but I should
be able to poke at it next week. I don't anticipate this being too bad to
get properly sorted out.


> I also figured out how to use the key editor in Myth, so I answered my other 
> question about setting up key codes.  In the past I just set up LIRC to send 
> the default characters for the required Myth functionality, but using ir-
> keytable I have to use key codes, so characters like ">" are not possible.

">" == "KEY_DOT + KEY_LEFTSHIFT" (or RIGHTSHIFT), if I'm thinking clearly.
Don't think ir-keytable can push combos though, so you're correct.


> I do still have a question about what is normal.  Did you set up Myth to 
> accept the default MCE key codes for the corresponding functions or did you 
> reconfigure the MCE remote with ir-keytable to send other key codes?

My solution was to use lircd in devinput mode and map the keys as needed
in my lircrc.

At the moment though, I'm not actually using *any* IR receivers, I'm using
a TiVo Slide bluetooth remote. :)


> In my 
> testing it seemed that some key codes cannot be read in the Myth key editor.  
> I think I tried setting the 0 key of my remote to KEY_NUMERIC_0 and the key 
> editor could not read it.

That's the part I mentioned earlier about X sucking and not passing keycodes
over 255. KEY_NUMERIC_0 == 0x200 == 512.

-- 
Jarod Wilson
jarod at wilsonet.com





More information about the mythtv-users mailing list