Re: USB drive light does not turn off after "safely removing"

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

 



Tim wrote:
On Fri, 2008-04-11 at 09:43 -0500, Mikkel L. Ellertson wrote:
As far as I know, Linux does not shut down the power to the USB socket when you "safely remove" a drive. It is something that could be added, though it will not be simple.

I don't think that you could do that.  Even if you could, how would it
then tell if something was plugged back in again?  It couldn't.

You have to turn the power back on. But how long do you wait? I don't know enough about USB to know if they can detect when the device is removed if it is powered down. It may also be possible to tell a device to shut down.

As far as turning the power off, I know the kernel can do it. There were a couple of kernels that were enforcing the power limits on USB sockets, but it was causing too many problems for users. Each device is supposed to report its maximum power draw, and each hub is supposed to report how much each port can draw, as well as the total for the hub. If you plug in a device that draws more then the port can handle, or enough devices that you exceed the hub total, the port is supposed to shut down.

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux