RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
599 stars 109 forks source link

I just switched to OpenPHT after using Plex Home Theater, and now I have no CEC input #207

Closed ndbroadbent closed 7 years ago

ndbroadbent commented 7 years ago

I installed OpenPHT 1.7.1 on lubuntu 16.04. I downloaded openpht_1.7.1.137-b604995c-xenial_amd64.deb.

lsb_release -a:

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:    16.04
Codename:   xenial

I have a PulseEight USB CEC adapter. This worked fine with Plex Home Theater, but now it's not working with OpenPHT.

I've tried installing various libcec versions, and libcec4. Both from the normal Ubuntu repos, and also the pulseeight ppa. But when I go to the settings, Peripherals is grayed out.

Which libcec should I be using?

(I'm running the latest PMS (1.4.2.3400), although that shouldn't matter.)

ndbroadbent commented 7 years ago

I figured it out! This was in my logs:

00:50:29 T:139698611865792   ERROR: Unable to load libcec.so.3.0.1, reason: libcec.so.3.0.1: cannot open shared object file: No such file or directory
00:50:29 T:139698611865792   ERROR: Initialise - failed to initialise bus cec

Then I found this blog post, and a helpful comment at the bottom:

sudo apt-get install --reinstall libcec3=3.0.3~xenial

I ran that, and now everything is working!