From: Darren Hart <dvhart@linux.intel.com>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 2/3] beagleboard: xserver-kdrive xorg.conf installation
Date: Sat, 18 Jun 2011 08:02:39 -0700 [thread overview]
Message-ID: <4DFCBE0F.80305@linux.intel.com> (raw)
In-Reply-To: <824516E3-FB4B-47E5-9172-E685149CAD49@dominion.thruhere.net>
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 <dvhart@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
next prev parent reply other threads:[~2011-06-18 15:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-18 0:35 [PATCH 0/3] beagleboard: machine conf, xorg, audio mixer Darren Hart
2011-06-18 0:35 ` [PATCH 1/3] beagleboard: cleanup machine config commentary Darren Hart
2011-06-18 0:35 ` [PATCH 2/3] beagleboard: xserver-kdrive xorg.conf installation Darren Hart
2011-06-18 8:05 ` Koen Kooi
2011-06-18 15:02 ` Darren Hart [this message]
2011-06-18 15:09 ` Koen Kooi
2011-06-20 20:39 ` Darren Hart
2011-06-18 0:35 ` [PATCH 3/3] beagleboard: add basic audio mixer defaults Darren Hart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFCBE0F.80305@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=koen@dominion.thruhere.net \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.