Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
721 stars 290 forks source link

Cant get this to work on Linux Mint #662

Closed Asdf1qaz closed 2 months ago

Asdf1qaz commented 2 months ago

Kind of a noob to code etc, but I have tried to install this and cant get Kodi to recognise the CEC adapter on Linux Mint. I have done:

To install P8:

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

And then to install LibreCEC:

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

I dont think I got any errors or anything, but Kodi still wont recognise it and on boot, is coming up with:

Couldn't initialise the CEC adapter. Please check your settings.

What settings do I need to change? Is there anything else that I need to do? I did see "https://github.com/Pulse-Eight/libcec/blob/master/docs/README.debian.md" But im not sure what to do with that? When/where do I need to run these? I cant find anything, but is there something that I need to do within Kodi to set it up? Do I need to enable a service to boot it?

For such an expensive little box, I was expecting the instructions to be a bit clearer to an average pleb

malard commented 2 months ago

it's natively supported in Kodi, so use a standard package rather than building it yourself. "average citizen (pleb)" should not be trying to make all their own software and just use an off the shelf package

Cheers!

Asdf1qaz commented 2 months ago

Where can I find the package? I cant find anything for it in the add on browser?

Asdf1qaz commented 2 months ago

Also, maybe you could add a sentence or two to the info page stating that, as without you telling me that directly, how was I meant to know?

malard commented 2 months ago

It's natively built into kodi. You don't need any packages, did you manually compile Kodi or just install it via a package manager?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Asdf1qaz @.> Sent: Tuesday, September 10, 2024 5:13:13 AM To: Pulse-Eight/libcec @.> Cc: Martin Ellis @.>; State change @.> Subject: Re: [Pulse-Eight/libcec] Cant get this to work on Linux Mint (Issue #662)

Also, maybe you could add a sentence or two to the info page stating that, as without you telling me that directly, how was I meant to know?

— Reply to this email directly, view it on GitHubhttps://github.com/Pulse-Eight/libcec/issues/662#issuecomment-2339571399, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEFI5YFS7BOYSX7ZX7KQMTZVZWVTAVCNFSM6AAAAABN3PAK7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZGU3TCMZZHE. You are receiving this because you modified the open/close state.Message ID: @.***>