Page 1 of 1

TV is ON?

Posted: Tue May 14, 2013 1:30 pm
by okieng
Hi,
I already load libcec-rpi driver.
My PI connected samsung TV via HDMI. I want to check TV 's power status. TV is ON or OFF.
Can i do with libcec command?

Anyone have any idea?

Thanks

Oki

Re: TV is ON?

Posted: Tue May 14, 2013 1:35 pm
by richardp
yes you can.. but its riddled with problems..

1) You TV should support CEC
2) Some TV's shut down the HDMI port then its not selected on the TV (HDMI1, HDMI2) - In that case you get the HDMI disconnect.
3) Some TV's shut down the HDMI logic in Standby

Richard

Re: TV is ON?

Posted: Tue May 14, 2013 8:43 pm
by okieng
Thanks RichardP

Yes my TV is support CEC. I am wondering try it. Do you know what code to check TV/HDMI on or off?