0

我正在尝试在没有 Pulse-Eight USB-CEC 适配器的 Fedora 上使用 libcec-2.1.4 进行 CEC。我根据自述文件构建源代码,但 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 box 上工作,但现在不能工作。如果您有任何用于配置构建源的指南,请告诉我。会有一些配置选项作为覆盆子的构建。或者,如果您知道 HDMI CEC 的其他开源代码,请告诉我。

谢谢

4

0 回答 0