power off USB port

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Sunday, April 6, 2008 - 6:20 am

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]: http://www.gniibe.org/log/linux


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
power off USB port, Xavier Bestel, (Sun Apr 6, 6:20 am)
Re: power off USB port, Greg KH, (Mon Apr 7, 1:48 am)