树莓派-可以适应显示器的boot/config.txt配置

来源:互联网 发布:阿里云 vs aws 编辑:程序博客网 时间:2024/06/07 22:04
将下面的配置保存到sd卡根目录的config.txt文件,重启树莓派即可。
#hdmi_edid_file=1# uncomment if you get no picture on HDMI for a default "safe" mode#hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible# and your display can output without overscandisable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console# goes off screen, and negative if there is too much border#overscan_left=-30#overscan_right=-30#overscan_top=-30#overscan_bottom=-30# uncomment to force a console size. By default it will be display's size minus# overscan.#framebuffer_width=1280#framebuffer_height=720# uncomment if hdmi display is not detected and composite is being outputhdmi_force_hotplug=1# uncomment to force a specific HDMI mode (this will force VGA)hdmi_group=2hdmi_mode=32# uncomment to force a HDMI mode rather than DVI. This can make audio work in# DMT (computer monitor) modeshdmi_drive=2# uncomment to increase signal to HDMI, if you have interference, blanking, or# no displayconfig_hdmi_boost=4# uncomment for composite PAL#sdtv_mode=2#uncomment to overclock the arm. 700 MHz is the default.#arm_freq=800 # for more options see http://elinux.org/RPi_config.txt
转自:https://www.zhihu.com/question/28342848?answer_deleted_redirect=true

原创粉丝点击