From: Darren Hart <dvhart@linux.intel.com>
To: Tom Zanussi <tom.zanussi@intel.com>
Cc: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Re: [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices
Date: Tue, 15 Mar 2011 18:55:05 -0700 [thread overview]
Message-ID: <4D801879.1070708@linux.intel.com> (raw)
In-Reply-To: <1300236327.809.22.camel@elmorro>
On 03/15/2011 05:45 PM, Tom Zanussi wrote:
> On Tue, 2011-03-15 at 17:19 -0700, Darren Hart wrote:
>> From: Darren Hart<dvhart@linux.intel.com>
>>
>> Fixes [YOCTO #869] (2 of 2)
>>
>> The n450 needs:
>>
>> Option "AutoAddDevices" "False"
>>
>> In the ServerFlags, or it will fail to detect the keyboard.
>
> It looks like this patch does more than that, but anyway...
Right, this is the delta from whatever it pulls in by default, but the
common practice seems to be to just install a new xorg.conf for each
machine, even if they are very similar.
>
> Acked-by: Tom Zanussi<tom.zanussi@intel.com>
Thanks!
>
>> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
>> CC: Tom Zanussi<tom.zanussi@intel.com>
>> ---
>> .../xserver-xf86-config/n450/xorg.conf | 26 ++++++++++++++++++++
>> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ++
>> 2 files changed, 29 insertions(+), 0 deletions(-)
>> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
>> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>>
>> diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
>> new file mode 100644
>> index 0000000..e18b911
>> --- /dev/null
>> +++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
>> @@ -0,0 +1,26 @@
>> +Section "Device"
>> + Identifier "Intel Graphics Driver"
>> + Driver "intel"
>> +EndSection
>> +
>> +Section "Monitor"
>> + Identifier "Generic Monitor"
>> + Option "DPMS"
>> +EndSection
>> +
>> +Section "Screen"
>> + Identifier "Default Screen"
>> + Device "Intel Graphics Driver"
>> + Monitor "Generic Monitor"
>> + DefaultDepth 24
>> +EndSection
>> +
>> +Section "ServerLayout"
>> + Identifier "Default Layout"
>> + Screen "Default Screen"
>> +EndSection
>> +
>> +Section "ServerFlags"
>> + Option "DontZap" "0"
>> + Option "AutoAddDevices" "False"
>> +EndSection
>> diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> new file mode 100644
>> index 0000000..4b8d0e6
>> --- /dev/null
>> +++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> @@ -0,0 +1,3 @@
>> +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
>> +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
>> +
>
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
next prev parent reply other threads:[~2011-03-16 1:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 0:19 [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Darren Hart
2011-03-16 0:19 ` [PATCH 1/2] n450: add formfactor config Darren Hart
2011-03-16 0:44 ` Tom Zanussi
2011-03-16 0:19 ` [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices Darren Hart
2011-03-16 0:45 ` Tom Zanussi
2011-03-16 1:55 ` Darren Hart [this message]
2011-03-16 0:43 ` [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Tom Zanussi
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=4D801879.1070708@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=poky@yoctoproject.org \
--cc=tom.zanussi@intel.com \
/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.