Please have a look:
On rooted device, shell commands will work just fine, as for hdmi-cec it could be in your TV/monitor setting (if it supports it)