From b65e9571dcb199432f88bca60052b011df3190c5 Mon Sep 17 00:00:00 2001 From: PaulVua Date: Tue, 17 Feb 2026 17:36:35 +0100 Subject: [PATCH] Fix: Keep HDMI enabled in installation script (needed for screen control) --- installation_part1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation_part1.sh b/installation_part1.sh index cd00092..e3c177b 100644 --- a/installation_part1.sh +++ b/installation_part1.sh @@ -143,9 +143,9 @@ if ! sudo visudo -c; then fi # Open all UART serial ports and disable HDMI + Bluetooth (avoid duplication) -info "Configuring UART serial ports and disabling HDMI/Bluetooth to save power..." +info "Configuring UART serial ports and disabling Bluetooth to save power..." if ! grep -q "enable_uart=1" /boot/firmware/config.txt; then - echo -e "\nenable_uart=1\ndtoverlay=uart0\ndtoverlay=uart1\ndtoverlay=uart2\ndtoverlay=uart3\ndtoverlay=uart4\ndtoverlay=uart5\n\n# Disable HDMI to save power (~20-30mA)\nhdmi_blanking=2\n\n# Disable Bluetooth to save power (~20-30mA)\ndtoverlay=disable-bt" | sudo tee -a /boot/firmware/config.txt > /dev/null + echo -e "\nenable_uart=1\ndtoverlay=uart0\ndtoverlay=uart1\ndtoverlay=uart2\ndtoverlay=uart3\ndtoverlay=uart4\ndtoverlay=uart5\n\n# Disable Bluetooth to save power (~20-30mA)\ndtoverlay=disable-bt" | sudo tee -a /boot/firmware/config.txt > /dev/null success "UART configuration, HDMI and Bluetooth disable added." else warning "UART configuration already set. Skipping."