Infrared On UDOO

Discussion in 'UDOO X86' started by vamsi765, Apr 25, 2017.

  1. vamsi765

    vamsi765 New Member

    Joined:
    Apr 25, 2017
    Messages:
    6
    Likes Received:
    1
    Is the infrared interface can only act IR sensor or can also be used as remote control?
    Where can I find information about how to set this up on Linux system (Preferably Ubuntu)?
    It would be really useful if any of the packages supports universal remotes like Logitech Harmony.
     
  2. elligl

    elligl New Member

    Joined:
    May 13, 2017
    Messages:
    2
    Likes Received:
    0
    It's receive only, 38Khz. It's attached to the SMBus on the CPU. U48 is the connection. I don't see any information on how to access it. Check /dev/ for something matching IR?
     
  3. vamsi765

    vamsi765 New Member

    Joined:
    Apr 25, 2017
    Messages:
    6
    Likes Received:
    1
    Yes, even I got from reading about the sensor that it is only receiver.
    The sensor is not directly connected to the Intel chip, it is connected to STM Microcontroller which is intern connected to main chip using the SMB bus. I couldn't find any information about how to talk to controller and its features.
    https://www.udoo.org/docs-x86/Hardware_Reference/Resources.html

    Btw, I couldn't find anything related to IR in the dev folder.

    Thanks
    Vamsi
     
  4. elligl

    elligl New Member

    Joined:
    May 13, 2017
    Messages:
    2
    Likes Received:
    0
    The only thing I could find is Wake-up on IR in the bios. So there must be a way to interact with the STM uC.
     
  5. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    fabio978 likes this.
  6. tuxun

    tuxun Member

    Joined:
    Dec 20, 2013
    Messages:
    67
    Likes Received:
    12
    Up? what about support of IR in bios 1.0.3? :)
     
    Last edited: Aug 12, 2017
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    There is, you can set options in UEFI. But no instructions yet how to use. It is holiday in Italy.
     
  8. tuxun

    tuxun Member

    Joined:
    Dec 20, 2013
    Messages:
    67
    Likes Received:
    12
    I'm not sure, but i think these options where here before :D We miss the driver (if the bios is ready for, of course), for what i understand...
     
  9. tuxun

    tuxun Member

    Joined:
    Dec 20, 2013
    Messages:
    67
    Likes Received:
    12
    up someone?
     
  10. goldio

    goldio New Member

    Joined:
    Apr 14, 2017
    Messages:
    10
    Likes Received:
    1
    Does it someone to get work?
     
  11. tothezenith

    tothezenith New Member

    Joined:
    Apr 11, 2014
    Messages:
    3
    Likes Received:
    0
    Hope this is relegated to the bottom of the pile in the to-do back from holiday list; would definitely like to see this working as part of the HTPC build with along with that sweet as tutorial for ambient lighting :)
     
  12. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    Last edited: Sep 11, 2017
  13. vamsi765

    vamsi765 New Member

    Joined:
    Apr 25, 2017
    Messages:
    6
    Likes Received:
    1
    Anybody has any update on this?
     
  14. tuxun

    tuxun Member

    Joined:
    Dec 20, 2013
    Messages:
    67
    Likes Received:
    12
    update :)

    i tried https://www.udoo.org/docs-x86/Hardware_&_Accessories/CEC-HDMI.html and found no way to successible dump my remote the device made by seco cec driver.

    #logged as user
    git clone driver
    cd folder
    make

    #logged as root:
    modprobe cec
    insmod seco-cec.ko

    apt purge lirc input-lirc (i tried this way first)
    apt install ir-keytable
    ir-keytable:
    Found /sys/class/rc/rc1/ (/dev/input/event11) with:
    Name: IrDA RC for CEC00001:00
    Driver: secocec, table: rc-hauppauge
    Supported protocols: rc-5
    Enabled protocols: rc-5
    bus: 30, vendor/product: 0000:0000, version: 0x0001
    Repeat delay = 500 ms, repeat period = 125 ms
    Found /sys/class/rc/rc0/ (/dev/input/event10) with:
    Name: RC for CEC00001:00
    Driver: cec, table: rc-cec
    Supported protocols: cec
    Enabled protocols: cec
    bus: 30, vendor/product: 0000:0000, version: 0x0001
    Repeat delay = 125 ms, repeat period = 125 ms

    but, when i press on remote:
    ir-keytable -t --device /dev/input/event10
    ir-keytable -t --device /dev/input/event11
    ir-keytable -t --sysdev rc0
    ir-keytable -t --sysdev rc1
    the infrared sensor is enabled in bios and set on a defaut type of remote (tv0)
    i tried many remotes without success, with many tools , like xmode2 and evtest and also without the x server polling the device (init 3 :) ).

    1) i'm not doing what i think i'm doing, or i'm doing it wrong?
    2) I try too soon for my young bios+kernel+driver?
    3) the "remote type" setting in bios is badly set and block all remote not of this type?

    ps: sorry for rude graphic style
     
  15. tuxun

    tuxun Member

    Joined:
    Dec 20, 2013
    Messages:
    67
    Likes Received:
    12
    hey again. I made too much mistake in precedant post, making ununderstandable... but i cant find the edit button?
     
  16. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Edit button has been removed due to spammers who are editing their harmless post to spammers. You can only delete your post and write it again....... :-(
     

Share This Page