summaryrefslogtreecommitdiff
path: root/openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-06-12 12:47:18 +0000
committerRichard Purdie <richard@openedhand.com>2006-06-12 12:47:18 +0000
commit8a3e00ff657a8404aa6423dd3167b5611017b361 (patch)
tree31252a16e7904a1a7a70e93a5a7adf7e08c5ffff /openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch
parent156c652e216f9ee2ecc41376f6e59cfb5ac4515d (diff)
downloadopenembedded-core-8a3e00ff657a8404aa6423dd3167b5611017b361.tar.gz
openembedded-core-8a3e00ff657a8404aa6423dd3167b5611017b361.tar.bz2
openembedded-core-8a3e00ff657a8404aa6423dd3167b5611017b361.tar.xz
openembedded-core-8a3e00ff657a8404aa6423dd3167b5611017b361.zip
detect-stylus: Add for now until I teach udev how to do this instead
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@463 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch')
-rw-r--r--openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch b/openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch
new file mode 100644
index 000000000..94542b11a
--- /dev/null
+++ b/openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch
@@ -0,0 +1,13 @@
+diff -urNd ../detect-stylus-0.13-r1/detect-stylus-0.13/detect-stylus.c detect-stylus-0.13/detect-stylus.c
+--- ../detect-stylus-0.13-r1/detect-stylus-0.13/detect-stylus.c 2004-09-08 16:56:58.000000000 +0100
++++ detect-stylus-0.13/detect-stylus.c 2004-09-18 23:43:12.000000000 +0100
+@@ -62,6 +62,9 @@
+ if (fd < 0)
+ fd = try_open ("/dev/touchscreen/ucb1x00");
+
++ if (fd < 0)
++ fd = try_open ("/dev/ts");
++
+ if (fd < 0)
+ {
+ DIR *d;