[mythtv-users] first remote button press is ignored

Joey Morris rjmorris.list at zoho.com
Wed Jan 24 02:02:01 UTC 2018


Alec Leamas <leamas.alec at gmail.com> wrote on Tue, Jan 23, 2018 at 10:01:22PM +0100:
> 
> 
> On 23/01/18 18:11, Greg Oliver wrote:
> > I do not know were
> > to go since irw does the right thing.  Maybe there is another lirc
> > config file somewhere that is being missed?
> 
> Well, if irw is OK your next stop should be ircat(1). That should reveal
> the events delivered to the app after processing .lircrc.

Thanks everyone for helping think through this problem. I don't think there is
another lirc config file in the mix, but I'll check.

I tried a couple of experiments. In the first experiment, I wanted to see if the
first button press after playback would be detected by irw.

1. I started playing a recording.
2. Using the keyboard, I used Alt+Tab to a switch to a terminal.
3. I ran `irw`.
4. I pressed a remote button.
5. The button press was detected by irw.

I think this result rules out the theory that mythfrontend does something to put
the USB device to sleep when playing a recording. irw sees the event, but for
some reason mythtv doesn't.

In the second experiment, I wanted to see what ircat reports.

1. In a terminal, I ran `ircat mythtv`.
2. I switched back to mythfrontend.
3. I used the keyboard to play a recording.
4. I pressed the following buttons in sequence:
   - Info (ignored by mythfrontend)
   - Info (displays info popup)
   - Exit (dismisses info popup)
   - Exit (displays exit confirmation prompt)
   - OK (exits playback)
5. I switched back to the terminal. ircat displayed the following:
   - I
   - I
   - Esc
   - Esc
   - Return

So ircat displayed every button I pressed, even the first one that was ignored
by mythfrontend.



More information about the mythtv-users mailing list