2014年7月20日 星期日

Raspberry Pi 修改解析度


由於RPI的螢幕輸出是HDMI的解析度

所以我們使用轉VGA的螢幕通常無法正常顯示

首先將植入系統的SD卡插回電腦,然後開啟唯一可以讀的到"X"槽

裡面會看到一個 config.txt 的檔案,如下圖所示:


接下來使用 Word Pad 將它打開 (使用記事本格式會跳掉)

修改以下內容:

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=16

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2


參數定義:

hdmi_group:用於指定要使用 CEA 或 DMT 的格式去設定解析度
hdmi_mode:使用 1024x768 且為 60 Hz 的解析度 
hdmi_drive:設定要驅動 DVI (1) 或 HDMI (2) 

Author:Icewnful







沒有留言:

張貼留言