[oe] [STABLE][PATCH 2/3] xserver-xorg-conf: added BUG support

Denys Dmytriyenko denis at denix.org
Wed Dec 2 20:47:51 UTC 2009


On Tue, Dec 01, 2009 at 07:14:53PM +0100, Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz <marcin at buglabs.net>
> 
> Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

Acked-by: Denys Dmytriyenko <denis at denix.org>

> ---
>  .../xorg-xserver/xserver-xorg-conf/bug/xorg.conf   |   65 ++++++++++++++++++++
>  recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
>  2 files changed, 66 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
> 
> diff --git a/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
> new file mode 100644
> index 0000000..8b6cd94
> --- /dev/null
> +++ b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
> @@ -0,0 +1,65 @@
> +#
> +# Initial version of X11 configuration for BugLabs BUG device.
> +#
> +# Up to 2 LCD modules are supported (as DISPLAY=0.0/0.1).
> +# Touchscreen on first screen works properly (req tslib 0.0.6 driver).
> +#
> +# By default software starts on 0.0 only.
> +#
> +
> +Section "Monitor"
> +        Identifier      "Monitor 1"
> +EndSection
> +
> +Section "Monitor"
> +        Identifier      "Monitor 2"
> +EndSection
> +
> +Section "Device"
> +        Identifier      "fbdev Device 2"
> +        Driver  "fbdev"
> +	Option "fbdev" "/dev/fb2"
> +	Option "shadowfb" "true"
> +EndSection
> +
> +Section "Device"
> +        Identifier      "fbdev Device 1"
> +        Driver  "fbdev"
> +	Option "fbdev" "/dev/fb1"
> +	Option "shadowfb" "true"
> +EndSection
> +
> +Section "Screen"
> +        Identifier      "fbdev Screen 2"
> +        Device  "fbdev Device 2"
> +        Monitor "Monitor 2"
> +EndSection
> +
> +Section "Screen"
> +        Identifier      "fbdev Screen 1"
> +        Device  "fbdev Device 1"
> +        Monitor "Monitor 1"
> +EndSection
> +
> +Section "ServerLayout"
> +        Identifier      "Layout"
> +        Screen  "fbdev Screen 1"
> +        Screen  "fbdev Screen 2" Below "fbdev Screen 1"
> +	InputDevice "ts4" "CorePointer"
> +EndSection
> +
> +Section "InputDevice"
> +    Identifier "ts5"
> +    Driver "tslib"
> +    Option "Device" "/dev/input/bmi_lcd_ts5"
> +EndSection
> +
> +Section "InputDevice"
> +    Identifier "ts4"
> +    Driver "tslib"
> +    Option "Device" "/dev/input/bmi_lcd_ts4"
> +EndSection
> +
> +Section "ServerFlags"
> +	Option "AutoAddDevices" "false"
> +EndSection
> diff --git a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
> index 95aa82b..67fc683 100644
> --- a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
> +++ b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
> @@ -1,5 +1,5 @@
>  DESCRIPTION = "Machine specific xorg.conf files"
> -PR = "r4"
> +PR = "r5"
>  
>  SRC_URI = "file://xorg.conf"
>  
> -- 
> 1.6.5.2
> 
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list