xerver-common : Add support for TI OSK board with Mistral LCD. From bug #3731.
authorAndrew Paulsen <andrew.paulsen@gmail.com>
Mon, 4 Feb 2008 16:23:21 +0000 (16:23 +0000)
committerPhilip Balister <philip@balister.org>
Mon, 4 Feb 2008 16:23:21 +0000 (16:23 +0000)
packages/xserver-common/files/ti-osk.patch [new file with mode: 0644]
packages/xserver-common/xserver-common_1.18.bb

diff --git a/packages/xserver-common/files/ti-osk.patch b/packages/xserver-common/files/ti-osk.patch
new file mode 100644 (file)
index 0000000..69d9335
--- /dev/null
@@ -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")
index bf7b049..6e3e2dd 100644 (file)
@@ -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"