試了很多次,用HDMI線把樹(shù)莓派連接電視機(jī),但每次都顯示“無(wú)信號(hào)”。所以搜索了一圈,下面是解決方案。
參考樹(shù)莓派官網(wǎng)論壇:HDMI monitors says NO SIGNAL (solved)
The Pi outputs a relatively weak HDMI signal. Some devices may not immediately notice the Pi's HDMI or may not do the negotiation.
Setting the hdmi_force_hotplug=1 makes sure the Pi believes the monitor/TV is really there.
You might also need to set config_hdmi_boost=4 or even higher (up to 9) if your display needs a stronger signal.
If the display is a computer monitor, use hdmi_group=1 and if it is an older TV, try hdmi_group=2.
Do not set hdmi_safe=1 as that overrides many of the previous options.
Using a shorter or better quality HDMI cable might help.
Make sure your Pi's power supply delivers 1A and not 500mA.
If you see a problem with the red colour - either absent, or interference - then try a boost. However it might simply be that the display requires a stronger signal than the Pi can give.
主要方法是:
- 拔出樹(shù)莓派的SD卡,然后插到電腦上
- 找到SD卡根目錄的
config.txt
文件,打開(kāi)編輯。 - 找到
#hdmi_force_hotplug=1
這句話,把前面的#
注釋符號(hào)去掉,啟用HDMI熱插拔功能。 - 找到
#config_hdmi_boost=4
這句話,把前面的#
注釋符號(hào)去掉,啟用加強(qiáng)HDMI信號(hào)。

如果還是有問(wèn)題,那么可以試著這么操作(不推薦):
- 找到
#hdmi_group=1
這句話,把前面的#
注釋符號(hào)去掉,把數(shù)字改成2
,強(qiáng)行指定顯示器類(lèi)型:1
是連接老式電視,2
代表連接新電視。
用HDMI插上電視后,就連聲音都有啦!(不用插音頻線,HDMI自帶音頻傳輸)