mirror of
https://github.com/goodtft/LCD-show.git
synced 2026-06-17 09:24:16 +02:00
lcd driver
lcd driver
This commit is contained in:
6
usr/99-calibration.conf-28
Normal file
6
usr/99-calibration.conf-28
Normal file
@@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "3770 171 239 3892"
|
||||
Option "SwapAxes" "1"
|
||||
EndSection
|
||||
6
usr/99-calibration.conf-32
Normal file
6
usr/99-calibration.conf-32
Normal file
@@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "115 3700 3865 155"
|
||||
Option "SwapAxes" "1"
|
||||
EndSection
|
||||
6
usr/99-calibration.conf-35
Normal file
6
usr/99-calibration.conf-35
Normal file
@@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "3936 227 268 3880"
|
||||
Option "SwapAxes" "1"
|
||||
EndSection
|
||||
6
usr/99-calibration.conf-397
Normal file
6
usr/99-calibration.conf-397
Normal file
@@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "3865 158 289 3873"
|
||||
Option "SwapAxes" "1"
|
||||
EndSection
|
||||
6
usr/99-calibration.conf-43
Normal file
6
usr/99-calibration.conf-43
Normal file
@@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "535 3860 254 3883"
|
||||
Option "SwapAxes" "0"
|
||||
EndSection
|
||||
6
usr/99-calibration.conf-5
Normal file
6
usr/99-calibration.conf-5
Normal file
@@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "140 3951 261 3998"
|
||||
Option "SwapAxes" "0"
|
||||
EndSection
|
||||
16
usr/99-fbturbo.conf
Normal file
16
usr/99-fbturbo.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
# This is a minimal sample config file, which can be copied to
|
||||
# /etc/X11/xorg.conf in order to make the Xorg server pick up
|
||||
# and load xf86-video-fbturbo driver installed in the system.
|
||||
#
|
||||
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
|
||||
# output and error messages.
|
||||
# Run "man fbturbo" to get additional information about the extra
|
||||
# configuration options for tuning the driver.
|
||||
|
||||
Section "Device"
|
||||
Identifier "Allwinner A10/A13/A20 FBDEV"
|
||||
Driver "fbturbo"
|
||||
Option "fbdev" "/dev/fb1"
|
||||
|
||||
Option "SwapbuffersWait" "true"
|
||||
EndSection
|
||||
16
usr/99-fbturbo.conf-HDMI
Normal file
16
usr/99-fbturbo.conf-HDMI
Normal file
@@ -0,0 +1,16 @@
|
||||
# This is a minimal sample config file, which can be copied to
|
||||
# /etc/X11/xorg.conf in order to make the Xorg server pick up
|
||||
# and load xf86-video-fbturbo driver installed in the system.
|
||||
#
|
||||
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
|
||||
# output and error messages.
|
||||
# Run "man fbturbo" to get additional information about the extra
|
||||
# configuration options for tuning the driver.
|
||||
|
||||
Section "Device"
|
||||
Identifier "Allwinner A10/A13/A20 FBDEV"
|
||||
Driver "fbturbo"
|
||||
Option "fbdev" "/dev/fb0"
|
||||
|
||||
Option "SwapbuffersWait" "true"
|
||||
EndSection
|
||||
1
usr/cmdline.txt
Normal file
1
usr/cmdline.txt
Normal file
@@ -0,0 +1 @@
|
||||
dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
|
||||
72
usr/inittab
Normal file
72
usr/inittab
Normal file
@@ -0,0 +1,72 @@
|
||||
# /etc/inittab: init(8) configuration.
|
||||
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
|
||||
|
||||
# The default runlevel.
|
||||
id:2:initdefault:
|
||||
|
||||
# Boot-time system configuration/initialization script.
|
||||
# This is run first except when booting in emergency (-b) mode.
|
||||
si::sysinit:/etc/init.d/rcS
|
||||
|
||||
# What to do in single-user mode.
|
||||
~~:S:wait:/sbin/sulogin
|
||||
|
||||
# /etc/init.d executes the S and K scripts upon change
|
||||
# of runlevel.
|
||||
#
|
||||
# Runlevel 0 is halt.
|
||||
# Runlevel 1 is single-user.
|
||||
# Runlevels 2-5 are multi-user.
|
||||
# Runlevel 6 is reboot.
|
||||
|
||||
l0:0:wait:/etc/init.d/rc 0
|
||||
l1:1:wait:/etc/init.d/rc 1
|
||||
l2:2:wait:/etc/init.d/rc 2
|
||||
l3:3:wait:/etc/init.d/rc 3
|
||||
l4:4:wait:/etc/init.d/rc 4
|
||||
l5:5:wait:/etc/init.d/rc 5
|
||||
l6:6:wait:/etc/init.d/rc 6
|
||||
# Normally not reached, but fallthrough in case of emergency.
|
||||
z6:6:respawn:/sbin/sulogin
|
||||
|
||||
# What to do when CTRL-ALT-DEL is pressed.
|
||||
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
|
||||
|
||||
# Action on special keypress (ALT-UpArrow).
|
||||
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
|
||||
|
||||
# What to do when the power fails/returns.
|
||||
pf::powerwait:/etc/init.d/powerfail start
|
||||
pn::powerfailnow:/etc/init.d/powerfail now
|
||||
po::powerokwait:/etc/init.d/powerfail stop
|
||||
|
||||
# /sbin/getty invocations for the runlevels.
|
||||
#
|
||||
# The "id" field MUST be the same as the last
|
||||
# characters of the device (after "tty").
|
||||
#
|
||||
# Format:
|
||||
# <id>:<runlevels>:<action>:<process>
|
||||
#
|
||||
# Note that on most Debian systems tty7 is used by the X Window System,
|
||||
# so if you want to add more getty's go ahead but skip tty7 if you run X.
|
||||
#
|
||||
1:2345:respawn:/sbin/getty --noclear 38400 tty1
|
||||
2:23:respawn:/sbin/getty 38400 tty2
|
||||
3:23:respawn:/sbin/getty 38400 tty3
|
||||
4:23:respawn:/sbin/getty 38400 tty4
|
||||
5:23:respawn:/sbin/getty 38400 tty5
|
||||
6:23:respawn:/sbin/getty 38400 tty6
|
||||
|
||||
# Example how to put a getty on a serial line (for a terminal)
|
||||
#
|
||||
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
|
||||
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
|
||||
|
||||
# Example how to put a getty on a modem line.
|
||||
#
|
||||
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
|
||||
|
||||
|
||||
#Spawn a getty on Raspberry Pi serial line
|
||||
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
|
||||
13
usr/modules-HDMI
Normal file
13
usr/modules-HDMI
Normal file
@@ -0,0 +1,13 @@
|
||||
# /etc/modules: kernel modules to load at boot time.
|
||||
#
|
||||
# This file contains the names of kernel modules that should be loaded
|
||||
# at boot time, one per line. Lines beginning with "#" are ignored.
|
||||
# Parameters can be specified after the module name.
|
||||
|
||||
snd-bcm2835
|
||||
i2c-bcm2708
|
||||
i2c-dev
|
||||
|
||||
#flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0x55,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x00,0x00,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0x36,0x28,-1,0x11,-1,0x29,-3
|
||||
#fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset:25,dc:24
|
||||
#ads7846_device model=7846 cs=1 gpio_pendown=17 keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900
|
||||
BIN
usr/tft35a-overlay.dtb
Normal file
BIN
usr/tft35a-overlay.dtb
Normal file
Binary file not shown.
BIN
usr/tft9341-overlay.dtb
Normal file
BIN
usr/tft9341-overlay.dtb
Normal file
Binary file not shown.
Reference in New Issue
Block a user