pmaports/device/device-pine-dontbeevil/load_touchscreen.sh
Martijn Braam 74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00

10 lines
166 B
Bash

#!/bin/sh
# Keep reloading the touchscreen driver until the probe is successful
while ! [ -d /dev/input ] ;
do
rmmod edt_ft5x06
modprobe edt_ft5x06
sleep 2
done