[mythtv-users] Problems with Hauppauge remote and ir-kbd-i2c

Stephen Worthington stephen_agent at jsw.gen.nz
Tue Jul 5 04:30:47 UTC 2016


On Mon, 4 Jul 2016 18:37:41 -0400 (EDT), you wrote:

>I used to have my remote working properly (it's connected to a PVR-250),
>several years ago.  I upgraded my system and it stopped working.  For the past
>few years I just gave up and have been using my keyboard to control MythTV,
>but I want to get my remote working again.  I had been using lirc_i2c but of
>course we have to migrate to ir-kbd-i2c, and I gave up after messing with it
>for a while.
>
>I just set up a new system, installed Fedora 24 on it.  Everything is working
>fine.  I have my old hauppauge_grey rc_keytable.
>
>I've done ir-keytable -c -w /etc/rc_keymaps/hauppauge_grey -d
>/dev/input/event17
>
>I've verified that the right keymaps are there with -r
>
>When I go into Myth, SOME of the keys are working properly.  I've got the
>left, right, up and down arrows working fine.  However, for example, the red
>button is linked to KEY_D, so I can delete shows with it.  However, clicking
>that does nothing.
>
>If I run ir-keytable -t I can see that it's producing the right keypress. 
>Myth just isn't seeing it for some reason.
>
>Any ideas?

I don't know anything about how the PVR-250 does its remote, but your
description of it just stopping working after an upgrade and how it is
working now with just a few keys are the normal symptoms of remotes
whose drivers have been moved out of lirc into the kernel.  So you
probably now need to be using the kernel driver (devinput) in some
way, and configuring lirc to use that.  I have the setup for my mceusb
and Hauppauge HVR-900r2 and Hauppauge Nova-TD 500 remotes available
for download from my web server.  That might give you some ideas.
There is a README with some help configuring things:

http://www.jsw.gen.nz/mythtv/mythbuntu-devinput-lirc.bz2

As your remote is a Hauppauge one also, you might just get lucky and
have my config largely match what is needed for your remote.

The keys that you are currently seeing working are likely just what
the remote is putting out as keyboard keystrokes that happen to match
what MythTV is expecting.  It is pretty much what I got after my
upgrade where the kernel driver took over.  Lirc is not doing anything
with the remote at all, and just the default mapping of remote keys to
keyboard keystrokes will be working.  If so, the you should find that
the remote will also work inside a terminal, not just in MythTV.  So
try opening an xterm and doing a couple of commands (eg ll, ifconfig),
then use the up arrow key on the remote and it should go back to a
previous command just as though the keyboard up arrow had been
pressed.  You will probably find that the remote key corresponding to
the keyboard Enter key will also work.  If that is what is happening,
then it is virtually certain that my diagnosis of your problem is
correct.


More information about the mythtv-users mailing list