On Wed, Nov 2, 2016 at 8:11 AM, Manjukumar Matha
<[email protected]> wrote:
> Add X configuration for MPSoC
>
> Signed-off-by: Manjukumar Matha <[email protected]>
> ---
>  .../xserver-xf86-config/zynqmp/xorg.conf           | 27 
> ++++++++++++++++++++++
>  .../xorg-xserver/xserver-xf86-config_%.bbappend    |  1 +
>  2 files changed, 28 insertions(+)
>  create mode 100644 
> recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf
>  create mode 100644 
> recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
>
> diff --git 
> a/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf 
> b/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf
> new file mode 100644
> index 0000000..9ef3946
> --- /dev/null
> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf
> @@ -0,0 +1,27 @@
> +Section "InputDevice"
> +       Identifier      "System Mouse"
> +       Driver          "mouse"
> +       Option          "Device" "/dev/input/mouse0"
> +EndSection
> +
> +Section "InputDevice"
> +       Identifier      "System Keyboard"
> +       Driver          "kbd"
> +       Option          "Device" "/dev/input/event0"
> +EndSection

Are these config sections required? Considering there is no special
mouse/keyboard interface hw on zynqmp the xserver should be able to
auto configure the usb input devices?

Regards,
Nathan

> +
> +Section "Device"
> +        Identifier      "ZynqMP"
> +        Driver          "armsoc"
> +        Option          "DRI2"                  "true"
> +        Option          "DRI2_PAGE_FLIP"        "false"
> +        Option          "DRI2_WAIT_VSYNC"       "true"
> +        Option          "SWcursorLCD"           "false"
> +        Option          "DEBUG"                 "false"
> +EndSection
> +
> +Section "Screen"
> +        Identifier      "DefaultScreen"
> +        Device          "ZynqMP"
> +        DefaultDepth    16
> +EndSection
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend 
> b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
> new file mode 100644
> index 0000000..72d991c
> --- /dev/null
> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
> @@ -0,0 +1 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-xilinx mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-xilinx
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to