@ogra I have been developing a snap which monitors the firmware runtime health of a particular usb device. If a firmware lockup occurs, we have found that cycling the device power using the built-in hub on our device is enough to bring it out of a hard hang situation. My snap has registered connections to usb-raw and ordinary commands such as “lsusb” which I built as part of our embedded snap are working fine, but “uhubctl” is being held back by the extra kernel write restrictions which are in place for the hub port writes, which either require root access of a higher level than the snap innards are running at (if I call my code using sudo snap-name.method, it works, but I cannot do this for the timer mode this task is running in) or an explicit MODE=“0666” on the specific leg of the udev usb entry for the hub itself.
Is it possible to request some special connection for uhubctl to allow this access? Our particular device was set up by Canonical.