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.

CIR support for DM385

Other Parts Discussed in Thread: DM385

Hi TI,

I'm using DM385 evm with latest EZSDK(ti-ezsdk_dm814x-evm_5_05_02_00).

I'm using the uart1 port for IR Receiver.I have followed the procedure, which has mentioned in the following user guide for configuring IR.

http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_CIR_Driver_User_Guide.

After that i came to know,  this ezsdk kernel is not having the support for IR. Then i have downloaded the kernel from linux-omap3 git. which is having IR support.

http://arago-project.org/git/projects/?p=linux-omap3.git;a=summary.

Now my IR driver are properly registering and creating the device node(lirc0) with major and minor number.

I have tried the "mode2 -d /dev/lirc0" It will not show any o/p.   I have probed the rx pin it is accepting the data, i can see that in CRO.

Also i tried the"ls  /sys/class/rc/" Nothing is there in the rc folder.


I have done pin mux as follows for the rx pin.

static void ti813x_cir_pin_mux(void)
{
        char mux_name[100];
        sprintf(mux_name, "uart0_rin.uart1_rxd_mux0");
        printk("cir pinmux\n");
        omap_mux_init_signal(mux_name, OMAP_MUX_MODE0 |
                        TI814X_PULL_DIS | TI814X_INPUT_EN);
        return;
}


What will be problem. Help me to resolve this issue...!!!!!!!!



Thanks & Regards

Ramappa

  • Hello,

    You should have "/dev/lirc0". Also you need userspace tools like irrecord, irw or mode2 on your target (cross-compiled for ARM, the pre-builts  in the guide above should work I think). Check again the kernel bootargs. Double check you hardware. There could be no sysfs entries exported.

    Thank you.

    BR

    Vladimir

  • Hello Vladimir,

    One week back i have solved this issue..

    As you said, It was  problem with bootargs. Now it is working fine..

    Any way thanks for your reply..!!!!!!!!!

    Thanks & Regards

    Ramappa