--- /dev/null
+diff -Nru xorg-server-1.4.0.90_orig/hw/kdrive/src/kmode.c xorg-server-1.4.0.90/hw/kdrive/src/kmode.c
+--- xorg-server-1.4.0.90_orig/hw/kdrive/src/kmode.c
++++ xorg-server-1.4.0.90/hw/kdrive/src/kmode.c
+@@ -69,6 +69,12 @@
+ 0, 0, 0, KdSyncNegative,
+ },
+
++ /* at91sam9g45-ekes */
++ { 480, 272, 60, 0, /* VESA */
++ 0, 0, 0, KdSyncNegative, /* 31.469 */
++ 0, 0, 0, KdSyncNegative, /* 59.940 */
++ },
++
+ /* Other VESA modes */
+ { 640, 350, 85, 31500, /* VESA */
+ 32, 96, 192, KdSyncPositive, /* 26.413 */
+
+
--- /dev/null
+--- xorg-server-1.4.0.90/hw/kdrive/src/kmode.c.orig
++++ xorg-server-1.4.0.90/hw/kdrive/src/kmode.c
+@@ -75,6 +75,13 @@
+ 0, 0, 0, KdSyncNegative, /* 59.940 */
+ },
+
++ /* at91sam9m10-ekes */
++ { 800, 480, 60, 0,
++ 0, 0, 0, KdSyncNegative,
++ 0, 0, 0, KdSyncNegative,
++ },
++
++
+ /* Other VESA modes */
+ { 640, 350, 85, 31500, /* VESA */
+ 32, 96, 192, KdSyncPositive, /* 26.413 */
file://xorg-1.4-kdrive-rotation.patch \
file://split_multiple_AC_SUBST.patch \
file://vm86_masks.patch \
+ file://at91sam9-kmode.patch \
+ file://wvga-kmode.patch \
"
S = "${WORKDIR}/xorg-server-${PV}"
--- /dev/null
+Section "ServerLayout"
+ Identifier "default"
+ InputDevice "atmel-tsadcc" "CorePointer"
+EndSection
+
+Section "InputDevice"
+ Identifier "atmel-tsadcc"
+ Driver "evdev"
+ Option "Device" "/dev/input/touchscreen0"
+EndSection
+
+Section "InputDevice"
+ Driver "mouse"
+ Identifier "Mouse[1]"
+ Option "Buttons" "10"
+ Option "Device" "/dev/input/mice"
+EndSection
+
+Section "InputDevice"
+ Driver "kbd"
+ Identifier "Keyboard[0]"
+ Option "Protocol" "Standard"
+EndSection