summaryrefslogtreecommitdiff
path: root/recipes/detect-stylus/detect-stylus-0.13/extra-device-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/detect-stylus/detect-stylus-0.13/extra-device-check.patch')
-rw-r--r--recipes/detect-stylus/detect-stylus-0.13/extra-device-check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/detect-stylus/detect-stylus-0.13/extra-device-check.patch b/recipes/detect-stylus/detect-stylus-0.13/extra-device-check.patch
new file mode 100644
index 0000000000..94542b11aa
--- /dev/null
+++ b/recipes/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;