From cdab1ac03935349ef71233bce9437cb5ab2bf65c Mon Sep 17 00:00:00 2001 From: Minjae Kim Date: Sun, 8 Feb 2026 17:51:23 +0000 Subject: [PATCH] rpi-config: increase USB current limit for Raspberry Pi 5 The default power profile on Raspberry Pi 5 may limit USB current, preventing the stable operation of touch devices and other peripherals. - Append usb_max_current_enable=1 for raspberrypi5. - Increases available USB current to 1.6A. - Resolves connectivity issues for external power-dependent devices. Signed-off-by: Minjae Kim --- recipes-bsp/bootfiles/rpi-config_git.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 2c215360..22b704ee 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -343,6 +343,11 @@ do_deploy:append:raspberrypi3-64() { echo "dtparam=audio=on" >> $CONFIG } +do_deploy:append:raspberrypi5() { + echo "# Setting usb_max_current_enable=1 allows up to 1.6A (1600mA), enabling extra USB devices. " >> $CONFIG + echo "usb_max_current_enable=1" >> $CONFIG +} + do_deploy:append() { if grep -q -E '^.{80}.$' ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt; then bbwarn "config.txt contains lines longer than 80 characters, this is not supported"