Improve CEC driver to support libCEC