Hi guys!
I have set up a Raspberry B+, piTFT (2.8" plus resistive touch) and hifiberry Dac+.
I installed last Raspbian distro (24/12/2014) and the script update to use the tft.
And it is working well.
I'd like to chose where display the video: tft or hdmi.
But even using "FRAMEBUFFER=/dev/fb0 startx" or "FRAMEBUFFER=/dev/fb1 startx" ... I obtain video only on TFT.
The only way to use hdmi is to keep 99-fbturbo.conf in its directory instead ov moving it in ~ (but in this case, I'm not able to have video on tft).
Any idea?
My idea is to
- boot X on TFT
- have a couple on icon to start MPLAYER (or another X) on TFT or on HDMI
Diego
switch between piTFT and HDMI
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/
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/
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: switch between piTFT and HDMI
This tutorial section describes how to boot to X on the PiTFT:
https://learn.adafruit.com/adafruit-pit ... s-on-pitft
https://learn.adafruit.com/adafruit-pit ... s-on-pitft
- diegobarone
- Posts: 3
- Joined: Sun Jan 25, 2015 3:15 pm
Re: switch between piTFT and HDMI
Yes,
but as I wrote, I'm trying to switch between TFT or HDMI output.
I tried "FRAMEBUFFER=/dev/fb0 startx" nor "FRAMEBUFFER=/dev/fb1 startx" (as described in that tutorial) but
- if I keep original 99-fbturbo.conf I'm able to see X only on HDMI
- if I substitute 99-fbturbo.conf with 99-pitft.con I'm able to see X only on TFT
but as I wrote, I'm trying to switch between TFT or HDMI output.
I tried "FRAMEBUFFER=/dev/fb0 startx" nor "FRAMEBUFFER=/dev/fb1 startx" (as described in that tutorial) but
- if I keep original 99-fbturbo.conf I'm able to see X only on HDMI
- if I substitute 99-fbturbo.conf with 99-pitft.con I'm able to see X only on TFT
- adafruit2
- Posts: 22148
- Joined: Fri Mar 11, 2005 7:36 pm
Re: switch between piTFT and HDMI
just move the file out, the 99- files will override your FRAMEBUFFER argument
https://learn.adafruit.com/adafruit-pit ... /faq#faq-4
https://learn.adafruit.com/adafruit-pit ... /faq#faq-4
- diegobarone
- Posts: 3
- Joined: Sun Jan 25, 2015 3:15 pm
Re: switch between piTFT and HDMI
Ok, thanks!
I removed the "export FRAMEBUFFER ... etc etc" from ~/.profile file too.
Now it is ok
I removed the "export FRAMEBUFFER ... etc etc" from ~/.profile file too.
Now it is ok
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/
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/