[oe-commits] Marcin Juszkiewicz : busybox/mdev: support devices with ads7846 touchscreen and wrong modalias
GIT User account
git at amethyst.openembedded.net
Fri Jan 16 14:55:07 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 74c7fba31d7f8e9431534a0c78db3ba224f416ec
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=74c7fba31d7f8e9431534a0c78db3ba224f416ec
Author: Marcin Juszkiewicz <hrw at koansoftware.com>
Date: Tue Jan 13 18:19:39 2009 +0100
busybox/mdev: support devices with ads7846 touchscreen and wrong modalias
---
packages/busybox/busybox_1.13.2.bb | 2 +-
packages/busybox/files/find-touchscreen.sh | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/packages/busybox/busybox_1.13.2.bb b/packages/busybox/busybox_1.13.2.bb
index 7a57315..1451e4a 100644
--- a/packages/busybox/busybox_1.13.2.bb
+++ b/packages/busybox/busybox_1.13.2.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r2"
+PR = "r3"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/packages/busybox/files/find-touchscreen.sh b/packages/busybox/files/find-touchscreen.sh
index 34835e7..1582ea8 100644
--- a/packages/busybox/files/find-touchscreen.sh
+++ b/packages/busybox/files/find-touchscreen.sh
@@ -1,7 +1,9 @@
#!/bin/sh
-
-
if [ `egrep "input:.*-e0.*,3,.*a0,1,.*18,.*" /sys/class/input/$MDEV/device/modalias|wc -l` -gt 0 ]; then
ln -sf /dev/input/$MDEV /dev/input/touchscreen0
fi
+
+if [ `egrep "ads7846" /sys/class/input/$MDEV/device/modalias|wc -l` -gt 0 ]; then
+ ln -sf /dev/input/$MDEV /dev/input/touchscreen0
+fi
More information about the Openembedded-commits
mailing list