sr25512
Posts: 2
Joined: Mon Aug 17, 2015 5:33 am

No /dev/spi* after adafruit's-2.8"-tft-installation

Mon Aug 17, 2015 6:05 am

Hi,

I have been struggling for somedays now with the spi. I am trying to use both the NRF module and tft touch screen(adafruit 2.8" tft-touch-screen) in parallel. I am using the cobbler breakout from the screen to run the NRF. Before installing the adafruit's kernel (https://learn.adafruit.com/adafruit-pit ... sy-install) the spi is present in /dev however, after the installation it vanishes. I have been googling like a mad man still no luck. Some help would be great.

Here are some of the things I already tried:

1. changed the status of spidev in pitft28r-overlay.dts as given here (viewtopic.php?t=102171&p=707599)
2. created another overlay and loaded it after pitft28r in /boot/config.txt as given here (https://github.com/notro/fbtft/issues/282)

Thanks in advance for the help.

User avatar
joan
Posts: 16247
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: No /dev/spi* after adafruit's-2.8"-tft-installation

Mon Aug 17, 2015 7:36 am

Using the Adafruit kernel may be a dead end solution. I just don't see it being updated on a regular basis.

Are there no other methods of getting a working screen?

On the SPI issue perhaps the Adafruit image pre-dates device tree? What kernel version is reported by uname -a?

User avatar
DougieLawson
Posts: 42639
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: No /dev/spi* after adafruit's-2.8"-tft-installation

Mon Aug 17, 2015 9:53 am

Get a standard version of NOOBS/Raspbian or plain Raspbian.

Add

Code: Select all

dtoverlay=pitft28-resistive
to /boot/config.txt and reboot. If using NOOBS use the NOOBS recovery system to edit your config.txt.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

sr25512
Posts: 2
Joined: Mon Aug 17, 2015 5:33 am

Re: No /dev/spi* after adafruit's-2.8"-tft-installation

Mon Aug 17, 2015 10:10 pm

Hi, the uname -a results in kernel version 3.18.14-v7+.
I also added the dtoverlay=pitft28-resistive in /boot/config.txt still no luck. Anyone any idea. Thanks

Return to “General discussion”