pmaports/device/testing/device-motorola-ali/initfs-hook.sh
Julian Braha 606b723450
motorola-ali: new device (Motorola Moto G6) (MR 1071)
[ci:skip-build] already built on CI in MR
2020-04-19 02:17:28 +03:00

7 lines
172 B
Bash

#!/bin/sh
# enable touchscreen
echo 1 > /sys/devices/soc/78b7000.i2c/i2c-3/3-0020/drv_irq
# fixes the "boot to black screen" issue
echo 0 0 > /sys/class/graphics/fb0/pan