[mythtv-users] Using TV remote to control MythTV frontend on Raspberry, Pi

Barry Martin barry3martin at gmail.com
Wed Sep 20 16:27:01 UTC 2017

Hi Jeff!

Admittedly  I'm several days slow in replying -- usually I'm the one 
asking questions, not giving answers, but here goes (and looks like no 
one has answered).

>> When my (Samsung) TV starts, it sees the RPi connected via HDMI and
>> defaults to the basic HDMI input. I have to use the source button on the
>> remote to switch to the HDMI-CEC input so that the remote buttons are
>> passed to MythTV.
>> Therefore, it would be useful for MythTV to tell the TV to switch to
>> that input automatically. This seems to be possible from cec-client, so
>> I could probably add it to my frontend launch script, but if MythTV
>> could handle it, it would be more convenient.
> It seems I was not being patient enough. Either Myth is saying to the 
> TV something like "make me the input", or the TV is doing it 
> automatically after the frontend is fully up, but the input changes 
> between boot and frontend start. 

Check at https://www.mythtv.org/wiki/Raspberry_Pi#Raspbian the section 
entitled "Remote Control with CEC".   The section lists commands to 
enable/disable CEC, dependent on the remote and TV.  If you type 
'mythfrontend' (without the quotes) in Terminal you can see there is a 
pause when 'CECAdapter: asked TV to switch to this input' is loaded 
while starting Mythfrontend, plus when exit (back to the Desktop) can 
see it (CEC)  being closed down.

Frankly at this point it's all theoretical to me as I'm waiting for my 
IR detector to arrive.  Hopefully the link will give you some answers.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170920/882e1c65/attachment.html>

More information about the mythtv-users mailing list