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

Tom Zanussi tom.zanussi at intel.com
Tue Mar 15 17:45:27 PDT 2011


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...

Acked-by: Tom Zanussi <tom.zanussi at intel.com>

> 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)}:"
> +





More information about the poky mailing list