[mythtv-users] IRKEYTABLE Problems

Tom Dexter digitalaudiorock at gmail.com
Wed Jan 10 07:15:12 UTC 2018


On Tue, Jan 9, 2018 at 5:16 PM, John Marshall <mythtv at marshallparty.org> wrote:
> On 1/8/2018 9:05 PM, Jack McGee wrote:
>>
> I had similar issues with my StreamZap remote after upgrading to 16.04
> recently.  ir-keytable testing indicated that the --write was taking effect,
> but it never worked in Myth.  It turns out X/Myth wouldn't notice the
> changes until a reboot, but on reboot it reverts back to the default
> mappings, so catch-22.
>

I'm pretty sure that it's not so much an actual reboot as apposed to
the keytable settings in effect when X starts. So some of this may
depend on how you actually start mythtv. On my gentoo frontend I have
mythtv starting automatically at boot using a line like this in
/etc/inittab:

c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8

The mythtv user in my case is set to start fluxbox and mythfrontend in
it's ~/.xinitrc file. The respawn there means that exiting the
frontend actually restarts X. Any ir-keytable changes I make as root
get recognized by the frontend as long as I simply do that. As a
matter of fact, I was able to test using a new iguanair USB receiver
in place of my existing serial receiver by doing that just
yesterday...all without rebooting.

I have  script that loads the proper keytable and sets the correct
protocol that's run at boot from a file I added at
/etc/local.d/ir-keytable.start.

So long story short, I believe X is recognizing it as a keyboard with
it's current settings when X is started.

Tom


More information about the mythtv-users mailing list