]> code.ossystems Code Review - openembedded-core.git/commit
busybox/find-touchscreen.sh: Simplify script and recognize USB devices
authormike.looijmans@topic.nl <mike.looijmans@topic.nl>
Thu, 18 Dec 2014 14:17:29 +0000 (15:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 18:06:46 +0000 (18:06 +0000)
commite82353eb9f76b582122fda27c93339eac5553eb2
treeff96c8430e8f267fe5fc28f6f85e6d22a8d0b822
parent44f6df0dfac54845ef5c3ab1af5663d1b6c1d64b
busybox/find-touchscreen.sh: Simplify script and recognize USB devices

Simplify the grep expression, use the more common "grep" command instead
of "egrep", avoid forking extra processes, join multiple invokations into
a single combined expression.

Change the touchscreen regex so that it also recognizes various USB
touchscreen controllers and the ad7879 i2c device.

Based on code used in OpenPLi and meta-topic.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/busybox/files/find-touchscreen.sh