• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Problem with enabling infrared (CIR) mode in Linux Kernel of DM814x
Share
Linux
  • Forum
Options
  • Subscribe via RSS
Resources
  • Keystone II MCSDK (A15 Linux) Download
  • Problem with enabling infrared (CIR) mode in Linux Kernel of DM814x

    Problem with enabling infrared (CIR) mode in Linux Kernel of DM814x

    This question is not answered
    Mohammad Kiaei
    Posted by Mohammad Kiaei
    on Apr 23 2012 09:25 AM
    Intellectual515 points

    Greetings,

    I am trying to enable the consumer infrared (CIR) mode for DM814x Linux kernel according to the instructions given in the following link:

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

    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.

    Thanks,
    Mohammad

    Linux Kernel Linux PSP DM814x Infrared driver menuconfig
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Anil
      Posted by Anil
      on Apr 24 2012 02:18 AM
      Expert6655 points

      Hi Mohammad,

      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

      http://processors.wiki.ti.com/index.php/TI81XX_PSP_04.04.00.01_Release_Notes#What.27s_Supported

      Regards

      AnilKumar

      Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

       

      PSP DM81xx CIR
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mohammad Kiaei
      Posted by Mohammad Kiaei
      on Apr 24 2012 09:22 AM
      Intellectual515 points

      Hi Anil,

      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.

      Best Regards,
      Mohammad

      PSP DM81xx CIR
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mohammad Kiaei
      Posted by Mohammad Kiaei
      on May 04 2012 10:42 AM
      Intellectual515 points

      Greetings,

      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.

      Thanks,
      Mohammad

      Kernel PSP DM81xx CIR
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Anil
      Posted by Anil
      on May 07 2012 01:53 AM
      Expert6655 points

      Hi Mohammad,

      If you look at the latest release of EZSDK that is based on PSP_04.04.00.01 release.

      Regards
      AnilKumar

      Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

      PSP dm8148 CIR
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Kefil Landou
      Posted by Kefil Landou
      on Jun 12 2012 13:56 PM
      Prodigy130 points

      Hi Anil,

      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.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-common.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/lirc_dev.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-nec-decoder.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-rc5-decoder.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-rc6-decoder.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-jvc-decoder.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-sony-decoder.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-rc5-sz-decoder.ko
      insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/media/IR/ir-lirc-codec.ko

      Thank you.

      Kefil

      LIRC CIR PSP DM8148
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • babs76er
      Posted by babs76er
      on Sep 21 2012 11:53 AM
      Prodigy90 points

      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.

      Thanks,

      Brent Bergan

      ir dm8148 814x CIR 8148 LIRC 2.6.37 kernel 81xx
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    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.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use