Fix mipi script from messing with kms and fkms drivers

This commit is contained in:
Melissa LeBlanc-Williams 2024-01-17 11:11:28 -08:00
parent 0706b27819
commit f728f7638b

View file

@ -365,9 +365,6 @@ def install_mipi():
# Disable overscan compensation (use full screen):
shell.run_command("raspi-config nonint do_overscan 1")
shell.pattern_replace(f"{boot_dir}/config.txt", "^[^#]*dtoverlay=vc4-kms-v3d.*$", "#dtoverlay=vc4-kms-v3d")
shell.pattern_replace(f"{boot_dir}/config.txt", "^[^#]*dtoverlay=vc4-fkms-v3d.*$", "#dtoverlay=vc4-fkms-v3d")
if not update_configtxt():
shell.bail(f"Unable to update {boot_dir}/config.txt")
return True