summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Alonso <b38018@freescale.com>2011-08-24 17:37:49 -0500
committerAdrian Alonso <b38018@freescale.com>2011-08-24 17:37:49 -0500
commite18f04a0ee21e68c6e1c1f6e842caf63f31bc459 (patch)
treec98c97f8d010d19ec47eee887355c81c3aefc57b
parentea62737c4f32eb64eb6d7751b067f9c5bdccdb9a (diff)
downloadmeta-fsl-arm-e18f04a0ee21e68c6e1c1f6e842caf63f31bc459.tar.gz
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.conf45
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend4
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 @@
1Section "InputDevice"
2 Identifier "Generic Keyboard"
3 Driver "kbd"
4 Option "XkbRules" "xorg"
5 Option "XkbModel" "pc105"
6 Option "XkbLayout" "us"
7EndSection
8
9Section "InputDevice"
10 Identifier "Configured Mouse"
11 Driver "mouse"
12 Option "CorePointer"
13EndSection
14
15Section "InputClass"
16 Identifier "eGalax"
17 MatchIsTouchscreen "on"
18 MatchDevicePath "/dev/input/event*"
19 Driver "evdev"
20EndSection
21
22Section "Device"
23 Identifier "i.MX Accelerated Framebuffer Device"
24 Driver "imx"
25 Option "fbdev" "/dev/fb0"
26 # This option only recognized when "mxc_epdc_fb" frame buffer driver in
27 # use. Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
28 # and "Y8INV" (8-bit gray inverted).
29 Option "FormatEPDC" "Y8INV"
30EndSection
31
32Section "Monitor"
33 Identifier "Configured Monitor"
34EndSection
35
36Section "Screen"
37 Identifier "Default Screen"
38 Monitor "Configured Monitor"
39 Device "i.MX Accelerated Framebuffer Device"
40EndSection
41
42Section "ServerLayout"
43 Identifier "Default Layout"
44 Screen "Default Screen"
45EndSection
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 @@
1# Append path for freescale layer to include bsp xorg.conf
2THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
3FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
4