tvservice -s outputs and states
I was wondering whether there was any documentation or source code surrounding the tvservice (HDMI status) utility. I am attempting to decode the states that it returns when the TV is off, standby, on, ... I have tested on 2 TV's so far and get a number of codes:
Not initialized and HDMI cable is disconnected (booting without a cable)
Not initialized but HDMI cable is connected (plugged in after boot)
Standby (when RPi turns off the HDMI channel using tvservice -o)
Wire disconnected (after initialization)
Active (meaning the Pi is on the active TV input right now)
A Vizio TV when using tvservice -o and then tvservice -p commands will eventually show:
0x12001a - Active?
and then switch to 0x12000a - Inactive? when I change the input on the TV but does not report when it turns active again.
Can anyone help me and see what their TV reports in different states using the tvservice utility (execute tvservice -s everytime you change a state should be in the path, if not, /opt/vc/bin)