summaryrefslogtreecommitdiff
path: root/packages/xserver-common
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xserver-common')
-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"