[meta-xilinx] [PATCH 2/2] xserver-xf86-config: Add xorg.conf
Manjukumar Harthikote Matha
manjukumar.harthikote-matha at xilinx.com
Tue Nov 8 18:37:09 PST 2016
Hi Nathan,
On 11/02/2016 07:28 AM, Nathan Rossi wrote:
> On Wed, Nov 2, 2016 at 8:11 AM, Manjukumar Matha
> <manjukumar.harthikote-matha at xilinx.com> wrote:
>> Add X configuration for MPSoC
>>
>> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
>> ---
>> .../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?
>
We needed this while testing on Qt, without it we were facing issue with
KB and mouse
Thanks
Manju
> 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
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list