I asked ChatGPT and Claude
The answer from Claude suggestsI feel this might be the correct answer but am unsure.
ChatGPT doubled down on it not being possible and both AIs suggested various things to grep for in dmesg, none of which worked.
The answer from ChatGPT includes the textI am using a Raspberry Pi 5 with the official 5A power adapter. I want to verify that the PD handshake completed correctly so that 5A is available and the USB ports have the extra power. How do I do this over ssh when no monitor is attached?
Emphasis was part of the reply.You cannot verify a successful 5 A USB-PD handshake on a Raspberry Pi 5 using SSH or any other software-only method.
The Pi 5 firmware does not expose the negotiated PD contract (3 A vs 5 A) or the resulting USB host power budget to Linux.
The answer from Claude suggests
which doesn't work, but Claude also saysAnd check the actual USB current limit:Code:
cat /sys/class/power_supply/usb-power-supply/current_max
which on my Pi reportsVerify USB port powerCode:
vcgencmd get_config usb_max_current_enable
Code:
# vcgencmd get_config usb_max_current_enableusb_max_current_enable=1ChatGPT doubled down on it not being possible and both AIs suggested various things to grep for in dmesg, none of which worked.
Statistics: Posted by ejolson — Wed Jan 14, 2026 3:00 am