summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Paulsen <andrew.paulsen@gmail.com>2008-02-04 16:23:21 +0000
committerPhilip Balister <philip@balister.org>2008-02-04 16:23:21 +0000
commitf1137491d832b77436448bd942bc0c42df6488d4 (patch)
tree33408fde43810681499a472770cbe77d8069d3cb
parent750bedd21a734b8032998aff4574c79abf547182 (diff)
xerver-common : Add support for TI OSK board with Mistral LCD. From bug #3731.
-rw-r--r--packages/xserver-common/files/ti-osk.patch12
-rw-r--r--packages/xserver-common/xserver-common_1.18.bb2
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/xserver-common/files/ti-osk.patch b/packages/xserver-common/files/ti-osk.patch
new file mode 100644
index 0000000000..69d93350fc
--- /dev/null
+++ b/packages/xserver-common/files/ti-osk.patch
@@ -0,0 +1,12 @@
+diff -Naur xserver-common-1.18-orig/X11/Xserver xserver-common-1.18/X11/Xserver
+--- xserver-common-1.18-orig/X11/Xserver 2007-08-24 06:15:25.000000000 -0500
++++ xserver-common-1.18/X11/Xserver 2008-01-12 19:59:59.000000000 -0600
+@@ -76,6 +76,8 @@
+ ARGS="$ARGS -dpi 100 -rgba rgb" ;;
+ "Generic OMAP1510/1610/1710")
+ ARGS="$ARGS -dpi 220 -mouse /dev/input/event0" ;;
++ "TI-OSK")
++ ARGS="$ARGS -dpi 100 -mouse tslib" ;;
+ "Cellon C8000 Board")
+ ARGS="$ARGS -dpi 100 -screen 240x320,10,1" ;;
+ "HTC Universal")
diff --git a/packages/xserver-common/xserver-common_1.18.bb b/packages/xserver-common/xserver-common_1.18.bb
index bf7b049939..6e3e2dd1ed 100644
--- a/packages/xserver-common/xserver-common_1.18.bb
+++ b/packages/xserver-common/xserver-common_1.18.bb
@@ -9,7 +9,7 @@ PACKAGE_ARCH = "all"
# we are using a gpe-style Makefile
inherit gpe
-SRC_URI_append = " file://unbreak-simpad.patch;patch=1 file://setDPI.sh "
+SRC_URI_append = " file://ti-osk.patch;patch=1 file://unbreak-simpad.patch;patch=1 file://setDPI.sh "
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"