[mythtv] Ticket #12746: CEC Fixes and raspberry Pi support

Peter Bennett pgbennett at comcast.net
Tue Apr 26 17:01:52 UTC 2016

On 04/25/2016 10:36 PM, MythTV wrote:
> #12746: CEC Fixes and raspberry Pi support
> -----------------------------------------+--------------------------
>  Reporter:  Peter Bennett <pgbennett@…>  |          Owner:  wagnerrp
>      Type:  Patch - Bug Fix              |         Status:  new
>  Priority:  minor                        |      Milestone:  0.28.1
> Component:  MythTV - libCEC              |        Version:  0.28.0
>  Severity:  medium                       |     Resolution:
>  Keywords:                               |  Ticket locked:  0
> -----------------------------------------+--------------------------
> Comment (by knight):
>  Hi Peter!
>  I tried it with my Pulse-Eight CEC adapter...
>  As I said on IRC it makes things better and it no longer hangs when I exit
>  the frontend.
>  As far as being able to use my TV remote it is not possible right now,
>  only a few keys are currently recognized by MythTV (left, right and exit
>  IIRC), If I use their provided cec-client I see that a lot more keys could
>  be processed (up, down, OK, red button, green button, yellow button, blue
>  button, forward, backward, stop, play, pause).
>  My TV, a LG 60LM7200 IIRC, thinks that MythTV is a BD-R player in it's
>  SimpLink (LG name for CEC) memu...
>  Thank you and have a nice day!
>  Nicolas
> --
> Ticket URL: <https://code.mythtv.org/trac/ticket/12746#comment:1>
> MythTV <http://www.mythtv.org>
> MythTV Media Center
Hi Nicolas

Thanks for the reply and for testing it.

You should be able to use all of the buttons that the TV is sending. If
you go into frontend->Setup->Edit Keys, then navigate to a function, go
to add a keystroke, then when it asks for you to press a key, press the
key on the remote and it will assign the key to that function. This
should work with every key that is passed, you can assign the red green
blue buttons and others to commands as needed. Let me know if this
works. If not I will try to fix it. I can make every signal do something
in MythTV if I know what signals are being sent.

If you run the cec-client also you can see if some buttons are reported
as commands instead of keystrokes. I added code to recognize the "Menu"
button on my TV because I saw with the cec-client it was sent as a
command not a keystroke.


More information about the mythtv-dev mailing list