From 8a3e00ff657a8404aa6423dd3167b5611017b361 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 12 Jun 2006 12:47:18 +0000 Subject: 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 --- .../detect-stylus-0.13/extra-device-check.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch (limited to 'openembedded/packages/detect-stylus/detect-stylus-0.13/extra-device-check.patch') 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; -- cgit v1.2.3