udev: usb-otg1 suspend doesn't always get enabled
librem5-pm.udev sets:
DEVPATH=="/devices/platform/soc@0/38100000.usb", TEST=="power/control", ATTR{power/control}="auto"
...but for some reason, it does not always get actually applied:
$ cat /sys/devices/platform/soc@0/38100000.usb/power/control
on
Based on my testing, suspending 38100000.usb (usb-otg1 - the external USB-C port) when not in use can save around 80mW and I haven't noticed any undesirable side effects of doing so.
Last time I tried to debug it I ended up having no clue what's going on, so writing this down in hopes that someone else could take a look at it and offer a fresh perspective ;)