[yocto] Problem with Module Dependency

Jason Liu jason.liu at gumstix.com
Thu Jul 6 16:17:53 PDT 2017


Dear all,

Right now I am developing driver for a camera. The camera module depends on
the omap3-isp module. Most of the times the camera drive will load before
the image signal processor module is loaded thus the camera won't function
properly.

For the developing version of the driver, I use usleep_range to force it to
sleep for couple seconds but obviously it is not a good solution.

Would you have any solution that I can make sure it gets loaded after all
dependencies is loaded properly? I am thinking a way to add something in
the driver that checks if the module is available or not but I couldn't
come up with one.

Any help is greatly appreciate!

Regards,

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170706/bc100c9e/attachment.html>


More information about the yocto mailing list