PITFT does not work on reboot -FIXED

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
0miker0
 
Posts: 60
Joined: Mon Sep 12, 2011 8:13 am

PITFT does not work on reboot -FIXED

Post by 0miker0 »

Yesterday in the mail I got my 2.8" PiTFT and it works great! Totally worth the monies.
I followed the Learn instructions on soldering the connectors and installing drivers without an issue. The only issue I found was that it would not start after a reboot. I did a quick search on the form and found a fix:
sudo nano /etc/rc.local
add to the end of the file, just before the exit 0
sudo modprobe spi-bcm2708
sudo modprobe fbtft_device name=adafruitts rotate=90
export FRAMEBUFFER=/dev/fb1
startx
Rebooted and it works fine.
This should be noted in the Learn instructions.

Mike

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: PITFT does not work on reboot -FIXED

Post by adafruit_support_mike »

Check a little further down the page for the "Module Auto-Loading" section:

https://learn.adafruit.com/adafruit-pit ... to-loading

You can add the FRAMEBUFFER and `startx` commands to the end of /etc/rc.local to get the PiTFT to launch an X session at startup though, yes.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”