hdmi cec compile

Discussion in 'UDOO X86' started by drc85, Jan 11, 2018.

  1. Markus Laire

    Markus Laire Active Member

    Joined:
    Mar 9, 2017
    Messages:
    225
    Likes Received:
    92
    Try whereis cec-ctl - that checks several locations where files can be installed.

    Some possible locations are /usr/bin /bin /usr/sbin* /usr/sbin* (Two last ones will generally only work when running command as root user.)
     
    drc85 likes this.
  2. Markus Laire

    Markus Laire Active Member

    Joined:
    Mar 9, 2017
    Messages:
    225
    Likes Received:
    92
    Another useful command which lists files actually installed by a package (only works for packages you have installed):
    dpkg-query -L PACKAGE

    So try:
    dpkg-query -L v4l-utils
    dpkg-query -L cec-utils
     
    drc85 likes this.
  3. drc85

    drc85 Member

    Joined:
    Dec 30, 2017
    Messages:
    45
    Likes Received:
    2
    thanks for your help, i will try when i get back home.
    did you was able to get the hdmi cec working on linux?

    also what about infra red is it working? or do i need to compile and load module also? i have a universal remote laying around and thought about using it with the udoo till i get cec to work :D
     
  4. Markus Laire

    Markus Laire Active Member

    Joined:
    Mar 9, 2017
    Messages:
    225
    Likes Received:
    92
    I havn't tried to get CEC or IR working myself.
     
    drc85 likes this.
  5. drc85

    drc85 Member

    Joined:
    Dec 30, 2017
    Messages:
    45
    Likes Received:
    2
    ok udo is showing a working example on the blog... it somehow is possible :D
     
  6. LDighera

    LDighera UDOOer

    Joined:
    Jan 13, 2014
    Messages:
    206
    Likes Received:
    36
    I presume you are referring to this blog post. It refers to this Udoo X86 Documentation page.

    Are there any corrections or additional information you may be able to provide, as a result of your apparently successful CEC implementation, to supplement the instructions on the doc page?

    Thank you for sharing your CEC implementation effort for the benefit of other Udoo X86 users.
     
  7. drc85

    drc85 Member

    Joined:
    Dec 30, 2017
    Messages:
    45
    Likes Received:
    2
    i didnt really do much, im really a linux newbie :D
    here are the instructions for compiling the seco-cec.ko module.
    they are a little bit diffrent from the blog post. because of diffrent root rights or diffrent ubuntu distribution...
    im not sure why its diffrent.. maybe its also not the right way i did id

    im on linux mint 18.4
    i installed kernel ukuu ( easy gui for updating the kernel)
    then i updatet to 4.14.0 (i tried the 4.14.14 too but it dont worked to compile

    enter bash:
    1-sudo apt install git build-essential linux-headers-`uname -r` (install files to main user folder)
    2-cd secocec (go to secccec folder)
    3-make (compiles the module seco-cec.ko)
    close bash


    then u have the module compiled and it should be inside the main user folder
    after that i used

    enter bash:
    1-sudo modprobe -v cec (mount cec main module)
    2-cd secocec (go to secccec folder)
    3-sudo insmod seco-cec.ko (mount seco-cec.ko module)
    4-lsmod (to check if CEC and seco-cec.ko modules are running and mounted)
    close bash

    i didnt got any further i will try tonight if i can get cec-ctl running
     
    LDighera likes this.
  8. drc85

    drc85 Member

    Joined:
    Dec 30, 2017
    Messages:
    45
    Likes Received:
    2
    im also testing some methods to get hdmi cec working on the windows10 i also have installed...

    there are a few programms.
    evenghost: i think it is for ir remotes
    and libcec: this is for cec (im not sure u need the pulse eight adapter if ur hdmi suppurts cec)
    but i didnt got any further because i cant install netframwork 3,5 :(

    at the moment i wouldnt care if i run linux or windows to get kodi to work with the cec tv remote...
     
  9. icce

    icce New Member

    Joined:
    Mar 13, 2016
    Messages:
    16
    Likes Received:
    3
    After finish all steps from Remote Control, I tried ```cec-ctl``` and it returned:
    Failed to open /dev/cec0
    It seems like something wrong here?
     

Share This Page