doc:appunti:hardware:raspberrypi_lcd
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:appunti:hardware:raspberrypi_lcd [2017/12/06 12:42] – created niccolo | doc:appunti:hardware:raspberrypi_lcd [2019/07/24 10:01] (current) – [Overscan] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Display LCD 3.5" su Raspberry Pi 3 e Raspbian Jessie | + | ====== Display |
+ | |||
+ | ===== LCD 10.1" su Raspberry Pi 3 e Raspbian Stretch ===== | ||
+ | |||
+ | Il display ha una porta **HDMI**, quindi il collegamento è immediato. Al boot tuttavia compare un **bordo nero** per cui l' | ||
+ | |||
+ | Nel file **/ | ||
+ | |||
+ | < | ||
+ | disable_overscan=1 | ||
+ | </ | ||
+ | |||
+ | Volendo è possibile forzare la risoluzione con le opzioni: | ||
+ | |||
+ | < | ||
+ | framebuffer_width=1280 | ||
+ | framebuffer_height=800 | ||
+ | </ | ||
+ | |||
+ | Queste impostazioni si riflettono sulle opzioni che vengono passate come parametri al kernel, è sufficiente vedere il contenuto di **/ | ||
+ | |||
+ | ===== LCD 3.5" su Raspberry Pi 3 e Raspbian Jessie ===== | ||
In genere i fornitori di display LCD per Raspberry forniscono una **propria immagine** del sistema operativo con il supporto LCD già abilitato. Chi volesse attivare il display su una **installazione standard** può seguire questi appunti. Il test è stato fatto su **Raspberry Pi 3** con **Raspbian Jessie** e **LCD Kuman 3.5" 480x320 RGB TFT**. | In genere i fornitori di display LCD per Raspberry forniscono una **propria immagine** del sistema operativo con il supporto LCD già abilitato. Chi volesse attivare il display su una **installazione standard** può seguire questi appunti. Il test è stato fatto su **Raspberry Pi 3** con **Raspbian Jessie** e **LCD Kuman 3.5" 480x320 RGB TFT**. | ||
Line 15: | Line 36: | ||
* Creare la directory **/ | * Creare la directory **/ | ||
* Copiare i file **usr/ | * Copiare i file **usr/ | ||
- | * Aggiungere alla linea di **/ | + | * Aggiungere alla linea di **/ |
- | * FIXME inittab | + | * FIXME La procedura di installazione prevede di sostituire **/etc/inittab**, che però non esiste più in Jessie. |
* Nel file **/ | * Nel file **/ | ||
- | | + | |
+ | Al riavvio si ottengono tre terminali virtuali su HDMI e tre su LCD, più una console X.org su HDMI: | ||
+ | |||
+ | | ||
+ | * tty2 => HDMI | ||
+ | * tty3 => LCD | ||
+ | * tty4 => HDMI | ||
+ | * tty5 => LCD | ||
+ | * tty6 => HDMI | ||
+ | * tty7 => X.org su HDMI | ||
+ | |||
+ | È possibile passare da una console testuale all' | ||
+ | |||
+ | Verificare che siano disponibili due framebuffer device: **/ | ||
+ | |||
+ | FIXME: Come controllare i vari tty? Come far partire X.org su LCD invece che HDMI (viene ignorato il file 99-fbturbo.conf che è stato messo)? | ||
+ | |||
+ | ====== Overscan ====== | ||
+ | |||
+ | Prima di aggiustare l' | ||
+ | |||
+ | < | ||
+ | tvservice --status | ||
+ | state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive | ||
+ | </ | ||
+ | |||
+ | Nel file **/ | ||
+ | |||
+ | < | ||
+ | # | ||
+ | |||
+ | overscan_left=-10 | ||
+ | overscan_right=-10 | ||
+ | overscan_top=-22 | ||
+ | overscan_bottom=-22 | ||
+ | </ |
doc/appunti/hardware/raspberrypi_lcd.txt · Last modified: 2019/07/24 10:01 by niccolo