I want to interact directly with the CEC protocol on my raspberry pi. How can I find out which device to use?

  • is it /dev/cec0? Apr 10, 2018 at 1:56
  • 1
    It doesn't exist in /dev. I'm using the latest version of Raspbian
    – demux
    Apr 10, 2018 at 10:54

2 Answers 2


I understand the device name is /dev/vchiq, but you can't use it directly unless you get relevant VideoCore documentation. libcec uses the VideoCore API, which doesn't mention device names directly. Unless you want to use RPi-specific hardware features (and you know how to do it), you should just use libcec.


on my raspbian installation it's /dev/ttyACM0

  • I'm pretty sure there's no such port on a Pi, unless you connect a USB device to it. Mar 23, 2021 at 12:31
  • Isn't it /dev/cecN Apr 4, 2021 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.