Index: scripts/run.sh =================================================================== diff -u -r081df84b4b81ab39296f42c3c7e91deb021b8979 -r3eb57da8493fbc9efac078cb43300643a7e54dd6 --- scripts/run.sh (.../run.sh) (revision 081df84b4b81ab39296f42c3c7e91deb021b8979) +++ scripts/run.sh (.../run.sh) (revision 3eb57da8493fbc9efac078cb43300643a7e54dd6) @@ -70,24 +70,6 @@ fi -#test the touch screen -------------------- Touch -post_log_dash " Touch " -# when successfully connected and can be loaded -# Sitronix touch driver 2.10.2 Release date: 20180809 -# atmel_mxt_ts 3-004a: Direct firmware load for maxtouch.cfg failed with error -2 -# atmel_mxt_ts 3-004a: Touchscreen size X1279Y799 -# input: Atmel maXTouch Touchscreen as /devices/platform/soc@0/soc@0:bus@30800000/30a50000.i2c/i2c-3/3-004a/input/input2 -# When NOT connected -# Sitronix touch driver 2.10.2 Release date: 20180809 -TSTEST="$(dmesg | grep "input: Atmel maXTouch Touchscreen as ")" -if [ "$?" -eq 0 ]; then - post_log_pass "$POSTMSG_TOUCH$POSTMSG_POSTFIX_PASSED" - post_log "$TSTEST" -else - post_log_fail "$POSTMSG_TOUCH$POSTMSG_POSTFIX_FAILED" -fi - - #test the RTC ----------------------------- RTC post_log_dash " RTC" #may not be an accurate test but sufficient for now @@ -119,6 +101,24 @@ fi +#test the touch screen -------------------- Touch +post_log_dash " Touch " +# when successfully connected and can be loaded +# Sitronix touch driver 2.10.2 Release date: 20180809 +# atmel_mxt_ts 3-004a: Direct firmware load for maxtouch.cfg failed with error -2 +# atmel_mxt_ts 3-004a: Touchscreen size X1279Y799 +# input: Atmel maXTouch Touchscreen as /devices/platform/soc@0/soc@0:bus@30800000/30a50000.i2c/i2c-3/3-004a/input/input2 +# When NOT connected +# Sitronix touch driver 2.10.2 Release date: 20180809 +TSTEST="$(dmesg | grep "input: Atmel maXTouch Touchscreen as ")" +if [ "$?" -eq 0 ]; then + post_log_pass "$POSTMSG_TOUCH$POSTMSG_POSTFIX_PASSED" + post_log "$TSTEST" +else + post_log_fail "$POSTMSG_TOUCH$POSTMSG_POSTFIX_FAILED" +fi + + # ----------------------------------------- WiFi post_log_dash " WiFi "