[poky] [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices

Darren Hart dvhart at linux.intel.com
Tue Mar 15 18:55:05 PDT 2011



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 at 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 at intel.com>

Thanks!

>
>> Signed-off-by: Darren Hart<dvhart at linux.intel.com>
>> CC: Tom Zanussi<tom.zanussi at 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



More information about the poky mailing list