TI E2E Community
Problem with enabling infrared (CIR) mode in Linux Kernel of DM814x
I am trying to enable the consumer infrared (CIR) mode for DM814x Linux kernel according to the instructions given in the following link:
But, the configuration menu (menuconfig) does not include an option for enabling LIRC (Linux Infrared Remote Control) driver. Also, in "ti8148_evm_defconfig" file in linux-psp of EZSDK, there is no parameter for this parameter. Please let me know how I can add LIRC driver to the Linux kernel so that I can check the infrared capability of my customized DM814x board.
Can you please notice the under construction tag on top of the wiki page?
This driver is not yet included, this will be included in next release.
You can look at this section of release notes to identify what's supported
Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks!
Thanks a lot for your response.The link you mentioned has been last updated on April 11, whereas the link for enabling CIR has been updated on April 17. Does that mean the instruction for enabling CIR is given without being supported? I would appreciate if you clarify this.
Also, I wonder if we can manually create the required driver. As you know, we need to add two modules for supporting CIR: "lirc_dev" and "lirc_serial.ko." The former can be statically built using the Kernel Configuration tool (menuconfig). I wonder if there is a way to manually create lirc_serial.ko and add it to the kernel. I see the IR driver source code in the drivers forlder of Linux PSP in EZSDK. But, the kernel object file is not created after running "make linux." I wonder if you know how I can modify the makefiles in order to include this folder and create the lirc_serial.ko.
I look forward to receiving your response.
I checked the new EZSDK which has been released on April first, but I still cannot find the option for enabling CIR in menuconfig. Please let me know how I can access the IR driver, as we really need to chedk IR capability of DM814x.
Hi Mohammad,If you look at the latest release of EZSDK that is based on PSP_04.04.00.01 release.RegardsAnilKumarPlease mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks!
I''ve tried to load the IR following the instructions. I've been able to create the modules and load them successfully but I'm not seeing any dev/lirc. Can you tell me what steps am I missing?
insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-core.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-common.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/lirc_dev.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-nec-decoder.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-rc5-decoder.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-rc6-decoder.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-jvc-decoder.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-sony-decoder.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-rc5-sz-decoder.koinsmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-lirc-codec.ko
I also am having an issue with IR/LIRC in 5.04 EZSDK. If its not supported, when will it be? What can we do to get around this? We need it get CIR working ASAP.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.