Skip to content

rpi-config: increase USB current limit for Raspberry Pi 5#1577

Open
flowergom wants to merge 1 commit intoagherzan:masterfrom
flowergom:max-current-usb
Open

rpi-config: increase USB current limit for Raspberry Pi 5#1577
flowergom wants to merge 1 commit intoagherzan:masterfrom
flowergom:max-current-usb

Conversation

@flowergom
Copy link

@flowergom flowergom commented Feb 8, 2026

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.

- What I did

  • Append usb_max_current_enable=1 in config.txt

Resolve below issue.
https://forums.raspberrypi.com/viewtopic.php?t=369334#:~:text=If%20your%20Raspberry%20Pi%205%20is%20displaying,an%20SDCard**%20*%20Add%20keyboard%20and%20mouse

- How I did
I tested this on a Raspberry Pi 5 using AGL and Yocto Sato images.

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 <flowergom@gmail.com>

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is Raspberry OS dealing with this? Do they do the same for RPi5? Only RPi5?

Copy link

@embetrix embetrix Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flowergom in your link is stated :

Okay, you have a 3A power supply which limits USB current to 600mA. Best solution is to get a RPi PSU for Pi5, which is capable of 5A and will negotiate a higher USB current limit.n Alternatively you could try
RPi documentation wrote:
Set usb_max_current_enable=1 in /boot/firmware/config.txt to enable USB boot.
which will increase the USB current limit, but may crash the whole system if you run out of current overall.

this is a workaround that not everyone using this layer is concerned about, you may enable it in your local.conf by adding:

RPI_EXTRA_CONFIG += ' \n \
# Enable max current \n \
usb_max_current_enable=1 \n \
'

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's exactly what I was suspecting. Would the mentioned solution work for you?

Copy link

@embetrix embetrix Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that usb_max_current_enable=1 is required to boot rpi5 from an USB device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants