Modifications

Sauter à la navigation Sauter à la recherche
2 319 octets ajoutés ,  20 juillet 2015 à 12:21
Page créée avec « {{RASP-PiTFT-PLUS-NAV}} == La console: détails d'utilisation == {{ADFImage|RASP-PiTFT-PLUS-Console-01.jpg|640px}} {{bloc-étroit|text=One fun thing you can do with the dis... »
{{RASP-PiTFT-PLUS-NAV}}

== La console: détails d'utilisation ==
{{ADFImage|RASP-PiTFT-PLUS-Console-01.jpg|640px}}

{{bloc-étroit|text=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 40 x 60 of text. For more details, check out [https://github.com/notro/fbtft/wiki/Boot-console https://github.com/notro/fbtft/wiki/Boot-console]

First up, we'll update the boot configuration file to use the TFT framebuffer '''/dev/fb1''' instead of the HDMI/TV framebuffer '''/dev/fb0'''

<nowiki>sudo nano /boot/cmdline.txt</nowiki>

you can also edit it by putting the SD card into a computer and opening the same file.

At the end of the line, find the text that says '''rootwait''' and right after that, enter in:
'''fbcon=map:10 fbcon=font:VGA8x8''' then save the file.

On the next boot, it will bring up the console.

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.

On the next boot, it will bring up the console.

'''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.'''
}}

{{ADFImage|RASP-PiTFT-PLUS-Console-02.png|640px}}

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

{{ADFImage|RASP-PiTFT-PLUS-Console-03.png|640px}}

{{ADFImage|RASP-PiTFT-PLUS-Console-04.png|640px}}

{{ADFImage|RASP-PiTFT-PLUS-Console-05.png|640px}}

{{ADFImage|RASP-PiTFT-PLUS-Console-06.png|640px}}

{{ADFImage|RASP-PiTFT-PLUS-Console-07.png|640px}}

== Annuler la désactivation de l'écran ==
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)

<nowiki>BLANK_TIME=30</nowiki>

{{RASP-PiTFT-PLUS-TRAILER}}
29 918

modifications

Menu de navigation