我正在尝试在没有Pulse-Eight USB-CEC适配器的Fedora上使用libcec-2.1.4进行CEC。我按README构建源代码,但cec-client似乎需要USB-CE适配器。
root## echo "standby 0" | cec-client -s
WARNING: [ 0] libCEC has not been compiled with detection code for the Pulse-Eight USB-CEC Adapter, so the path to the COM port has to be provided to libCEC if this adapter is being used
root# echo h | cec-client -s d 1
opening a connection to the CEC adapter...
DEBUG: [ 1] unregistering all CEC clients
DEBUG: [ 2] Broadcast (F): osd name set to 'Broadcast'
ERROR: [ 3507] error opening serial port '1': No such file or directory
ERROR: [ 3508] could not open a connection (try 1)
ERROR: [ 6343] error opening serial port '1': No such file or directory
ERROR: [ 6343] could not open a connection (try 2)
ERROR: [ 8233] error opening serial port '1': No such file or directory
ERROR: [ 8233] could not open a connection (try 3)
ERROR: [ 9492] error opening serial port '1': No such file or directory
ERROR: [ 9492] could not open a connection (try 4)
NOTICE: [ 10498] connection opened
ERROR: [ 10498] could not start CEC communications
unable to open the device on port 1
我还在Raspberry Pi上构建了源代码,即使没有CEC适配器,它也能成功地进行电视开/关/ HDMI输入更改等。所以我相信有一种方法可以让它在Fedora盒子上工作,但现在还没有用。如果您有任何guid配置构建源,请告诉我。将有一些配置选项作为覆盆子的构建。 或者如果你知道HDMI CEC的其他开源,请告诉我。
感谢