Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

PiTFT shield, fbcon, framebuffer, ssh/console window
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PiTFT shield, fbcon, framebuffer, ssh/console window

by 8frompi on Tue Jul 29, 2014 2:32 pm

Hi,

I followed the instructions on your website and everything works as it should. Thanks for a great product!

I'm now looking for a possibility to write stuff to the TFT from a ssh session or other console window. In other words, I'm trying to avoid running an X session and I'm also not keen on the route via PyGame graphics, but a simple way to use the TFT as mirror for a ssh session. First experiments writing random character strings /dev/fb1 yields colourful pixels in the upper left corner, but I'd like to use something more high-level that allows me to use the TFT as text-only display. Alternatively, a non-X web browser like link2 might also be an option, although with a 320x240x(16bit) setting I can only get garbled output on the screen.

Any hints?
8frompi
 
Posts: 3
Joined: Sat Jun 08, 2013 4:15 pm

Re: PiTFT shield, fbcon, framebuffer, ssh/console window

by adafruit2 on Wed Jul 30, 2014 2:00 pm

yah - you need a program that writes to the framebuffer. pygame is probably the easiest - you will have to write something that takes data in and pipes it to the display in the font of your choosing :) there may be OTHER frame-buffer friendly programs that automatically do this. but can't think of one off hand... maybe screen? screen does just about everything ;)

adafruit2
Site Admin
 
Posts: 19265
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT shield, fbcon, framebuffer, ssh/console window

by 8frompi on Sun Aug 03, 2014 11:26 am

...screen didn't really help, or at least I couldn't figure out how to do it. I've resorted to a program called fbtext that displays text files on /dev/fb1.

If anyone has any better ideas, please do get in touch. My write-up/log can be found here: http://logic.sysbiol.cam.ac.uk/?p=1527

Boris
8frompi
 
Posts: 3
Joined: Sat Jun 08, 2013 4:15 pm

Please be positive and constructive with your questions and comments.