pmaports/device/testing/device-motorola-shamu/initfs-hook.sh
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

9 lines
343 B
Bash

#!/bin/sh
# enable touchscreen
echo 1 > /sys/devices/f9966000.i2c/i2c-1/1-004a/drv_irq
# write to screen brightness to fix black screen after splash
cat /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.164/leds/lcd-backlight/brightness > \
/sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.164/leds/lcd-backlight/brightness