[oe-commits] Ulf Samuelsson : Add X support for CAP9, SAM9RL, SAM9G10, SAM9G45 SAM9M10
git version control
git at git.openembedded.org
Thu Jan 27 22:52:44 UTC 2011
Module: openembedded.git
Branch: ulf/linux-2.6.30-2011-01-16
Commit: f264928b19189ae5dfaa267a52ed841de8eba90f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f264928b19189ae5dfaa267a52ed841de8eba90f
Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date: Thu Jan 27 23:47:57 2011 +0100
Add X support for CAP9, SAM9RL, SAM9G10, SAM9G45 SAM9M10
---
.../files/xserver-common-at91sam9.patch | 18 ++++++++++++++++++
recipes/xserver-common/xserver-common_1.22.bb | 4 +++-
2 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/recipes/xserver-common/files/xserver-common-at91sam9.patch b/recipes/xserver-common/files/xserver-common-at91sam9.patch
new file mode 100644
index 0000000..ae8a864
--- /dev/null
+++ b/recipes/xserver-common/files/xserver-common-at91sam9.patch
@@ -0,0 +1,18 @@
+diff -u xserver-common-1.22.old/X11/Xserver xserver-common-1.22/X11/Xserver
+--- xserver-common-1.22.old/X11/Xserver
++++ xserver-common-1.22/X11/Xserver
+@@ -100,8 +100,12 @@
+ ARGS="$ARGS -dpi 100 -screen 480x640 at 270" ;;
+ "HTC Tornado")
+ ARGS="$ARGS -dpi 100 -hide-cursor" ;;
+- "Atmel AT91SAM9261-EK" | "Atmel AT91SAM9263-EK")
+- ARGS="$ARGS -mouse tslib -dpi 100 -rgba bgr -screen 240x320" ;;
++ "Atmel AT91SAM9261-EK" | "Atmel AT91SAM9263-EK" | "Atmel AT91CAP9A-DK" | "Atmel AT91CAP9-STK")
++ ARGS="$ARGS -mouse tslib -dpi 100 -rgba bgr -screen 240x320" ;;
++ "Atmel AT91SAM9RL-EK" | "Atmel AT91SAM9G10-EK" )
++ ARGS="$ARGS -mouse tslib -dpi 100 -rgba rgb -screen 240x320" ;;
++ "Atmel AT91SAM9M10-EKES" | "Atmel AT91SAM9G45-EKES" | "Atmel AT91SAM9M10G45-EK")
++ ARGS="$ARGS -mouse tslib -rgba rgb -screen 480x272" ;;
+ "Generic OMAP1510/1610/1710" | "Nokia N770")
+ ARGS="$ARGS -dpi 225 -screen ${SCREEN_SIZE} -mouse tslib" ;;
+ "Nokia N800")
diff --git a/recipes/xserver-common/xserver-common_1.22.bb b/recipes/xserver-common/xserver-common_1.22.bb
index 160a3fd..d50614f 100644
--- a/recipes/xserver-common/xserver-common_1.22.bb
+++ b/recipes/xserver-common/xserver-common_1.22.bb
@@ -14,7 +14,9 @@ SRC_URI_append_angstrom = " file://kdrive-1.4-fixes.patch \
file://xorg-fixes.patch \
file://gta-xorg-fixes.patch \
file://default.xmodmap \
- file://98keymap-fixup "
+ file://98keymap-fixup \
+ file://xserver-common-at91sam9.patch "
+
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
More information about the Openembedded-commits
mailing list