PiTFT Startup

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
bpfeil
 
Posts: 2
Joined: Sat Feb 15, 2014 3:47 pm

PiTFT Startup

Post by bpfeil »

I went through the tutorial associated with this device, I can see the console logging on the screen at startup but when the OS starts the screen stays black. I can start it with startx but it doesn't start automatically. Also the HDMI doesn't seem to output now either. Not sure if that's because of setting up to use the TFT.

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

Re: PiTFT Startup

Post by adafruit_support_mike »

The easiest solution is to add `startx` to your /etc/rc.local file. The system runs rc.local as a script every time it boots.

bpfeil
 
Posts: 2
Joined: Sat Feb 15, 2014 3:47 pm

Re: PiTFT Startup

Post by bpfeil »

Thanks Mike. I'll add the command to my startup script. Should my HDMI output still work?

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

Re: PiTFT Startup

Post by adafruit_support_mike »

To run X on both the PiTFT and HDMI, you need to start X sessions for both:

Code: Select all

FRAMEBUFFER=/dev/fb1 startx  # start X on the PiTFT
FRAMEBUFFER=/dev/fb0 startx  # start X on HDMI

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”