mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xavier Bestel <xavier.bestel@free.fr>
To: linux-kernel@vger.kernel.org
Subject: power off USB port
Date: Sun, 06 Apr 2008 12:20:24 +0200	[thread overview]
Message-ID: <1207477224.3785.10.camel@bip.parateam.prv> (raw)

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



             reply	other threads:[~2008-04-06 10:20 UTC|newest]

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

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=1207477224.3785.10.camel@bip.parateam.prv \
    --to=xavier.bestel@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®