<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1072</bug_id>
          
          <creation_ts>2011-05-14 21:11:01 +0000</creation_ts>
          <short_desc>machine-specific xorg.confs not being picked up</short_desc>
          <delta_ts>2011-06-17 14:52:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>dvhart</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13837</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-05-14 21:11:01 +0000</bug_when>
    <thetext>For at least crownbay and n450 (the only two I&apos;ve looked at so far, I assume others have the same problem), the xorg.conf being installed into /etc/X11 is the default xorg.conf in meta/recipes-graphics/xorg-xserver/xserver-xf86-config rather than the one specified in the xserver-xf86-config_0.1.bbappend contained in the BSP layer.

Looking at the -DDDD output, the .bbappends are being picked up, but the xorg.conf in the BSP xserver-xf86-config/ directories isn&apos;t being installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13907</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-19 13:29:06 +0000</bug_when>
    <thetext>This is likely a meta-intel issue. Assigning to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13919</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-05-19 21:50:56 +0000</bug_when>
    <thetext>Looks like this may have been fixed by some recent commit - not seeing it as of poky/master 3ea694cf688f26d47149200d0dc522da51a87e58
meta-intel/master 6e35713d9f7dbbc2682811234c804a5b129d04e2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14011</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-05-26 15:39:29 +0000</bug_when>
    <thetext>poky/master: 32a4e746273c3c7d3dd0f13b745bc0679cadaa44
meta-intel/master: 90ace178d3fb5d253cdba396bce66dd2fce2ed79

machine sugarbay

After bitbake xserver-xf86-config -c unpack -f:

build/tmp/work/sugarbay-poky-linux/xserver-xf86-config-0.1-r9/xorg.conf:

Section &quot;Device&quot;
    Identifier    &quot;Intel Graphics Driver&quot;
    Driver        &quot;intel&quot;
EndSection

Section &quot;Monitor&quot;
    Identifier    &quot;Generic Monitor&quot;
    Option        &quot;DPMS&quot;
EndSection

Section &quot;Screen&quot;
    Identifier    &quot;Default Screen&quot;
    Device        &quot;Intel Graphics Driver&quot;
    Monitor        &quot;Generic Monitor&quot;
    DefaultDepth    24
EndSection

Section &quot;ServerLayout&quot;
    Identifier    &quot;Default Layout&quot;
    Screen        &quot;Default Screen&quot;
EndSection

Section &quot;ServerFlags&quot;
    Option        &quot;DontZap&quot;  &quot;0&quot;
EndSection

What should have been picked up:

meta-intel/meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config/sugarbay:

Section &quot;Device&quot;
    Identifier  &quot;Intel Graphics Driver&quot;
    Driver      &quot;intel&quot;
EndSection

Section &quot;Monitor&quot;
    Identifier    &quot;Generic Monitor&quot;
    Option        &quot;DPMS&quot;
EndSection

Section &quot;Screen&quot;
    Identifier    &quot;Default Screen&quot;
    Device        &quot;Intel Graphics Driver&quot;
    Monitor       &quot;Generic Monitor&quot;
    DefaultDepth  24
EndSection

Section &quot;ServerLayout&quot;
    Identifier     &quot;Default Layout&quot;
    Screen         &quot;Default Screen&quot;
EndSection

Section &quot;ServerFlags&quot;
    Option        &quot;DontZap&quot;  &quot;0&quot;
    Option        &quot;AutoAddDevices&quot;  &quot;False&quot;
EndSection</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14016</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-26 19:03:59 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; poky/master: 32a4e746273c3c7d3dd0f13b745bc0679cadaa44
&gt; meta-intel/master: 90ace178d3fb5d253cdba396bce66dd2fce2ed79
&gt; machine sugarbay
&gt; After bitbake xserver-xf86-config -c unpack -f:
&gt; build/tmp/work/sugarbay-poky-linux/xserver-xf86-config-0.1-r9/xorg.conf:
&gt; Section &quot;Device&quot;
&gt;     Identifier    &quot;Intel Graphics Driver&quot;
&gt;     Driver        &quot;intel&quot;
&gt; EndSection
&gt; Section &quot;Monitor&quot;
&gt;     Identifier    &quot;Generic Monitor&quot;
&gt;     Option        &quot;DPMS&quot;
&gt; EndSection
&gt; Section &quot;Screen&quot;
&gt;     Identifier    &quot;Default Screen&quot;
&gt;     Device        &quot;Intel Graphics Driver&quot;
&gt;     Monitor        &quot;Generic Monitor&quot;
&gt;     DefaultDepth    24
&gt; EndSection
&gt; Section &quot;ServerLayout&quot;
&gt;     Identifier    &quot;Default Layout&quot;
&gt;     Screen        &quot;Default Screen&quot;
&gt; EndSection
&gt; Section &quot;ServerFlags&quot;
&gt;     Option        &quot;DontZap&quot;  &quot;0&quot;
&gt; EndSection
&gt; What should have been picked up:
&gt; meta-intel/meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config/sugarbay:
&gt; Section &quot;Device&quot;
&gt;     Identifier  &quot;Intel Graphics Driver&quot;
&gt;     Driver      &quot;intel&quot;
&gt; EndSection
&gt; Section &quot;Monitor&quot;
&gt;     Identifier    &quot;Generic Monitor&quot;
&gt;     Option        &quot;DPMS&quot;
&gt; EndSection
&gt; Section &quot;Screen&quot;
&gt;     Identifier    &quot;Default Screen&quot;
&gt;     Device        &quot;Intel Graphics Driver&quot;
&gt;     Monitor       &quot;Generic Monitor&quot;
&gt;     DefaultDepth  24
&gt; EndSection
&gt; Section &quot;ServerLayout&quot;
&gt;     Identifier     &quot;Default Layout&quot;
&gt;     Screen         &quot;Default Screen&quot;
&gt; EndSection
&gt; Section &quot;ServerFlags&quot;
&gt;     Option        &quot;DontZap&quot;  &quot;0&quot;
&gt;     Option        &quot;AutoAddDevices&quot;  &quot;False&quot;
&gt; EndSection

hmmm, I still can not reproduce the issue. In my sugar case, tmp/work/sugarbay-poky-linux/xserver-xf86-config-0.1-r9/xorg.conf is the same as meta-intel/meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config/sugarbay/xorg.conf.

My environment:
poky/master: 32a4e746273c3c7d3dd0f13b745bc0679cadaa44
meta-intel/master: 90ace178d3fb5d253cdba396bce66dd2fce2ed79

In my conf/local.conf, I have
MACHINE ??= &quot;sugarbay&quot;

In my conf/bblayers.conf, I have
BBLAYERS = &quot; \
  /osel/dcui/0527/p1/meta \
  /osel/dcui/0527/p1/meta-yocto \
  /osel/dcui/0527/p1/meta-intel/meta-sugarbay \
  &quot;

After bitbake xserver-xf86-config -c unpack -f,

find ../meta* -name &quot;xorg.conf&quot; -exec md5sum {} \; &gt; md5
echo --- &gt;&gt; md5; find tmp/work/  -name &quot;xorg.conf&quot; -exec md5sum {} \; &gt;&gt; md5


By checking the md5 file, I&apos;m sure the proper xorg.conf is installed.

Not sure what caused the wrong file installed in your side.
BTW: I&apos;m doing the test in a clean repo by &quot;git clone&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14334</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-06-17 14:52:17 +0000</bug_when>
    <thetext>This has been resolved upstream with the set -&gt; list change in the Cooker from Richard and the layer priority fixes From Paul E.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>