commit 723a6f462001120068503e079f9bf14734182f93 parent ad9902d245ecfa1eb2ad46c25b93b4bd2643d127 Author: parazyd <parazyd@dyne.org> Date: Fri, 9 Feb 2018 15:14:48 +0100 Add droid4 rootfs-overlay Diffstat:
A | extra/droid4/etc/X11/xorg.conf.d/40-input.conf | | | 4 | ++++ |
A | extra/droid4/etc/X11/xorg.conf.d/40-ts.conf | | | 6 | ++++++ |
A | extra/droid4/etc/rc.local | | | 18 | ++++++++++++++++++ |
A | extra/droid4/etc/wpa_supplicant/wpa_supplicant.conf | | | 0 |
4 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/extra/droid4/etc/X11/xorg.conf.d/40-input.conf b/extra/droid4/etc/X11/xorg.conf.d/40-input.conf @@ -0,0 +1,4 @@ +Section "Monitor" + Identifier "DSI-1" + Option "Rotate" "right" +EndSection diff --git a/extra/droid4/etc/X11/xorg.conf.d/40-ts.conf b/extra/droid4/etc/X11/xorg.conf.d/40-ts.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "Atmel maXTouch Touchscreen" + Option "Calibration" "-5 964 1026 -7" + Option "SwapAxes" "1" +EndSection diff --git a/extra/droid4/etc/rc.local b/extra/droid4/etc/rc.local @@ -0,0 +1,18 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. + +## regen ssh keys on first boot +[ -f /etc/ssh/ssh_host_rsa_key.pub ] || ssh-keygen -A + +# droid4 lcd brightness +echo 200 > /sys/class/backlight/lcd/brightness + +exit 0 diff --git a/extra/droid4/etc/wpa_supplicant/wpa_supplicant.conf b/extra/droid4/etc/wpa_supplicant/wpa_supplicant.conf