tft display unbuntu quotation

I have a 2.2" TFT-LCD and an ARM-based board(nanopi-m1) with Ubuntu-server-16.04 on it. I have a framebuffer driver named NOTRO(https://github.com/notro/fbtft) that uses fbtft support on kernel and makes my display work by this commands:

Leadtek has paid great efforts on research and development of TFT-LCM, especially on its application of consumable and industrial products. The sizes of LCM includes 1.4”, 2.4”, 3.5", 3.51", 4.3", 4", 5", 7", 8", 10.1” and 11.6". And among them the 3.5”, 4.3", 5", 7” and 10.1" LCM has achieved the leading level of the industry, and mainly applied to vehicle-applications, tablet PCs, smartphones, medical equipment, measurement equipment, E-books, EPC and industrial products, and provides powerful and reliable supports on supplies and qualities. We are cooperating with famous foreign companies on research and developments, and will bring out the series products of industrial control. Also, we explore the overseas market, and build up a long-term relationship with our overseas partners and agents, Leadtek products will be worldwide in the near future.

You can rotate the data on the LCD display on your Linux device. As you are not specified what kind of Linux distribution and kernel version you are using it is possible to appears some problems or restrictions with some releases with landscape or portrait orientation. Therefore I suggest you to start with rotation at 180 degrees as first step with the following sequence of commands:

Focus LCDs can provide many accessories to go with your display. If you would like to source a connector, cable, test jig or other accessory preassembled to your LCD (or just included in the package), our team will make sure you get the items you need.Get in touch with a team member today to accessorize your display!
Focus Display Solutions (aka: Focus LCDs) offers the original purchaser who has purchased a product from the FocusLCDs.com a limited warranty that the product (including accessories in the product"s package) will be free from defects in material or workmanship.

Hey guys, I"ve spent the last couple of weeks trying to get a TFT display with touch screen to work on my Orange Pi PC board, and I"ve decided to share my step-by-step solution here. This tutorial is heavily based on Guide: How to use Touchscreen + LCD on H3 devices by Kutysam, but I had to do some extra steps for it to work properly. This tutorial is only for Mainline kernel, I was able to get the graphical screen working with Kutysam"s guide for Legacy, but couldn"t make the touch work.
Also, I am using the image Armbian_5.38_Orangepipc_Debian_stretch_next_4.14.14_desktop, but it should work for the headless version (server) too, if you install a display manager, desktop environment and the X server.
Now we need to configure fbtft and fbtft_device on boot. Note: I had to put "98" in the start of the filename, or else I"d get the following error: "fbtft_device: spi_busnum_to_master(0) returned NULL" in dmesg after I installed the touchscreen. I believe it has something to do with the load order, so if you"re having problems with this file you could try changing the prefix to 99 or removing it.
And reboot. At this point your screen should at least turn black. For me, the GUI wouldn"t load unless I typed "startx" on the console. So this is how I fixed it to always display the GUI on boot:
Test your display to see if it works. This matrix worked best for me, but you might need to tweak it. Refer to this guide for more info on how coordinate transformation matrices work.
If you have multiple users logging in the session displayed on your screen, you might need to add this file for every user. ".xsessionrc" was the only file where I could get this working.

The TFT isn"t "plug & play" with the Raspberry, a patch has to be applied to the kernel to be able to interface via SPI with the ST7735R controller chip on the TFT. Once working, the display will act as a framebuffer device.
If you are planning on displaying the console on the TFT, then enabling these options in .config will allow you to change the font size and rotate the display later on.
If you build the st7735 driver pair as built-in, add these options to the end of the line in /boot/cmdline.txt. This will display the console on the TFT.

TFT displays are full color LCDs providing bright, vivid colors with the ability to show quick animations, complex graphics, and custom fonts with different touchscreen options. Available in industry standard sizes and resolutions. These displays come as standard, premium MVA, sunlight readable, or IPS display types with a variety of interface options including HDMI, SPI and LVDS. Our line of TFT modules include a custom PCB that support HDMI interface, audio support or HMI solutions with on-board FTDI Embedded Video Engine (EVE2).

I finally received my 3.5" KeDei 480x320 16bit/18bit version 3.0 TFT LCD touchscreen from Hong Kong. It only connects through the GPIO pins. I plugged it into my Raspberry Pi 2 and I was met with a white screen when I tried both the Ubuntu and Raspbian images.

ASI-T-1302A10SPN/A is a 1.3 inch all-view TFT display with a resolution of 240 x 240, SPI interface, and a high brightness of 1000 Nits, ideal for outdoor viewing.
ASI-T-1402A8SCN/A is a 1.4 inch TFT with a resolution of 240 x 240, IPS all-view, CPU and SPI interface, and a high brightness of 800 Nits, ideal for sunlight viewing.
ASI-T-17711A1SPN/D is a 1.77 inch transflective TFT with a resolution of 160 x 128, SPI interface and with a brightness of 110 Nits; viewable in direct sunlight.
ASI-T-20043A5PMN/AY is a 2.0 inch TFT with a resolution of 480 x 360, 3W SPI+16 bit RGB or MIPI interface, IPS all view, with a high brightness of 500 Nits.
ASI-T-240DA8BN/D is a 2.4 inch high brightness TFT with a resolution of 240 X 320, CPU 16-bit interface and with a brightness of 800 Nits; viewable in direct sunlight.
ASI-T-240DA10SMN/AQ is a 2.4 inch high brightness TFT with a resolution of 240 x 320, SPI & MCU interface, IPS all-angle view and with a brightness of 1000 Nits; viewable in direct sunlight. It also features an extra wide operating temperatures of -30 to +80C; perfect for extreme environmental applications.
ASI-T-240DAKBN/D is a 2.4 inch high brightness TFT with a resolution of 240 x 320, MCU interface and with a brightness of 1000 Nits; viewable in direct sunlight.
ASI-T-283DAKCRN/A is a 2.83 inch high brightness TFT with a resolution of 240 x 320, CPU, RGB, SPI interface and with a brightness of 1000 Nits; viewable in direct sunlight
ASI-T-3501RA1EN/A is a 3.5 inch TFT with a resolution of 480 x 640, 18 bit RGB, All View interface and with a brightness of 120 Nits; viewable in direct sunlight
ASI-T-3501RA1EN/D is a 3.5 inch TFT with a resolution of 480 x 640, 18-bit DBI Type B, All View interface and with a brightness of 120 Nits; viewable in direct sunlight
Ms.Josey
Ms.Josey