From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.pokylinux.org (Postfix) with ESMTP id 4872B4C8009A for ; Tue, 15 Mar 2011 20:55:18 -0500 (CDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 15 Mar 2011 18:55:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.63,191,1299484800"; d="scan'208";a="613479679" Received: from unknown (HELO [10.255.12.146]) ([10.255.12.146]) by orsmga002.jf.intel.com with ESMTP; 15 Mar 2011 18:55:17 -0700 Message-ID: <4D801879.1070708@linux.intel.com> Date: Tue, 15 Mar 2011 18:55:05 -0700 From: Darren Hart User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: Tom Zanussi References: <1300236327.809.22.camel@elmorro> In-Reply-To: <1300236327.809.22.camel@elmorro> Cc: "poky@yoctoproject.org" Subject: Re: [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 01:55:18 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 >> >> 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 Thanks! > >> Signed-off-by: Darren Hart >> CC: Tom Zanussi >> --- >> .../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