Closed geizio closed 6 years ago
Greetings, notro
I have now tried to use fbtft_device with a completely different raspberry pi (the first model instead of my zero w) and a different display (a 2.2" ili9341 tft instead of my 2.2" ili9340c tft). The adafruit ili9341 library, con2fbmap 1 1
, and FRAMEBUFFER=/dev/fb1 startx
did not work on either of them. I also connected the ili9341 to my raspberry pi without soldering via breadboard therefor this is not a soldering issue. Still no luck.
Once again, thanks for your attention. I’m looking forward to your reply.
A white display usually comes down to either miswiring (or faulty) or a wrong initialization sequence. If everything is working it should come up as a backlit black screen (all pixels are zero). Running this should give you a console on the tft:
$ sudo modprobe fbtft_device name=adafruit22a
# check that it was registered
$ cat /sys/bus/spi/devices/spi0.0/modalias
fb_ili9340 or something
$ dmesg
there should be a fb_ili9340 registration message
# this should give a console
$ con2fbmap 1 1
Thank you. I tried con2fbmap 1 1
on both displays and dmesg said my displays were being registered but nothing happened. I have decided to try something else now.
Thanks again
Greetings, notro
I have this ILI9340 2.2" diagonal LCD TFT display from Adafruit. I have wired it to my Raspberry Pi Zero W according to this http://www.sudomod.com/forum/viewtopic.php?t=2312 forum with some help from https://learn.adafruit.com/user-space-spi-tft-python-library-ili9341-2-8/wiring. This is my first time soldering. I used a multimeter to verify that none of the connections were touching each other.
I am using the latest version of Raspbian Stretch as of today, Saturday, December 23 2017. I have followed a countless number of guides for setting the display up including yours. The most useful so far has been:
from https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=66968. When I run
FRAMEBUFFER=/dev/fb1 startx
, my HDMI screen goes black accept for the terminal and my tft display does not change (it stays white). when I runcon2fbmap 1 1
, my HDMI screen does not change and it stays fully functional while my tft display does not change either (it stays white). The tft display always stays completely white accept for under two conditions:I have fb1, fb0, and the spidevs located in /dev folder. From all of this and the dmesg fbtft I really think that the tft display should already be working.
I had also started this forum at raspberrypi.org for some related issues.
Thanks for your attention. I’m looking forward to your reply.