<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">This is a follow-up to my graphics card driver problem…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">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.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">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?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> poky-bounces@yoctoproject.org [mailto:poky-bounces@yoctoproject.org]
<b>On Behalf Of </b>Chen, Simon<br>
<b>Sent:</b> Monday, June 08, 2015 2:28 PM<br>
<b>To:</b> poky@yoctoproject.org<br>
<b>Subject:</b> EXTERNAL: [poky] Issue with udev not creating dev/dri/card0 for xf86-video-ati<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What are your thoughts?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Simon Chen<o:p></o:p></p>
</div>
</body>
</html>