树莓派 config.txt

Posted 极客先锋

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了树莓派 config.txt相关的知识,希望对你有一定的参考价值。

树莓派开机默认配置文件:/boot/config.txt

 1 # For more options and information see
 2 # http://www.raspberrypi.org/documentation/configuration/config-txt.md
 3 # Some settings may impact device functionality. See link above for details
 4 
 5 # uncomment if you get no picture on HDMI for a default "safe" mode
 6 #hdmi_safe=1
 7 
 8 # uncomment this if your display has a black border of unused pixels visible
 9 # and your display can output without overscan
10 disable_overscan=1
11 
12 # uncomment the following to adjust overscan. Use positive numbers if console
13 # goes off screen, and negative if there is too much border
14 #overscan_left=16
15 #overscan_right=16
16 #overscan_top=16
17 #overscan_bottom=16
18 
19 # uncomment to force a console size. By default it will be displays size minus
20 # overscan.
21 #framebuffer_width=1280
22 #framebuffer_height=720
23 
24 # uncomment if hdmi display is not detected and composite is being output
25 #hdmi_force_hotplug=1
26 
27 # uncomment to force a specific HDMI mode (this will force VGA)
28 #hdmi_group=1
29 #hdmi_mode=1
30 
31 # uncomment to force a HDMI mode rather than DVI. This can make audio work in
32 # DMT (computer monitor) modes
33 #hdmi_drive=2
34 
35 # uncomment to increase signal to HDMI, if you have interference, blanking, or
36 # no display
37 #config_hdmi_boost=4
38 
39 # uncomment for composite PAL
40 #sdtv_mode=2
41 
42 #uncomment to overclock the arm. 700 MHz is the default.
43 #arm_freq=800
44 
45 # Uncomment some or all of these to enable the optional hardware interfaces
46 #dtparam=i2c_arm=on
47 #dtparam=i2s=on
48 #dtparam=spi=on
49 
50 # Uncomment this to enable the lirc-rpi module
51 #dtoverlay=lirc-rpi
52 
53 # Additional overlays and parameters are documented /boot/overlays/README
54 
55 # Enable audio (loads snd_bcm2835)
56 dtparam=audio=on
57 
58 # NOOBS Auto-generated Settings:
59 hdmi_force_hotplug=1

 

以上是关于树莓派 config.txt的主要内容,如果未能解决你的问题,请参考以下文章

树莓派配置文档config.txt说明

树莓派配置文档 config.txt 说明

树莓派配置文档 config.txt 说明

树莓派配置文件 config.txt - HDMI 热插拔

树莓派配置文件 config.txt - HDMI 热插拔

树莓派配置文件 config.txt - HDMI 热插拔