Changes
/* CEC - TV Screen control through HDMI */
$ ./configure --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi
$ make
$ sudo make install
</pre>
Switch the TV screen on:
<pre>
$ echo 'on 0' | /usr/local/bin/cec-client -s
</pre>
Switch the TV screen off:
<pre>
$ echo 'standby 0' | /usr/local/bin/cec-client -s
</pre>