Skip to content

Disable HDMI with /boot/config.txt #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion raspberrypi/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo depmod -A || { echo "Error: Failed to update module dependencies."; exit 1;
echo 'sharp' | sudo tee -a /etc/modules
dtc -@ -I dts -O dtb -o sharp.dtbo sharp.dts || { echo "Error: Failed to compile device tree."; exit 1; }
sudo cp sharp.dtbo /boot/overlays
echo -e "framebuffer_width=400\nframebuffer_height=240\ndtoverlay=sharp" | sudo tee -a /boot/config.txt
echo -e "framebuffer_width=400\nframebuffer_height=240\ndtoverlay=sharp\nhdmi_blanking=1\nhdmi_ignore_hotplug=1\nhdmi_ignore_composite=1" | sudo tee -a /boot/config.txt
sudo sed -i ' 1 s/.*/& fbcon=map:10 fbcon=font:VGA8x16/' /boot/cmdline.txt || { echo "Error: Failed to modify cmdline.txt."; exit 1; }

echo "Compiling and installing keyboard device driver..."
Expand Down