On Fri, 2020-06-26 at 13:56 -0700, Samuel Sieb wrote:
On 6/26/20 1:33 PM, Patrick O'Callaghan wrote:
> udisksctl power-off -b /dev/sdd
>
> This works too, but unfortunately also removes the /sys/block/sdd
> files, meaning I can't turn the thing on again. However, if I
> physically switch it on and off, it reappears, IOW it causes a USB
> "insertion" event.
Isn't that command telling the drive to disconnect and turn off? If so,
there's no way you can get its attention again without power cycling it.
In theory, yes, however the drive doesn't actually turn off (though it
will spin down after 30 minutes). It's not powered by the USB interface
but has its own power cable. In fact even after the drives go into idle
mode the dock itself is still powered (the lights are on). Think of a
thumb drive that's still in the socket (though that may not be the best
analogy). I'm asking if there's a way to reactivate it without
physically pulling it out and reinserting it.
poc