Page 1 of 1

Directing output to screen

Posted: Sun Apr 24, 2016 12:24 pm
by vk4tec
Hello

I would like to run an init 3 raspberry Pi.

This would start up a perl script on start up

I would like to pipe the output of the perl script to a backpack LCD

How does one go about piping the output of a perl script to

:0 I am assuming is the LCD device under init 3 ?

No GUI

Andrew

Re: Directing output to screen

Posted: Sun Apr 24, 2016 12:31 pm
by mthomason
Are you able to pipe to an alternate TTY?

If so, this might help you. It's for Fedora but it explains how to tie a TTY to a second framebuffer (I'm guessing your LCD backpack goes to something like /dev/fb1 if it's anything like the one I have)
https://www.dafyddcrosby.com/dual-framebuffers/

Re: Directing output to screen

Posted: Sun Apr 24, 2016 12:32 pm
by darkbibble
have you setup you lcd screen first before trying anything else? from what I seen a lot of lcd screens are a pain to setup.

once you have the lcd screen working it should auto output to it