'Device or redource busy' when trying to access CEC [solved]
#1
I got myself an internal CEC from Pulse Eight for my Nuc.
Installed OS is 15.04 with all updates.

When not starting Kodi (15.1 is installed) I can access CEC-information using cec-client (TV is correctly listed ...).
When starting Kodi I get the following statements in the Kodi-Log-File and Kodi reports that it failed to initialize the CEC :

CecLogMessage - could not open a connection (try 1)
01:20:19 T:140479637448448 ERROR: CecLogMessage - error opening serial port '/dev/ttyACM0': Device or resource busy

Has anybody encountered such a behavior?

Thx,
Jochen
Reply
#2
make sure the user running kodi has the correct usergroups.
IIRC dialout is needed on ubuntu, other distros might use another group.
Reply
#3
That was the first thing I did. After adding my user to the correct groups I was able to use crc-client with the same user under which kodi is running (that's why I mentioned things are working with crc-client in my first post. Sorry for lack of details).
I am using crc-client with the same user under which kodi is running.
Reply
#4
This took a while but I found the problem.
I am using ubuntu-desktop to start Kodi.
When starting Kodi as its own Window Manager the modemmanager gets also started.
This is a default service and has to be manually disabled, otherwise it grabs control over the cec-adapter and blocks others from using it.
This is what I did:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
Reply

Logout Mark Read Team Forum Stats Members Help
'Device or redource busy' when trying to access CEC [solved]0