I have an LCD-PI32 3.2 provided from hwlevel.com. This was working great with their kernel modules provided for 3, however after I recently upgraded my Rapsberry Pi to kernel 4 it is no longer working for me.
I read somewhere that kernel 4 completely remapped the way modules are seen by the kernel.
I have tried to use the available modules that are apparently now built in, but these do not work for me since I am ignorant on what I am doing here.
The first problems is the modules I had are not being loaded. spi-bcm2708 ssd1289 and ads7846
# lsmod Module Size Used by fbtft_device 35066 0 fb_ssd1289 5269 0 fbtft 34216 2 fb_ssd1289,fbtft_device syscopyarea 3113 1 fbtft sysfillrect 3592 1 fbtft sysimgblt 2286 1 fbtft fb_sys_fops 1573 1 fbtft snd_bcm2835 22317 0 snd_pcm 92581 1 snd_bcm2835 snd_seq 61957 0 snd_seq_device 5130 1 snd_seq snd_timer 23454 2 snd_pcm,snd_seq snd 68161 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device spi_bcm2835 7948 0 bcm2835_gpiomem 3703 0 uio_pdrv_genirq 3690 0 uio 10002 1 uio_pdrv_genirq
Loading these manually does not help and configuring these to load at boot time is still a no go.
I try using a custom setting based off the schematic layout sheet provided.
#modprobe fbtft_device custom name=ssd1289 speed=32000000 buswidth=8 gpios=reset:8,led:30,dc:5 [1937509.812706] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [1937509.822692] fb_ssd1289: module is from the staging directory, the quality is unknown, you have been warned. [1937532.696205] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned. [1937532.700286] fbtft_device: SPI devices registered: [1937532.700335] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00 [1937532.700355] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00 [1937532.700371] fbtft_device: 'fb' Platform devices registered: [1937532.700414] fbtft_device: soc:fb id=-1 pdata? no [1937532.700502] fbtft_device: Deleting spi0.0 [1937532.703874] spi spi0.0: setting up native-CS0 as GPIO 8 [1937532.704071] fbtft_device: GPIOS used by 'ssd1289': [1937532.704093] fbtft_device: 'reset' = GPIO8 [1937532.704110] fbtft_device: 'led' = GPIO30 [1937532.704123] fbtft_device: 'dc' = GPIO5 [1937532.704134] fbtft_device: SPI devices registered: [1937532.704150] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00 [1937532.704165] fbtft_device: ssd1289 spi0.0 32000kHz 8 bits mode=0x00
My screen will flash for a brief moment and then goes black again. And then after a few moments the Pi becomes frozen and I have to do a hard reset on it.
I'm really lost at this point and any information would be helpful.