On Mon, 11 Apr 2005, Alvaro Lopez Ortega wrote: > Is there a way to turn the device off? AFAIK, the responsible to turn > it off is the USB hub, not the device itself.
The hub can turn off the 5V power on the USB cable. (That is, some hubs can. The "root hub" that's built into many of the USB controllers found in desktop computers can't.) Note that this won't turn the device off if the device uses an external power supply. Unfortunately, at the moment Linux does not have any way to do this. The most it can do is a suspend. > I would like to turn the device off before let the user unplug it; > something like what Windows does with the "safe removal" option. Is that in fact what Windows does? Are you sure it doesn't just do a suspend? If the power was turned off, Windows would have no way of knowing when you plugged a new device into the port. Alan Stern ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users