Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
It seems that driver is loaded, screen changes from white to black... but it remains always black. I am really frustrated now. (i use a modern new raspbian jessie with pixel)
with an overlay like "rpi-display" it works without problems, but I want use modprobe because I have other tfts with sitronix st7735, st7789v..etc. and I had difficult to create/find a overlay for these one.
Is there somewhere a correct step by step instruction for modprobe and modern raspbian jessie (pixel)?
please find here an example which is not working (for ili9341):
Hello I try to use the modprobe like explained on https://github.com/notro/fbtft/wiki
It seems that driver is loaded, screen changes from white to black... but it remains always black. I am really frustrated now. (i use a modern new raspbian jessie with pixel)
with an overlay like "rpi-display" it works without problems, but I want use modprobe because I have other tfts with sitronix st7735, st7789v..etc. and I had difficult to create/find a overlay for these one.
Is there somewhere a correct step by step instruction for modprobe and modern raspbian jessie (pixel)?
please find here an example which is not working (for ili9341):
sudo modprobe fbtft_device custom name=fb_ili9341 buswidth=9 speed=32000000 rotate=270 fps=30 gpios=reset:23,dc:24
dmesg
[ 41.792874] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [ 41.798172] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned. [ 41.799548] spidev spi0.0: spidev spi0.0 500kHz 8 bits mode=0x00 [ 41.799567] spidev spi0.1: spidev spi0.1 500kHz 8 bits mode=0x00 [ 41.799603] bcm2708_fb soc:fb: soc:fb id=-1 pdata? no [ 41.799650] spidev spi0.0: Deleting spi0.0 [ 41.801070] fbtft_device: GPIOS used by 'fb_ili9341': [ 41.801085] fbtft_device: 'reset' = GPIO23 [ 41.801095] fbtft_device: 'dc' = GPIO24 [ 41.801112] spidev spi0.1: spidev spi0.1 500kHz 8 bits mode=0x00 [ 41.801127] spi spi0.0: fb_ili9341 spi0.0 32000kHz 8 bits mode=0x00 [ 41.806421] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned. [ 41.807627] fb_ili9341 spi0.0: 9-bit SPI not available, emulating using 8-bit. [ 42.124063] graphics fb1: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB DMA buffer memory, fps=33, spi0.0 at 32 MHz pi@raspberrypi:~ $
=> after this, display is getting from white to black. and I could measure with a logger some data only for a short time coming.
FRAMEBUFFER=/dev/fb1 startx
or
con2fbmap 1 1
nothing, nothing, still black :-(???
than I try in config.txt hdmi_force_hotplug=1 hdmi_cvt=320 240 60 1 0 0 0 hdmi_group=2 hdmi_mode=1 hdmi_mode=87
nothing, still black :-(???
change dev0 to dev1 in /usr/share/X11/xorg.conf.d/.99.....
still black :-(
pi@raspberrypi:~ $ pi@raspberrypi:~ $ ls /dev/fb* /dev/fb0 /dev/fb1 pi@raspberrypi:~ $
it seems that spi out is not working respectively is only switching ON for a short time? why?