I accidentally purchased the 320x240 Capacitive Touch (rather than the newer model) with my new Raspberry Pi 2, and I can't get the screen to work. I have tried using both stock Raspbian with the install script from Adafruit on top and downloading the custom Adafruit image for the screen. In both cases, I am experiencing a completely white screen no matter what I do—not even when I tell the Pi to shutdown -h now
does it turn off.
From what I can glean from dmesg
, it looks like a compatibility issue since it is an old screen and a newer model Pi.
[ 218.596187] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 218.597148] fbtft_device: SPI devices registered:
[ 218.597169] fbtft_device: ili9340 spi0.0 32000kHz 8 bits mode=0x00
[ 218.597177] fbtft_device: 'fb' Platform devices registered:
[ 218.597201] fbtft_device: soc:fb id=-1 pdata? no
[ 218.597241] fbtft_device: display not supported: 'adafruitts'
Further, from other threads, a suggestion was sudo modprobe spi-bcm2708
and sudo modprobe fbtft_device name=adafruitts rotate=90
- which landed me with
pi@raspberrypi ~ $ sudo modprobe spi-bcm2708
ERROR: could not insert 'spi_bcm2708': No such device
pi@raspberrypi ~ $ sudo modprobe fbtft_device name=adafruitts rotate=90
ERROR: could not insert 'fbtft_device': Invalid argument
Thanks in advance for any help you might be able to render.
Edited to add:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy
$ uname -a
Linux raspberrypi 4.0.8-v7+ #805 SMP PREEMPT Thu Jul 16 18:46:20 BST 2015 armv7l GNU/Linux
$ /opt/vc/bin/vcgencmd version
Jul 16 2015 19:17:28
Copyright (c) 2012 Broadcom
version bc619b5e5aa64f2b5fdd24f6b6a4e61907027a35 (clean) (release)
Edited again:
So I removed and reinstalled sudo apt-get remove -y raspberrypi-bootloader; sudo apt-get install -y raspberrypi-bootloader
; this got me slightly closer to something useful:
pi@raspberrypi ~ $ sudo modprobe spi-bcm2708
pi@raspberrypi ~ $ sudo modprobe fbtft_device name=adafruitts rotate=90
ERROR: could not insert 'fbtft_device': Invalid argument
Which still leads to above dmesg
output indicating that the display is not supported.
spi-bcm2708
seems odd -- that is stock on Raspbian for both the armv6 (A/B/+) kernel and the armv7 (Pi 2) one. WRT Adafruit's driver, I'd think they will have source available, so you should be able to build it for the Pi 2 if it hasn't been.sudo modprobe spi-bcm2708 \n pi@raspberrypi ~ $ sudo modprobe fbtft_device name=adafruitts rotate=90 \n ERROR: could not insert 'fbtft_device': Invalid argument