diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-05-25 15:36:14 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-05-25 15:36:14 +0100 |
commit | 615a98ed9a021da245513790c064761a0a5a67e9 (patch) | |
tree | cba72ce890e46d97e86edc2845dd379f98712907 /meta/packages/busybox/files/find-touchscreen.sh | |
parent | cd62d697e1c746bad6dd29030f03a36750a1957e (diff) | |
download | poky-615a98ed9a021da245513790c064761a0a5a67e9.tar.gz |
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 <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/busybox/files/find-touchscreen.sh')
-rw-r--r-- | meta/packages/busybox/files/find-touchscreen.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/packages/busybox/files/find-touchscreen.sh b/meta/packages/busybox/files/find-touchscreen.sh new file mode 100644 index 0000000000..1582ea891c --- /dev/null +++ b/meta/packages/busybox/files/find-touchscreen.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ `egrep "input:.*-e0.*,3,.*a0,1,.*18,.*" /sys/class/input/$MDEV/device/modalias|wc -l` -gt 0 ]; then | ||
4 | ln -sf /dev/input/$MDEV /dev/input/touchscreen0 | ||
5 | fi | ||
6 | |||
7 | if [ `egrep "ads7846" /sys/class/input/$MDEV/device/modalias|wc -l` -gt 0 ]; then | ||
8 | ln -sf /dev/input/$MDEV /dev/input/touchscreen0 | ||
9 | fi | ||