---
title: "Raspberry : Installation de l’écran WAVESHARE 5″ HDMI LCD (B)"
url: https://www.cyber-neurones.org/2018/10/raspberry-installation-de-lecran-waveshare-5-hdmi-lcd-b/
date: 2018-10-03
modified: 2019-08-02
author: "Frederic"
description: "Sur Amazon, la référence est : \"5 pouces LCD B Rev2.1 Touch Control Win10 résistif Screen HDMI interface 800*480 with Bicolor case Supports Various Systems Pour Raspberry pi3/3B+/2 \" à..."
categories:
  - "Raspbian : Pour Raspberry"
tags:
  - "LCD"
word_count: 207
---

# Raspberry : Installation de l’écran WAVESHARE 5″ HDMI LCD (B)

Sur Amazon, la référence est : **"5 pouces LCD B Rev2.1 Touch Control Win10 résistif Screen HDMI interface 800*480 with Bicolor case Supports Various Systems Pour Raspberry pi3/3B+/2 "** à **40,99 Euros**.

- Le site : [http://www.waveshare.com/wiki/](http://www.waveshare.com/wiki/) .

Ma version de raspberry est la suivante :
**$ hostnamectl **
Static hostname: osmc
Icon name: computer
Machine ID: 1671b5b617884fdf85a465a5ac731b8f
Boot ID: fe304875cb0a49dd835e4a2c5d8c6ee4
Operating System: Open Source Media Center
Kernel: **Linux 4.14.34-6-osmc**
Architecture: arm

Il faut modifier le fichier** /boot/config.txt** , mon fichier d'origine est :
**$ cat /boot/config.txt**
gpu_mem_1024=256
**hdmi_ignore_cec_init=1**
disable_overscan=1
start_x=1
disable_splash=1
dtoverlay=lirc-rpi
gpu_mem_256=112
sdtv_aspect=1
dtparam=gpio_in_pin=18
gpu_mem_512=144
dtparam=gpio_out_pin=17
program_usb_timeout=1

Il faut ajouter dans le fichier : (ne pas mettre hdmi_mode=1, la doc est fausse )
max_usb_current=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1

Ensuite ajout d'un package ( facultatif et il faut avoir le server X, ce qui n'est pas mon cas ) :
**$ sudo apt-get install -y xinput-calibrator
**
Ensuite il faut calibrer via la commande :
**$ sudo DISPLAY=:0.0 xinput_calibrator
**
Mais cela ne semble pas obligatoire, je ne l'ai pas fait. Si on n'a pas de serveur X, on a cette erreur :
**$ sudo DISPLAY=:0.0 xinput_calibrator**
Unable to connect to X server

A noter que la luminosité est forte ...

[![](https://www.cyber-neurones.org/wp-content/uploads/2018/10/img_20181003_222438-300x243.jpg)](https://www.cyber-neurones.org/wp-content/uploads/2018/10/img_20181003_222438.jpg)

A suivre.

 