[mythtv-users] Struggling with Lirc

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Apr 25 15:30:44 UTC 2015


On Sat, 25 Apr 2015 16:28:03 +0200, you wrote:

>I'm having some problem to get MythTV work with LIRC again after a upgrade
>to Ubuntu 14.04.
>
>irw is working, f.ex. gives me:
>000000008001016d 01 KEY_EPG devinput
>0000000080010067 00 KEY_UP devinput
>0000000080010181 00 KEY_RADIO devinput
>0000000080010069 00 KEY_LEFT devinput
>000000008001006a 00 KEY_RIGHT devinput
>00000000800100ae 00 KEY_EXIT devinput
>000000008001006c 00 KEY_DOWN devinput
>000000008001008b 00 KEY_MENU devinput
>0000000080010073 00 KEY_VOLUMEUP devinput
>0000000080010072 00 KEY_VOLUMEDOWN devinput
>000000008001019c 00 KEY_PREVIOUS devinput
>0000000080010071 00 KEY_MUTE devinput
>0000000080010192 00 KEY_CHANNELUP devinput
>0000000080010193 00 KEY_CHANNELDOWN devinput
>
>In the frontend log i see this:
>LIRC: Successfully initialized '/var/run/lirc/lircd' using
>'/home/stefan/.mythtv/lircrc' config
>
>Part of my lircrc file in .mythtv (which is a link to .lirc/mythtv) looks
>like this:
>begin
>prog = mythtv
>button = KEY_UP
>config = Up
>end
>
>begin
>prog = mythtv
>button = KEY_DOWN
>config = Down
>end
>
>begin
>prog = mythtv
>button = KEY_LEFT
>config = Left
>end
>
>begin
>prog = mythtv
>button = KEY_RIGHT
>config = Right
>end
>
>So i don't understand why it wont work? The frontend says that the
>initialization is successful. The keynames from irw is the same as the
>keynames in lircrc file. Shouldn't that be enough?
>
>Either i should never make a Ubuntu upgrade again, or i should make it more
>often so i don't forget things =) Everything worked perfect before the
>upgrade.
>
>Any help appreciated.
>
>/Stefan

There were big changes in lirc between 12.04 and 14.04.  A lot of the
drivers went into the kernel, so now things do work differently for
many IR remotes.  What remote and IR receiver are you using?

The obvious difference I can see between your .lirc/mythtv file and
mine is that I have a line saying "remote = devinput" in each entry. I
am not sure it is necessary, but I would suggest trying it.


More information about the mythtv-users mailing list