[yocto] Missing Kernel Modules (.ko files) in Yoct File System

Chen, Simon simon.chen at lmco.com
Mon Jun 15 08:16:37 PDT 2015


This is a follow-up to my graphics card driver problem...

It appears that for Yocto's udev, the init script fails to extract a MODALIAS from the external driver software that I've installed. Once extracted, these MODALIAS's should show up in /lib/modules/<KERNEL VERSION>/modules.alias, and udev tries to associate this MODALIAS with the appropriate deviceID from the actual Radeon graphics card. I've been comparing Ubuntu's filesystem with Yocto's, and I have a hunch that these MODALIAS's are being pulled from the .ko files from each of these drivers. However, I've found that these .ko's and their folders do not exist where they should be in the /lib/modules/<KERNEL VERSION>/kernel directory.

My question is, how is YOCTO's built-in drivers for the mouse, keyboard, and monitor still operational even without these .ko's. Is there a way to generate these ko's so that an external driver can be installed? Am I confusing built-in modules with external ones? Is Yocto only configured to run built-in kernel modules?

-Simon

From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of Chen, Simon
Sent: Monday, June 08, 2015 2:28 PM
To: poky at yoctoproject.org
Subject: EXTERNAL: [poky] Issue with udev not creating dev/dri/card0 for xf86-video-ati

Hello,

I've built a Yocto image using poky-dizzy-12.0.1, and have my target proprietary board boot off of it. I am trying to assimilate an external graphics card, the AMD Radeon E8860 by "manually" installing the latest version of the open source Radeon driver, xf86-video-ati. The main issue I am tackling is that the device file dev/dri/card0 required by the Radeon driver does not exist, and neither does dev/fb0 which is needed by the default VESA driver whenever xf86-video-ati fails.  My hypothesis at the moment, is that the udev from Yocto is not correctly parameterized for the radeon driver, or it is incomplete. I've tried adding some new rules to the etc/udev/rules.d/local.rules file but it doesn't seem to work. I am also fairly new to udev rules.

What are your thoughts?

Thanks,
Simon Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150615/8a73c1b2/attachment.html>


More information about the yocto mailing list