Hi,
I know this has been discussed previously on the forums but I'm still not 100% sure it's not possible.
My requirements are that I want to control a USB powered water pump programmatically from a RPi 4B, but not to have the pump powered on when starting the RPi. Turning the USB power on and off I've been able to do with the uhubctl utility.
Looking at other suggestions, the best I've been able to do is to create a systemd startup script that runs a uhubctl command with the script directed to run with WantedBy=sysinit.target, which on my 1GB model takes about 10 secs to turn the USB power off after boot.
Is there any other driver or device setting that I can implement that will prevent the USB ports from power up until I tell it to?
Thanks.
I know this has been discussed previously on the forums but I'm still not 100% sure it's not possible.
My requirements are that I want to control a USB powered water pump programmatically from a RPi 4B, but not to have the pump powered on when starting the RPi. Turning the USB power on and off I've been able to do with the uhubctl utility.
Looking at other suggestions, the best I've been able to do is to create a systemd startup script that runs a uhubctl command with the script directed to run with WantedBy=sysinit.target, which on my 1GB model takes about 10 secs to turn the USB power off after boot.
Is there any other driver or device setting that I can implement that will prevent the USB ports from power up until I tell it to?
Thanks.
Statistics: Posted by lwoodhouse — Thu May 02, 2024 4:23 am