Modifications

Sauter à la navigation Sauter à la recherche
1 255 octets ajoutés ,  19 juin 2016 à 19:48
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{RASP-PiTFT-NAV}}
 
{{RASP-PiTFT-NAV}}
    +
{{ambox-stop|text=Si vous avez téléchargé l'image 'Easy Install' proposée par AdaFruit (ou utilisé le script) alors cette étape n'est pas nécessaire. Elle est déjà réalisée! Cette partie du tutoriel est destiné aux utilisateurs avancés qui désire savoir comment configurer et adapter la console}}
 +
 +
== Utiliser la console ==
 
{{ADFImage|RASP-PiTFT-01.jpg|480px}}
 
{{ADFImage|RASP-PiTFT-01.jpg|480px}}
   −
One fun thing you can do with the display is have it as your main console instead of the HDMI/TV output. Even though it is small, with a good font you can get 20 x 40 of text. For more details, check out [https://github.com/notro/fbtft/wiki/Boot-console https://github.com/notro/fbtft/wiki/Boot-console]
+
Une des choses sympa avec cet affichage, c'est que vous pouvez l'utiliser comme console principale en lieu et place de la sortie HDMI/TV. Même si cet écran est petit, vous pouvez obtenir un écran texte de 20 x 40 en utilisant la bonne font. Voyez le lien [https://github.com/notro/fbtft/wiki/Boot-console https://github.com/notro/fbtft/wiki/Boot-console] pour plus de détails.
   −
First up, we'll update the boot configuration file to use the TFT framebuffer '''/dev/fb1''' instead of the HDMI/TV framebuffer /dev/fb0
+
Pour commencez, vous devez modifier le fichier de configuration du ''boot'' pour utiliser le framebuffer du TFT sur '''/dev/fb1''' à la place du framebuffer HDMI/TV sur  /dev/fb0
    
  sudo nano /boot/cmdline.txt  
 
  sudo nano /boot/cmdline.txt  
   −
you can also edit it by putting the SD card into a computer and opening the same file.
+
Vous pouvez également modifier ce fichier en plaçant votre carte SD dans votre ordinateur et en modifiant directement le fichier cmdline.txt.
   −
At the end of the line, find the text that says '''rootwait''' and right after that, enter in:
+
Trouvez le texte '''rootwait''' à la fin de la ligne et, juste après, entrez le texte ci-dessous:
   −
'''fbcon=map:10 fbcon=font:VGA8x8''' then save the file.
+
'''fbcon=map:10 fbcon=font:VGA8x8''' puis sauvez le fichier.
   −
{ambox|text=Note that the kernel has to load up the display driver module before it can display anything on it so you won't get the rainbow screen, a NooBs prompt, or a big chunk of the kernel details since the module is loaded fairly late in the boot process.}}
+
{{ambox|text=Notez que le noyaux doit d'abord charger le module/pilote de l'afficheur avant d'y afficher quoi que ce soit. Puisque le pilote PiTFT est chargé très tard dans le processus de boot, vous ne verrez donc pas le dégradé de couleurs (le "[http://elinux.org/R-Pi_Troubleshooting#Coloured_splash_screen Rainbow Screen]"), ni l'invite de sélection de NooBs, ni les nombreux détails relatif au chargement des précédents modules du noyau.}}
    
{{ADFImage|RASP-PiTFT-Console-01.png}}
 
{{ADFImage|RASP-PiTFT-Console-01.png}}
   −
I think the VGA8x8 font is a bit chunky, you probably want 12x6 which is what is shown in the photo above. To change the font, run '''sudo dpkg-reconfigure console-setup''' and go thru to select Terminus 6x12
+
Nous pensons que la font VGA8x8 est un peu grossière, vous préfèrerez probablement une font 12x6 comme celle présentée sur l'image ci-dessus.  
 +
 
 +
Exécutez '''sudo dpkg-reconfigure console-setup''' et naviguez dans les différents écrans pour sélectionner la font ''Terminus 6x12''
    
{{ADFImage|RASP-PiTFT-Console-10.png}}
 
{{ADFImage|RASP-PiTFT-Console-10.png}}
 +
 +
'''Truc & astuce:''' utiliser la barre d'espacement pour sélectionner l'option. Attention, il faut presser la barre d'espacement suffisamment longtemps.
    
{{ADFImage|RASP-PiTFT-Console-11.png}}
 
{{ADFImage|RASP-PiTFT-Console-11.png}}
Ligne 27 : Ligne 34 :  
{{ADFImage|RASP-PiTFT-Console-13.png}}
 
{{ADFImage|RASP-PiTFT-Console-13.png}}
   −
{{ADFImage|RASP-PiTFT-Console-13.png}}
+
{{ADFImage|RASP-PiTFT-Console-14.png}}
 +
 
 +
== Désactiver la veille ==
 +
You may notice the console goes black after 30 minutes, this is a sort of 'power saving' or 'screensaver' feature. You can disable this by editing '''/etc/kbd/config''' and setting the blank time to 0 (which turns it off)
 +
 
 +
BLANK_TIME=30
 +
 
 +
{{ADFImage|RASP-PiTFT-Console-20.png}}
 +
 
    
{{RASP-PiTFT-TRAILER}}
 
{{RASP-PiTFT-TRAILER}}
29 837

modifications

Menu de navigation