Τετάρτη 26 Δεκεμβρίου 2012

Fitting the raspberry-pi display on my SAMSUNG 40" TV

In order to fit the raspberry-pi display on my SAMSUNG 40" TV I had to edit the config.txt file. This file is an optional file on the boot partition. It would normally be accessible as /boot/config.txt from Linux.

The Raspberry Pi config.txt file is read by the GPU before the ARM core is initialised. It can be used to set various system configuration parameters. The format is "property=value" where value is an integer. You may specify only one option per line. Comments may be added by starting a line with the '#' character.

I had to follow the following steps:

1. First I defined the hdmi_group and hdmi_mode. I checked the valid modes of my tv set by executing:

#> /opt/vc/bin/tvservice -m CEA


hdmi_group=1
hdmi_mode=4


2. Then the display was outside the visible area of the screen. That meant I couldn't see the edges of the display, including the command line prompt and the LXDE toolbar. The fix is to edit the file /boot/config.txt, containing the lines:

overscan_left=25
overscan_right=25
overscan_top=16
overscan_bottom=16


Relative links:

http://elinux.org/RPiconfig#Video_mode_options
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=7&t=4684http://wrightrocket.blogspot.gr/2012/06/openelec-on-raspberry-pi.html


Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου