This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Infrared for external applications on DVEVM 6446

Hi

I have developed some applications on qt to run on top of DVEVM6446 board .  Till now I have been using keyboard and mouse to feed the input for the apps . Now I need to do the same using the remote control. I need your help here . I have seen some files in the demo which uses the remote control functionality . I tried to go through the code of it but it was quite difficult for me to get an idea of it . Is there any document regarding the Infrared fuctionality of the board? and also how can I enable the remote control facility for my applications

Please help me as I m stuck here

Thanks in advance

S P Vishnu Sekhar

 

  • Vishnu,

    What version of the DVSDK are you basing this work upon?

  • Hi Jeff

    Thanks for the reply.... I m using DVSDK 2_22 version . I think it is the latest version

    Thanks

    S P Vishnu sekhar

  • Hello,

    I don't think we have any seperate doc just regarding IR driver usage. The device is typically enumerated on /dev/i2c/X node and like other i2c application, you need to attach the device as slave using standard Linux i2c ioctls and then  use standard read/write API on device node to get the key scan code. The DVSDK demo is good example on how to interact with IR and  in addition you can also refer DMAI IR module located in dmai_xxx/packages/ti/sdo/dmai/Linux/Ir.c

    Thanks

    Brijesh

  • Hi Brijesh

    Thanks for a quick reply

    I have some questions regarding this. 

    1. I have seen the menu.c file that comes along with the DVSDK demo. In that file  there is a function called menuFxn  which checks for the Ir input and then calls the functions including the keyAction function will further go ahead with key processing . My question is that can I feed my input to this function from a framework like Qt so that I dont need to worry about the internal working of the IR code

    2. I have gone through the Ir.c file also but where is this file actually getting called or its like automatically executed when the board is up so that the board will be ready to receive any IR signals