On 06/18/2011 01:05 AM, Koen Kooi wrote:
> 
> Op 18 jun 2011, om 02:35 heeft Darren Hart het volgende geschreven:
> 
>> Append xserver-kdrive to allow for BSP specific xorg.conf files. This also
>> appears to drag in a runtime dependency on libhal, so add that to the
>> bbappend's RDEPENDS_${PN} as well.
> 
> Since when does kdrive use xorg.conf?

This is my first use of xserver-kdrive. I was experimenting with
xorg.conf changes to resolve some USB input issues I was having... it
seemed to work. Should it be using something else?

> 
>> Ultimately we probably want an xserver independent xorgconf recipe that
>> enables installing BSP specific xorg.conf files for all the xservers. This
>> works for now.
> 
> Like xserver-xorg-conf in meta-oe?

Yes, just like that. I've opened a bug on this, I'll recommend using
this. Any objection to that becoming part of oe-core? However, if I
shouldn't be using xorg.conf for xserver-kdrive, then this might be
irrelevant.

--
Darren

> 
>>
>> Signed-off-by: Darren Hart <dvh...@linux.intel.com>
>> ---
>> .../xserver-kdrive/beagleboard/xorg.conf           |   34 
>> ++++++++++++++++++++
>> .../xorg-xserver/xserver-kdrive_1.7.99.2.bbappend  |   10 ++++++
>> 2 files changed, 44 insertions(+), 0 deletions(-)
>> create mode 100644 
>> meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
>> create mode 100644 
>> meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend
>>
>> diff --git 
>> a/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
>>  
>> b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
>> new file mode 100644
>> index 0000000..0335e6a
>> --- /dev/null
>> +++ 
>> b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
>> @@ -0,0 +1,34 @@
>> +Section "Module"
>> +    Load    "extmod"
>> +    Load    "dbe"
>> +    Load    "glx"
>> +    Load    "freetype"
>> +    Load    "type1"
>> +    Load    "record"
>> +    Load    "dri"
>> +EndSection
>> +
>> +Section "Monitor"
>> +    Identifier      "Builtin Default Monitor"
>> +EndSection
>> +
>> +Section "Device"
>> +    Identifier      "Builtin Default fbdev Device 0"
>> +    Driver          "omapfb"
>> +EndSection
>> +
>> +Section "Screen"
>> +    Identifier      "Builtin Default fbdev Screen 0"
>> +    Device          "Builtin Default fbdev Device 0"
>> +    Monitor         "Builtin Default Monitor"
>> +EndSection
>> +
>> +Section "ServerLayout"
>> +    Identifier      "Builtin Default Layout"
>> +    Screen          "Builtin Default fbdev Screen 0"
>> +EndSection
>> +
>> +Section "ServerFlags"
>> +    Option          "DontZap"  "0"
>> +        Option              "AutoAddDevices" "False"
>> +EndSection
>> diff --git 
>> a/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend 
>> b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend
>> new file mode 100644
>> index 0000000..cfa6c4f
>> --- /dev/null
>> +++ 
>> b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend
>> @@ -0,0 +1,10 @@
>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> +RDEPENDS_${PN} += "libhal"
>> +SRC_URI += "file://xorg.conf"
>> +
>> +do_install_append() {
>> +    install -d ${D}/${sysconfdir}/X11
>> +    install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
>> +}
>> +
>> +
>> -- 
>> 1.7.1
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to