<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
Q. How to disable/enable the 5V output of the UPS when the RPi 5 is turned off?</div><div class="mw-collapsible-content">A: Editing the EEPROM configuration From the command line or Terminal window start by running the following command : <pre>sudo rpi-eeprom-config -e</pre> Set <code>POWER_OFF_ON_HALT</code> to <code>0</code> or <code>1</code> like this: [[File:X1012-setting.png|700px]] <code>1</code>: disable 5v outputs <code>0</code>: enable 5v outputs Press '''Ctrl-O''', then enter, to write the change to the file. Press '''Ctrl-X''' to exit nano (the editor). '''Reboot''' your Raspberry Pi 5 to make the change take effect.</div></div> <div class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0;"><span style="color:red">Q: Why does the message "This power supply is not capable of supplying 5A" appear??</span>
</div>
<div class="mw-collapsible-content">
'''Note:''' If you are using other OS like Ubuntu, please flash '''Raspberry Pi OS''' first, and then re-flash other OS such as Ubuntu etc after completing the above settings.
If you are using '''USB peripherals''' that need to be powered from the RPi5's USB port, '''don't forget''' to enable the following settings to ensure that the RPi5's USB port's current output is not limited:
Add <code>usb_max_current_enable=1</code> in the <code>/boot/firmware/config.txt</code> file.
</div>
</div>
Open the Teminal window based on '''Raspberry Pi OS''' and execute the following command:
sudo rpi-eeprom-config -e
Add Change the setting of <code>POWER_OFF_ON_HALT</code>PSU_MAX_CURRENT=5000from <code>0</code> to <code>1</code> at the end of the file that reads like this:
[[File:X1012-setting.png|700px]]
[[File:Test pad on the Pi's PCB.png|800px]]
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
Q. Documentation about the I2C registers:
</div>
<div class="mw-collapsible-content">
A:
[https://www.analog.com/media/en/technical-documentation/data-sheets/MAX17040-MAX17041.pdf MAX17040G+]
</div>
</div>