2

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?

don_crissti
  • 82,805
ardabro
  • 159
  • 6
  • 1
    There is no command to power on a previously powered off device. The workaround is to rescan for the device. – fpmurphy Sep 04 '17 at 05: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". ) – georgy_dunaev Jun 25 '19 at 18:51

1 Answers1

-2
$ rmmod ehci_platform
$ modprobe ehci_platform

did the trick for me.

Prvt_Yadav
  • 5,882
greg
  • 1
  • 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. – Chris Davies Feb 10 '19 at 09:03