public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* power off USB port
@ 2008-04-06 10:20 Xavier Bestel
  2008-04-07  5:48 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Xavier Bestel @ 2008-04-06 10:20 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: power off USB port
  2008-04-06 10:20 power off USB port Xavier Bestel
@ 2008-04-07  5:48 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2008-04-07  5:48 UTC (permalink / raw)
  To: Xavier Bestel; +Cc: linux-kernel

On Sun, Apr 06, 2008 at 12:20:24PM +0200, Xavier Bestel wrote:
> 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 ?

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-07  5:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-06 10:20 power off USB port Xavier Bestel
2008-04-07  5:48 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox