Compile devmem2 on the Beaglebone Black

The Beaglebone Black can power on/off USB ports via devmem2 command. This can be useful for scheduled and/or remote powering off of peripherals to save energy.

Install devmem2

git clone
make install

Power on USB port remotely via devmem2

devmem2 0x47401c60 b 1

This powered up my Wifi dongle.

I measured 0 Vdc on the USB host port before issuing this command, and measured 5 Vdc after the command.

Reference for USB power on command using devmem2

Leave a Comment