Re: USB "insertion" for permanently-connected devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/26/20 2:45 PM, Patrick O'Callaghan wrote:
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.

Can you show the log messages from running that command?

When I tested it with a USB flash drive, it disconnected from the USB bus and trying the rescan idea didn't do anything. I messed around enough that I confused that USB controller and that entire bus was dead. Fortunately, I managed to reset the controller and got it back by telling the driver to remove it and then add it back.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux