[mythtv-users] Problems after upgrading frontend from Mythbuntu 12.04 to 14.04
Hika van den Hoven
hikavdh at gmail.com
Fri Dec 4 02:24:15 UTC 2015
Hoi Phill,
Friday, December 4, 2015, 2:31:50 AM, you wrote:
>>
>> Right, so now you need to set up lirc to use the devinput driver, as
>> in my setup. Look at the files that go in /etc/lirc (hardware.conf,
>> lircd.conf). The key thing is to set the REMOTE_DRIVER="devinput"
>> option in hardware.conf, but there are other options in those files
>> that you also need, so just copy them (keeping copies of your original
>> ones) and tweak the things that are different in your setup, like the
>> lirc device name (REMOTE_DEVICE). That might be the only setting you
>> need to adjust.
>>
> OK, I've done that. Here's the remote section of my /etc/lircd.conf:
> REMOTE="Windows Media Center Transceivers/Remotes (all)"
> REMOTE_MODULES=""
> REMOTE_DRIVER="devinput"
> REMOTE_DEVICE="/dev/lirc0"
> REMOTE_SOCKET=""
> REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
> REMOTE_LIRCD_ARGS=""
>>4) When I start mythfrontend I get no response to button presses on the
>> >remote.
>>
>> You also need to look in my README for the later configurations that
>> need doing, in the lircrc files (/home/<mythfrontenduser>/.lirc/mythtv
>> and any others such as mplayer if you use that). And beyond that, the
>> config of the hotkeys in mythfrontend needs to match what is in the
>> lircrc file. If you use your existing mythtv file as a starting
>> point, you may not need to change any of the mythfrontend hotkey
>> settings.
>>
> Here's an extract of /home/phill/.lirc/mythtv:
> begin
> remote = devinput
> prog = mythtv
> button = KEY_PAUSE
> config = P
> repeat = 0
> delay = 0
> end
> begin
> remote = devinput
> prog = mythtv
> button = KEY_RECORD
> config = R
> repeat = 0
> delay = 0
> end
> begin
> remote = devinput
> prog = mythtv
> button = KEY_PLAY
> config = P
> repeat = 0
> delay = 0
> end
> When I run ircat mythtv I still get no response on the screen.
> Also, I've noticed that when I run irw I get different KEY codes from when
> I run sudo ir-keytable -t -s rc0. For example one button returns KEY-AGAIN
> in irw, but the same button returns KEY-PREVIOUS in ir-keytable. Is that to
> be expected, or does it indicate that I've done something wrong?
I guess that the one comes through the keyboard emulation by the
kernel and the other through lirc. There is some value in /proc you
have to set to choose between the two. I forgot where, but I'm sure
someone can point this out.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list