With udisksctl I'm able to power-off device: udisksctl power-off --block-device /dev/sdd

But how can I power it back ON from commandline?

  • 1
    There is no command to power on a previously powered off device. The workaround is to rescan for the device. – fpmurphy Sep 4 '17 at 5:59
  • @fpmurphy what exactly should one do to "rescan for the device"? (e.g. if one's /usb4/power/runtime_status is "suspended", not "active". ) – ged Jun 25 '19 at 18:51
$ rmmod ehci_platform
$ modprobe ehci_platform

did the trick for me.

  • 1
    Hello greg. To help future readers it would be useful for you to expand your answer to explain what this does, and why it helped. – roaima Feb 10 '19 at 9:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.