From 615a98ed9a021da245513790c064761a0a5a67e9 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 25 May 2010 15:36:14 +0100 Subject: busybox: bump to 1.15.3 from OE Import the 1.15.3 recipe from OpenEmbedded and tweak to match Poky style Signed-off-by: Joshua Lock --- meta/packages/busybox/files/find-touchscreen.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta/packages/busybox/files/find-touchscreen.sh (limited to 'meta/packages/busybox/files/find-touchscreen.sh') diff --git a/meta/packages/busybox/files/find-touchscreen.sh b/meta/packages/busybox/files/find-touchscreen.sh new file mode 100644 index 000000000..1582ea891 --- /dev/null +++ b/meta/packages/busybox/files/find-touchscreen.sh @@ -0,0 +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 -- cgit v1.2.3