I have not been able to get cec-ctl to see messages ... but I suspect
this is me rather than it.
So I decided to try a different route and use cec-client (from Pulse8)
on top of the kernel CEC support.

I probably need to build it on pCP but have not done that yet (not even
sure if it is possible).
I built in on a different RPi running Raspbian with the idea of copying
it over to the pCP box ... and in doing so I went through a couple of
iterations turning things off.
But not successful yet.

I followed the instructions at
https://github.com/Pulse-Eight/libcec/blob/master/docs/README.raspberrypi.md
with one line changed
from
cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib ..
to
cmake -DHAVE_CURSES_API=0 -DHAVE_CURSES_TINFO=0 -DHAVE_LINUX_API=1
-DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib ..

I turned off the ncurses parts because pCP has ncursesw but cec-client
looks for ncurses (the "w" is "wide" for Unicode) and I could not work
out how to patch it.
The HAVE_LINUX_API=1 is what turns on the ability in cec-client to use
the Linux kernel API.

Having copied over the cec-client and libcec modules I was still getting
errors when trying to run on pCP - it wants libudev.so.1 rather than
libudev.so.1 that is on pCP.
I do not know if that is a result of me building under Raspbian.

Maybe someone with more knowledge in the area of building things for pCP
could give me some ideas.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113784

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to