Kodi Community Forum

Full Version: how to install Pulse Eight usb CEC adapter for ubuntu 18?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my USB CEC adapter is not working.

i followed the guide as seen here: https://github.com/Pulse-Eight/libcec/bl...E.linux.md

and these are all the commands i used. did i miss something? please help:
https://github.com/Pulse-Eight/libcec/bl...E.linux.md


sudo apt-get update
sudo apt-get install cmake build-essential
sudo git clone https://github.com/Pulse-Eight/platform.git
sudo mkdir platform/build
cd platform/build
sudo cmake ..
sudo make -j4
sudo make install
sudo ldconfig

sudo apt-get update
sudo apt-get install cmake libudev-dev libxrandr-dev python-dev swig
sudo git clone https://github.com/Pulse-Eight/libcec.git
sudo mkdir libcec/build
cd libcec/build
sudo cmake ..
sudo make -j4
sudo make install
sudo ldconfig

ln -s /usr/local/lib/python3.6/dist-packages/cec.py /home/tung/homeassistant/lib/python3.6/site-packages
 
ln -s /usr/local/lib/python3.6/dist-packages/_cec.so /home/tung/homeassistant/lib/python3.6/site-packages
error:  No device type given. Using 'recording device'
CEC Parser created - libCEC version 4.0.4
no serial port given. trying autodetect: FAILED
WARNING: [               1]     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

looks like some others have same error but i have not seen the solution Sad
never mind. looks like the usb-cec adapter has to be plugged in while doing all those commands above!
now everything works fine.