public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Xavier Bestel <xavier.bestel@free.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: power off USB port
Date: Sun, 6 Apr 2008 22:48:32 -0700	[thread overview]
Message-ID: <20080407054832.GA11216@kroah.com> (raw)
In-Reply-To: <1207477224.3785.10.camel@bip.parateam.prv>

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

      reply	other threads:[~2008-04-07  5:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 10:20 power off USB port Xavier Bestel
2008-04-07  5:48 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080407054832.GA11216@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xavier.bestel@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox