www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
7. USE OF LCD AND HDMI AT THE SAME TIME
To output the image signal with the TFT display and with the HDMI output at
the same time, you must perform additional steps. In the first step, the
program
Framebuffer
-
Copy
must be compiled and installed with the follo-
wing commands.
cd /tmp
sudo apt
-
get install
-
y cmake
git clone
https://github.com/tasanakorn/rpi
mkdir
-
p rpi
-
fbcp/build
cd rpi
-
fbcp/build
cmake ..
make
sudo install fbcp /usr/local/bin/fbcp
So that the program can start during the ramp
-
up of the Raspberry Pi, you
must add this in the file
/etc/rc.local
.
sudo nano /etc/rc.local
Add a new line with the following content in front of the statement exit 0:
fbcp &
Now, you have to add the following text block in
/boot/config.txt
beneath
the recently added settings. In this file, you can edit the resolution of the
HDMI and the display which is issued by both, by commenting out the
respective threesome pad from hdmi_group, hdmi_mode and hdmi_cvt: (In
the following example is the resolution 800 x 600 set by default)
For 4 : 3 resolution:
hdmi_ignore_edid=0xa5000080
hdmi_force_hotplug=1
###########################################################################
#### Aufloesungseinstellungen
-
betreffende Gruppe muss aukommentiert werden ####
##### 4:3 ######
## Einstellungen für 320x240 (native Aufloesung des 3.2"TFT
-
Displays) ##
#hdmi_group=2
#hdmi_mode=87
#hdmi_cvt=320 240 60 1 0 0 0
## Einstellungen für 640x480 ##
#hdmi_group=2
#hdmi_mode=87
#hdmi_cvt=640 480 60 1 0 0 0
## Einstellungen für 720x540 ##
#hdmi_group=2
#hdmi_mode=87
#hdmi_cvt=720 540 60 1 0 0 0