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.

  • TI Thinks Resolved

Linux/DLP4500: Am5728 board does not recognize dlp devices

Prodigy 110 points

Replies: 3

Views: 167

Part Number: DLP4500

Tool/software: Linux

Am5728 board does not recognize dlp devices?
The source code path of dlp is: www.ti.com/.../dlplcr4500evm (DLPLCR4500GUI-3.0.1-windows-installer.exe). The source code of QT is migrated to arm 5728. In fact, no changes have been made, but the compiler is replaced by arm gcc. The compiled executor runs on the arm5728 board, and am5728 does not recognize it. Am5728 uses development board of Chuanglong in guanzhou .
According to the information printed by am5728, we can know that the dlp module has been identified on the am5728, track the migrated qt project, and find that the calling hid_open () returns an error, so the phenomenon of hanging can be seen on the board of am5728.
QT project migration to ubuntu can run, indicating that there should be no problem with the qt project itself, from which it can be inferred that it should be the problem of usb library or udev library on the single board. There are libusb1.0 libraries and libudev libraries found on the 5728 single board. Do you have version restrictions on these two libraries? do you have to install libfox-1.6? In the instructions for the qt project, it is found that what is this for build HIDAPI?

Thank you!

  • Hello,

    This GUI was only intended to be run on Windows so you may run into various system limitations if you are trying to port it to a different platform. Did you say you have been able to get it to run on an Ubuntu system? 

    Thanks,
    Kyle

  • In reply to Kyle Rakos:

    LightCrafter4500_GUI_Source_Code_v3.1.0 is the source code of DLP, in the hidapi-master directory of the file, there is a readme file written:
    HIDAPI has four back-ends:
    * Windows (using hid.dll)
    * Linux/hidraw (using the Kernelundefineds hidraw driver)
    * Linux/libusb (using libusb-1.0)
    * FreeBSD (using libusb-1.0)
    * Mac (using IOHidManager)
    Linux:-On Linux, you will need to install development packages for libudev, Libusb and optionally Fox-toolkit (for the test GUI). According to this tip, On Debian/Ubuntu systems these can be installed by running: sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
    Migrate the project of dlp to Ubuntu without modification, just install the above library and use the gcc compiler to run under Ubuntu.
    There are instructions in Cross Compiling (This section talks about cross compiling HIDAPI for Linux using autotools.This is useful for using HIDAPI on embedded Linux targets) on how to compile the library files Libusb and libudev.
    Required on the arm board, At present, there are libusb1.0 and libudev libraries on the single board of am5728. Do these two libraries have version restrictions? Dlp is migrated to the arm am5728 veneer, and the board of the am5728 is hung up while running. The project that tracks the dlp finds that the call to hid_open () failed to return. Please help see what is going on.

    Your company mentioned on the Internet that pandaboard am5728undefineds development board is used with dlp. How does your am5728 Demo board connect to the dlp module? Thank you!

  • In reply to ccsq ccsq:

    Hi ccsq, 

    The USB drives used in the LCR4500 GUI are open source USB HID Libraries found here. Unfortunately TI cannot provide support regarding these drivers on other platforms. For more info you can visit the given link. 

    Thanks & Regards,

    Hirak.

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.