Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Mar 2015 06:17 AM by  jduran.gm
Install newer version of udev.
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jduran.gm
New Member
New Member
Posts:79


--
26 Jan 2015 06:25 AM

    Dear all,

    I would like install a newer version of udev in the rootfs of a Wireless Torpedo module. The reason for this change is the application of control of the device should detect which HID devices has been inserted or removed in the system. To use this facility, if is required to use the library libudev, however udev 117 doesn't provide this library.

    I've rebuild rootfs without device manager, I've installed a newer version of udev while maintaining previous rules, but the system is not usable (no login is provided in the serial port or /dev/shm doesn't exits.).

    Could you provide any instructions to install a newer version of udev?

     

    Thanks and Best Regards,

    Joaquim Duran

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    26 Jan 2015 09:07 AM
    Your request isn't as straightforward or simple as you may think. I am not sure which version of udev you want, but some of the newer versions require newer versions of glibc and other tools which require some work to port to this kernel.

    As a starting point, I would find the earliest version that has the features you need. Download the tar.bz2 file and place it into the LTIB-package-pool/directory. Put the MD5SUM in there as well. You should see the existing udev-117.tar.bz2 and the corresponding MD5SUM as well in this directory.

    After that, open the udev-logic.spec file located in the /dist/lfs-5.1/udev

    change the revision number in the .spec file from 117 to whatever version you downloaded

    ./ltib -p udev -m prep

    This will run the .spec file and

    To build the file
    ./ltib -p udev -m scbuild

    To deploy it in to the rootfs
    ./ltib -p udev -m scdeploy

    There is a high degree of probability that this won't work, but I would examine the patches used on 117 to see if they should apply to newer versions. Some of the paths may have changed, so you may need to locate their appropriate directories.

    I spent about 2 hours trying to get a build to work using udev-174 (not knowing what your version requirements are) but I was unsuccessful.

    If you still cannot get it to work, I would suggest establishing a services contract, and we can allocate some of our software developers to help you with this endeavor.

    adam
    jduran.gm
    New Member
    New Member
    Posts:79


    --
    03 Mar 2015 06:17 AM
    We've succesffuly integrated udev 165. It works fine with Qt5.

    Joaquim Duran
    You are not authorized to post a reply.