-
power off USB port
Hi,
I'd like to power off some usb ports (to make ejected usb flash drives
power off their little "don't remove me yet" led), but I can't find how
to do it with a 2.6.24 kernel:
- eject /dev/sd? doesn't work anymore
- /sys/bus/usb/devices/*/power/state doesn't exist anymore
- hub-ctrl-2.c [1] fails with a "Broken pipe" error
Does anyone know how to achieve that ?
Thanks,
Xav
[1]: [url]http://www.gniibe.org/log/linux[/url]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email]majordomo@vger.kernel.org[/email]
More majordomo info at [url]http://vger.kernel.org/majordomo-info.html[/url]
Please read the FAQ at [url]http://www.tux.org/lkml/[/url]
-
Re: power off USB port
On Sun, Apr 06, 2008 at 12:20:24PM +0200, Xavier Bestel wrote:[color=blue]
> Hi,
>
> I'd like to power off some usb ports (to make ejected usb flash drives
> power off their little "don't remove me yet" led), but I can't find how
> to do it with a 2.6.24 kernel:
> - eject /dev/sd? doesn't work anymore
> - /sys/bus/usb/devices/*/power/state doesn't exist anymore
> - hub-ctrl-2.c [1] fails with a "Broken pipe" error
>
> Does anyone know how to achieve that ?[/color]
You can not, sorry. Please see the archives of this list, and the
linux-usb list for the many many many times this keeps coming up.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email]majordomo@vger.kernel.org[/email]
More majordomo info at [url]http://vger.kernel.org/majordomo-info.html[/url]
Please read the FAQ at [url]http://www.tux.org/lkml/[/url]