diff options
author | 2011-08-24 17:37:49 -0500 | |
---|---|---|
committer | 2011-08-24 17:37:49 -0500 | |
commit | e18f04a0ee21e68c6e1c1f6e842caf63f31bc459 (patch) | |
tree | c98c97f8d010d19ec47eee887355c81c3aefc57b | |
parent | ea62737c4f32eb64eb6d7751b067f9c5bdccdb9a (diff) | |
download | meta-fsl-arm-e18f04a0ee21e68c6e1c1f6e842caf63f31bc459.tar.gz meta-fsl-arm-e18f04a0ee21e68c6e1c1f6e842caf63f31bc459.tar.bz2 meta-fsl-arm-e18f04a0ee21e68c6e1c1f6e842caf63f31bc459.zip |
xserver-xf86-config: custom xorg.conf file for iMx targets
* Custom xorg config file for iMx targets
* Binds eGalaxy touchscreen to use evdev driver
* Sets framebuffet to use imx driver
Signed-off-by: Adrian Alonso <b38018@freescale.com>
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf | 45 | ||||
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 4 |
2 files changed, 49 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf new file mode 100644 index 0000000..bbb1f53 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf @@ -0,0 +1,45 @@ +Section "InputDevice" + Identifier "Generic Keyboard" + Driver "kbd" + Option "XkbRules" "xorg" + Option "XkbModel" "pc105" + Option "XkbLayout" "us" +EndSection + +Section "InputDevice" + Identifier "Configured Mouse" + Driver "mouse" + Option "CorePointer" +EndSection + +Section "InputClass" + Identifier "eGalax" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "Device" + Identifier "i.MX Accelerated Framebuffer Device" + Driver "imx" + Option "fbdev" "/dev/fb0" + # This option only recognized when "mxc_epdc_fb" frame buffer driver in + # use. Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray), + # and "Y8INV" (8-bit gray inverted). + Option "FormatEPDC" "Y8INV" +EndSection + +Section "Monitor" + Identifier "Configured Monitor" +EndSection + +Section "Screen" + Identifier "Default Screen" + Monitor "Configured Monitor" + Device "i.MX Accelerated Framebuffer Device" +EndSection + +Section "ServerLayout" + Identifier "Default Layout" + Screen "Default Screen" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend new file mode 100644 index 0000000..e6c5a53 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -0,0 +1,4 @@ +# Append path for freescale layer to include bsp xorg.conf +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" + |